aboutsummaryrefslogtreecommitdiff
path: root/src/App.scss
diff options
context:
space:
mode:
authorHenry Jameson <me@hjkos.com>2021-03-11 16:11:44 +0200
committerHenry Jameson <me@hjkos.com>2021-03-11 16:11:44 +0200
commitc6d4c20982261b55b16dda59c3e657eb1feb0041 (patch)
tree1c3051d5c1ce59b02cb2eaaac78a05835c20250e /src/App.scss
parent6281241b92bc17a9535b15a52e656b9f218e3322 (diff)
Made Select component to make using styled selects easier
Diffstat (limited to 'src/App.scss')
-rw-r--r--src/App.scss34
1 files changed, 2 insertions, 32 deletions
diff --git a/src/App.scss b/src/App.scss
index 90d083bb..77f2ea79 100644
--- a/src/App.scss
+++ b/src/App.scss
@@ -187,7 +187,7 @@ a {
}
}
-input, textarea, .select, .input {
+input, textarea, .input {
&.unstyled {
border-radius: 0;
@@ -217,11 +217,7 @@ input, textarea, .select, .input {
hyphens: none;
padding: 8px .5em;
- &.select {
- padding: 0;
- }
-
- &:disabled, &[disabled=disabled] {
+ &:disabled, &[disabled=disabled], &.disabled {
cursor: not-allowed;
opacity: 0.5;
}
@@ -239,25 +235,6 @@ input, textarea, .select, .input {
pointer-events: none;
}
- select {
- -webkit-appearance: none;
- -moz-appearance: none;
- appearance: none;
- background: transparent;
- border: none;
- color: $fallback--text;
- color: var(--inputText, --text, $fallback--text);
- margin: 0;
- padding: 0 2em 0 .2em;
- font-family: sans-serif;
- font-family: var(--inputFont, sans-serif);
- font-size: 14px;
- width: 100%;
- z-index: 1;
- height: 28px;
- line-height: 16px;
- }
-
&[type=range] {
background: none;
border: none;
@@ -809,13 +786,6 @@ nav {
}
}
-.select-multiple {
- display: flex;
- .option-list {
- margin: 0;
- padding-left: .5em;
- }
-}
.setting-list,
.option-list{
list-style-type: none;