Skip to content

Commit

Permalink
build changes to dropdowns, dropdown toggles, flex.compact-gap, and i…
Browse files Browse the repository at this point in the history
…cononlybutton
  • Loading branch information
ehanahamed committed Sep 4, 2024
1 parent ff0be0b commit ebec2a5
Show file tree
Hide file tree
Showing 6 changed files with 228 additions and 12 deletions.
116 changes: 112 additions & 4 deletions css/ehui-auto.css
Original file line number Diff line number Diff line change
Expand Up @@ -641,7 +641,9 @@ input[type=checkbox]:checked {
}

button.dropdown-toggle,
.button.dropdown-toggle {
.button.dropdown-toggle,
button.icon-only-button,
.button.icon-only-button {
background-color: transparent;
border: none;
color: #343a40;
Expand All @@ -650,7 +652,11 @@ button.dropdown-toggle,
button.dropdown-toggle:hover,
.button.dropdown-toggle:hover,
button.dropdown-toggle:focus-visible,
.button.dropdown-toggle:focus-visible {
.button.dropdown-toggle:focus-visible,
button.icon-only-button:hover,
.button.icon-only-button:hover,
button.icon-only-button:focus-visible,
.button.icon-only-button:focus-visible {
background-color: #EBEDF0;
border: none;
color: #6639BF;
Expand Down Expand Up @@ -765,6 +771,10 @@ button.dropdown-toggle:focus-visible,
justify-self: end;
}

.flex.compact-gap {
gap: 0.2rem;
}

.grid {
display: grid;
}
Expand Down Expand Up @@ -1535,6 +1545,50 @@ button.large,
color: #008055;
}

button.dropdown-toggle.ohno,
.button.dropdown-toggle.ohno,
button.icon-only-button.ohno,
.button.icon-only-button.ohno {
background-color: transparent;
border: none;
color: #E64545;
}

button.dropdown-toggle.ohno:hover,
.button.dropdown-toggle.ohno:hover,
button.dropdown-toggle.ohno:focus-visible,
.button.dropdown-toggle.ohno:focus-visible,
button.icon-only-button.ohno:hover,
.button.icon-only-button.ohno:hover,
button.icon-only-button.ohno:focus-visible,
.button.icon-only-button.ohno:focus-visible {
background-color: #EBEDF0;
border: none;
color: #B33636;
}

button.dropdown-toggle.yay,
.button.dropdown-toggle.yay,
button.icon-only-button.yay,
.button.icon-only-button.yay {
background-color: transparent;
border: none;
color: #00B377;
}

button.dropdown-toggle.yay:hover,
.button.dropdown-toggle.yay:hover,
button.dropdown-toggle.yay:focus-visible,
.button.dropdown-toggle.yay:focus-visible,
button.icon-only-button.yay:hover,
.button.icon-only-button.yay:hover,
button.icon-only-button.yay:focus-visible,
.button.icon-only-button.yay:focus-visible {
background-color: #EBEDF0;
border: none;
color: #008055;
}

@media (prefers-reduced-motion) {
html {
scroll-behavior: auto;
Expand Down Expand Up @@ -2241,7 +2295,9 @@ input[type=checkbox]:checked {
}

button.dropdown-toggle,
.button.dropdown-toggle {
.button.dropdown-toggle,
button.icon-only-button,
.button.icon-only-button {
background-color: transparent;
border: none;
color: #c3cce9;
Expand All @@ -2250,7 +2306,11 @@ button.dropdown-toggle,
button.dropdown-toggle:hover,
.button.dropdown-toggle:hover,
button.dropdown-toggle:focus-visible,
.button.dropdown-toggle:focus-visible {
.button.dropdown-toggle:focus-visible,
button.icon-only-button:hover,
.button.icon-only-button:hover,
button.icon-only-button:focus-visible,
.button.icon-only-button:focus-visible {
background-color: #2B2B3D;
border: none;
color: #B899FF;
Expand Down Expand Up @@ -2365,6 +2425,10 @@ button.dropdown-toggle:focus-visible,
justify-self: end;
}

.flex.compact-gap {
gap: 0.2rem;
}

.grid {
display: grid;
}
Expand Down Expand Up @@ -3135,6 +3199,50 @@ button.large,
color: #CCFFEE;
}

button.dropdown-toggle.ohno,
.button.dropdown-toggle.ohno,
button.icon-only-button.ohno,
.button.icon-only-button.ohno {
background-color: transparent;
border: none;
color: #ff6666;
}

button.dropdown-toggle.ohno:hover,
.button.dropdown-toggle.ohno:hover,
button.dropdown-toggle.ohno:focus-visible,
.button.dropdown-toggle.ohno:focus-visible,
button.icon-only-button.ohno:hover,
.button.icon-only-button.ohno:hover,
button.icon-only-button.ohno:focus-visible,
.button.icon-only-button.ohno:focus-visible {
background-color: #2B2B3D;
border: none;
color: #ff9999;
}

button.dropdown-toggle.yay,
.button.dropdown-toggle.yay,
button.icon-only-button.yay,
.button.icon-only-button.yay {
background-color: transparent;
border: none;
color: #66FFCC;
}

button.dropdown-toggle.yay:hover,
.button.dropdown-toggle.yay:hover,
button.dropdown-toggle.yay:focus-visible,
.button.dropdown-toggle.yay:focus-visible,
button.icon-only-button.yay:hover,
.button.icon-only-button.yay:hover,
button.icon-only-button.yay:focus-visible,
.button.icon-only-button.yay:focus-visible {
background-color: #2B2B3D;
border: none;
color: #CCFFEE;
}

@media (prefers-reduced-motion) {
html {
scroll-behavior: auto;
Expand Down
58 changes: 56 additions & 2 deletions css/ehui-dark.css
Original file line number Diff line number Diff line change
Expand Up @@ -641,7 +641,9 @@ input[type=checkbox]:checked {
}

button.dropdown-toggle,
.button.dropdown-toggle {
.button.dropdown-toggle,
button.icon-only-button,
.button.icon-only-button {
background-color: transparent;
border: none;
color: #c3cce9;
Expand All @@ -650,7 +652,11 @@ button.dropdown-toggle,
button.dropdown-toggle:hover,
.button.dropdown-toggle:hover,
button.dropdown-toggle:focus-visible,
.button.dropdown-toggle:focus-visible {
.button.dropdown-toggle:focus-visible,
button.icon-only-button:hover,
.button.icon-only-button:hover,
button.icon-only-button:focus-visible,
.button.icon-only-button:focus-visible {
background-color: #2B2B3D;
border: none;
color: #B899FF;
Expand Down Expand Up @@ -765,6 +771,10 @@ button.dropdown-toggle:focus-visible,
justify-self: end;
}

.flex.compact-gap {
gap: 0.2rem;
}

.grid {
display: grid;
}
Expand Down Expand Up @@ -1535,6 +1545,50 @@ button.large,
color: #CCFFEE;
}

button.dropdown-toggle.ohno,
.button.dropdown-toggle.ohno,
button.icon-only-button.ohno,
.button.icon-only-button.ohno {
background-color: transparent;
border: none;
color: #ff6666;
}

button.dropdown-toggle.ohno:hover,
.button.dropdown-toggle.ohno:hover,
button.dropdown-toggle.ohno:focus-visible,
.button.dropdown-toggle.ohno:focus-visible,
button.icon-only-button.ohno:hover,
.button.icon-only-button.ohno:hover,
button.icon-only-button.ohno:focus-visible,
.button.icon-only-button.ohno:focus-visible {
background-color: #2B2B3D;
border: none;
color: #ff9999;
}

button.dropdown-toggle.yay,
.button.dropdown-toggle.yay,
button.icon-only-button.yay,
.button.icon-only-button.yay {
background-color: transparent;
border: none;
color: #66FFCC;
}

button.dropdown-toggle.yay:hover,
.button.dropdown-toggle.yay:hover,
button.dropdown-toggle.yay:focus-visible,
.button.dropdown-toggle.yay:focus-visible,
button.icon-only-button.yay:hover,
.button.icon-only-button.yay:hover,
button.icon-only-button.yay:focus-visible,
.button.icon-only-button.yay:focus-visible {
background-color: #2B2B3D;
border: none;
color: #CCFFEE;
}

@media (prefers-reduced-motion) {
html {
scroll-behavior: auto;
Expand Down
58 changes: 56 additions & 2 deletions css/ehui-light.css
Original file line number Diff line number Diff line change
Expand Up @@ -641,7 +641,9 @@ input[type=checkbox]:checked {
}

button.dropdown-toggle,
.button.dropdown-toggle {
.button.dropdown-toggle,
button.icon-only-button,
.button.icon-only-button {
background-color: transparent;
border: none;
color: #343a40;
Expand All @@ -650,7 +652,11 @@ button.dropdown-toggle,
button.dropdown-toggle:hover,
.button.dropdown-toggle:hover,
button.dropdown-toggle:focus-visible,
.button.dropdown-toggle:focus-visible {
.button.dropdown-toggle:focus-visible,
button.icon-only-button:hover,
.button.icon-only-button:hover,
button.icon-only-button:focus-visible,
.button.icon-only-button:focus-visible {
background-color: #EBEDF0;
border: none;
color: #6639BF;
Expand Down Expand Up @@ -765,6 +771,10 @@ button.dropdown-toggle:focus-visible,
justify-self: end;
}

.flex.compact-gap {
gap: 0.2rem;
}

.grid {
display: grid;
}
Expand Down Expand Up @@ -1535,6 +1545,50 @@ button.large,
color: #008055;
}

button.dropdown-toggle.ohno,
.button.dropdown-toggle.ohno,
button.icon-only-button.ohno,
.button.icon-only-button.ohno {
background-color: transparent;
border: none;
color: #E64545;
}

button.dropdown-toggle.ohno:hover,
.button.dropdown-toggle.ohno:hover,
button.dropdown-toggle.ohno:focus-visible,
.button.dropdown-toggle.ohno:focus-visible,
button.icon-only-button.ohno:hover,
.button.icon-only-button.ohno:hover,
button.icon-only-button.ohno:focus-visible,
.button.icon-only-button.ohno:focus-visible {
background-color: #EBEDF0;
border: none;
color: #B33636;
}

button.dropdown-toggle.yay,
.button.dropdown-toggle.yay,
button.icon-only-button.yay,
.button.icon-only-button.yay {
background-color: transparent;
border: none;
color: #00B377;
}

button.dropdown-toggle.yay:hover,
.button.dropdown-toggle.yay:hover,
button.dropdown-toggle.yay:focus-visible,
.button.dropdown-toggle.yay:focus-visible,
button.icon-only-button.yay:hover,
.button.icon-only-button.yay:hover,
button.icon-only-button.yay:focus-visible,
.button.icon-only-button.yay:focus-visible {
background-color: #EBEDF0;
border: none;
color: #008055;
}

@media (prefers-reduced-motion) {
html {
scroll-behavior: auto;
Expand Down
Loading

0 comments on commit ebec2a5

Please sign in to comment.