Skip to content

Commit

Permalink
chore: move css to right location; feat: button hover interactivity o…
Browse files Browse the repository at this point in the history
…utside of settings
  • Loading branch information
mschmidtkorth authored and tiensonqin committed Aug 16, 2021
1 parent 6e9f944 commit 10161d5
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 10 deletions.
22 changes: 12 additions & 10 deletions src/main/frontend/components/settings.css
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,6 @@
font-size: 22px;
margin: 0;
}

.ui__button,
span[role="checkbox"],
.form-select {
&:hover {
opacity: .8;
}
}
}
}

Expand Down Expand Up @@ -120,6 +112,10 @@
.form-select, .form-input {
width: 55%;
display: inline-block;

&:hover {
opacity: .8;
}
}

&:first-of-type {
Expand All @@ -139,6 +135,12 @@
margin-bottom: 8px;
}
}

span[role="checkbox"] {
&:hover {
opacity: .8;
}
}
}

.admonitionblock {
Expand All @@ -148,10 +150,10 @@
}

.theme-modes-options {
@apply flex items-center list-none m-0;
@apply flex items-center m-0 list-none;

> li {
@apply m-0 pr-2 opacity-90 hover:opacity-100;
@apply pr-2 m-0 opacity-90 hover:opacity-100;

&:hover {
cursor: pointer;
Expand Down
4 changes: 4 additions & 0 deletions src/main/frontend/ui.css
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,10 @@
opacity: 0.5;
}

&:hover {
opacity: 0.8;
}

&.is-link {
@apply text-white;
}
Expand Down

0 comments on commit 10161d5

Please sign in to comment.