Skip to content

Commit

Permalink
feat(client): change intro button style
Browse files Browse the repository at this point in the history
  • Loading branch information
st-vi committed Dec 13, 2023
1 parent 03e3af8 commit aebd7e1
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 5 deletions.
2 changes: 1 addition & 1 deletion WebSocketClient/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<h1>UVL Playground</h1>
<h2 id="connection" style="color: red;"></h2>
</div>
<button class="tutorial-button" id="tutorialButton">?</button>
<div class="tutorial-button" id="tutorialButton"><div class="tutorial-button-text">?</div></div>
<div>
<dialog id="dialog">
<div>
Expand Down
17 changes: 13 additions & 4 deletions WebSocketClient/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -144,17 +144,26 @@ a:active {

.tutorial-button {
position: fixed;
bottom: 20px;
right: 20px;
top: 10px;
right: 10px;
background-color: #bdc3c7; /* Light gray color for dark mode */
color: #34495e; /* Dark text color for dark mode */
border: none;
border-radius: 50%;
padding: 15px;
font-size: 24px;
padding: 10px;

cursor: pointer;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
transition: background-color 0.3s ease;
width: 20px; /* Adjust the size as needed */
height: 20px;
display: flex;
align-items: center;
justify-content: center;
}

.tutorial-button-text {
font-size: 20px;
}

.tutorial-button:hover {
Expand Down

0 comments on commit aebd7e1

Please sign in to comment.