Spaces:
Running
Running
neon_arch
commited on
π feat(UI): provide a theme for the buttons (#427)
Browse files- public/static/themes/simple.css +46 -13
public/static/themes/simple.css
CHANGED
@@ -5,7 +5,8 @@
|
|
5 |
font-weight: 200 600;
|
6 |
font-stretch: 0% 200%;
|
7 |
font-display: swap;
|
8 |
-
src: url(
|
|
|
9 |
}
|
10 |
|
11 |
* {
|
@@ -97,7 +98,7 @@ button {
|
|
97 |
outline-offset: 3px;
|
98 |
outline: 2px solid transparent;
|
99 |
border: none;
|
100 |
-
transition: .1s;
|
101 |
gap: 0;
|
102 |
background-color: var(--color-six);
|
103 |
color: var(--background-color);
|
@@ -107,10 +108,10 @@ button {
|
|
107 |
}
|
108 |
|
109 |
.search_bar button img {
|
110 |
-
position:absolute;
|
111 |
-
left:50%;
|
112 |
-
top:50%;
|
113 |
-
transform:translate(-50%, -50%);
|
114 |
}
|
115 |
|
116 |
.search_bar button:active {
|
@@ -253,7 +254,6 @@ button {
|
|
253 |
|
254 |
/* styles for the footer and header */
|
255 |
|
256 |
-
|
257 |
header {
|
258 |
width: 100%;
|
259 |
background: var(--background-color);
|
@@ -341,7 +341,7 @@ footer div {
|
|
341 |
.results_aggregated {
|
342 |
display: flex;
|
343 |
flex-direction: column;
|
344 |
-
justify-content: space-between;
|
345 |
margin: 2rem 0;
|
346 |
content-visibility: auto;
|
347 |
}
|
@@ -714,7 +714,8 @@ footer div {
|
|
714 |
}
|
715 |
|
716 |
.settings_container .user_interface select,
|
717 |
-
.settings_container .general select
|
|
|
718 |
margin: 0.7rem 0;
|
719 |
width: 20rem;
|
720 |
background-color: var(--color-one);
|
@@ -726,6 +727,38 @@ footer div {
|
|
726 |
text-transform: capitalize;
|
727 |
}
|
728 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
729 |
.settings_container .user_interface option:hover,
|
730 |
.settings_container .general option:hover {
|
731 |
background-color: var(--color-one);
|
@@ -798,7 +831,7 @@ footer div {
|
|
798 |
left: 0.4rem;
|
799 |
bottom: 0.4rem;
|
800 |
background-color: var(--background-color);
|
801 |
-
transition: .2s;
|
802 |
}
|
803 |
|
804 |
input:checked + .slider {
|
@@ -822,7 +855,7 @@ input:checked + .slider::before {
|
|
822 |
border-radius: 50%;
|
823 |
}
|
824 |
|
825 |
-
@media screen and (width <=
|
826 |
.hero-text-container {
|
827 |
width: unset;
|
828 |
}
|
@@ -832,7 +865,7 @@ input:checked + .slider::before {
|
|
832 |
}
|
833 |
}
|
834 |
|
835 |
-
@media screen and (width <=
|
836 |
.about-container article .logo-container svg {
|
837 |
width: clamp(200px, 290px, 815px);
|
838 |
}
|
@@ -856,7 +889,7 @@ input:checked + .slider::before {
|
|
856 |
.features {
|
857 |
grid-template-columns: 1fr;
|
858 |
}
|
859 |
-
|
860 |
.feature-list {
|
861 |
padding: 35px 0;
|
862 |
}
|
|
|
5 |
font-weight: 200 600;
|
6 |
font-stretch: 0% 200%;
|
7 |
font-display: swap;
|
8 |
+
src: url('https://fonts.gstatic.com/s/rubik/v28/iJWKBXyIfDnIV7nErXyi0A.woff2')
|
9 |
+
format('woff2');
|
10 |
}
|
11 |
|
12 |
* {
|
|
|
98 |
outline-offset: 3px;
|
99 |
outline: 2px solid transparent;
|
100 |
border: none;
|
101 |
+
transition: 0.1s;
|
102 |
gap: 0;
|
103 |
background-color: var(--color-six);
|
104 |
color: var(--background-color);
|
|
|
108 |
}
|
109 |
|
110 |
.search_bar button img {
|
111 |
+
position: absolute;
|
112 |
+
left: 50%;
|
113 |
+
top: 50%;
|
114 |
+
transform: translate(-50%, -50%);
|
115 |
}
|
116 |
|
117 |
.search_bar button:active {
|
|
|
254 |
|
255 |
/* styles for the footer and header */
|
256 |
|
|
|
257 |
header {
|
258 |
width: 100%;
|
259 |
background: var(--background-color);
|
|
|
341 |
.results_aggregated {
|
342 |
display: flex;
|
343 |
flex-direction: column;
|
344 |
+
justify-content: space-between;
|
345 |
margin: 2rem 0;
|
346 |
content-visibility: auto;
|
347 |
}
|
|
|
714 |
}
|
715 |
|
716 |
.settings_container .user_interface select,
|
717 |
+
.settings_container .general select,
|
718 |
+
.settings_container .general form input {
|
719 |
margin: 0.7rem 0;
|
720 |
width: 20rem;
|
721 |
background-color: var(--color-one);
|
|
|
727 |
text-transform: capitalize;
|
728 |
}
|
729 |
|
730 |
+
.settings_container .general form input {
|
731 |
+
padding: 0rem;
|
732 |
+
width: 30rem;
|
733 |
+
text-align: center;
|
734 |
+
text-transform: none;
|
735 |
+
}
|
736 |
+
|
737 |
+
.settings_container .general form input::file-selector-button {
|
738 |
+
content: 'Browse';
|
739 |
+
padding: 1rem 2rem;
|
740 |
+
font-size: 1.5rem;
|
741 |
+
background: var(--color-three);
|
742 |
+
color: var(--background-color);
|
743 |
+
border-radius: 0.5rem;
|
744 |
+
border: 2px solid transparent;
|
745 |
+
font-weight: bold;
|
746 |
+
transition: all 0.1s ease-out;
|
747 |
+
cursor: pointer;
|
748 |
+
box-shadow: 5px 5px;
|
749 |
+
outline: none;
|
750 |
+
translate: -1rem 0rem;
|
751 |
+
}
|
752 |
+
|
753 |
+
.settings_container .general form input::file-selector-button:active {
|
754 |
+
box-shadow: none;
|
755 |
+
translate: 5px 5px;
|
756 |
+
}
|
757 |
+
|
758 |
+
.settings_container .general .export_btn {
|
759 |
+
margin-bottom: 1rem;
|
760 |
+
}
|
761 |
+
|
762 |
.settings_container .user_interface option:hover,
|
763 |
.settings_container .general option:hover {
|
764 |
background-color: var(--color-one);
|
|
|
831 |
left: 0.4rem;
|
832 |
bottom: 0.4rem;
|
833 |
background-color: var(--background-color);
|
834 |
+
transition: 0.2s;
|
835 |
}
|
836 |
|
837 |
input:checked + .slider {
|
|
|
855 |
border-radius: 50%;
|
856 |
}
|
857 |
|
858 |
+
@media screen and (width <=1136px) {
|
859 |
.hero-text-container {
|
860 |
width: unset;
|
861 |
}
|
|
|
865 |
}
|
866 |
}
|
867 |
|
868 |
+
@media screen and (width <=706px) {
|
869 |
.about-container article .logo-container svg {
|
870 |
width: clamp(200px, 290px, 815px);
|
871 |
}
|
|
|
889 |
.features {
|
890 |
grid-template-columns: 1fr;
|
891 |
}
|
892 |
+
|
893 |
.feature-list {
|
894 |
padding: 35px 0;
|
895 |
}
|