aboutsummaryrefslogtreecommitdiff
path: root/src/App.scss
diff options
context:
space:
mode:
authorHenry Jameson <me@hjkos.com>2018-04-08 03:22:03 +0300
committerHenry Jameson <me@hjkos.com>2018-04-08 03:22:03 +0300
commitcc02672e1451f28bcb85a0b34d34117567cc0802 (patch)
tree79701c3ade6376edfce0bbee62e8e9e8823d83a9 /src/App.scss
parent2e95193559b51d81a3e6de6f29ec277a842556cc (diff)
made alerts use red with transparent theme red. some UI improvs
Diffstat (limited to 'src/App.scss')
-rw-r--r--src/App.scss22
1 files changed, 21 insertions, 1 deletions
diff --git a/src/App.scss b/src/App.scss
index 942f5fb2..047cd333 100644
--- a/src/App.scss
+++ b/src/App.scss
@@ -99,6 +99,8 @@ input, textarea, .select {
box-sizing: border-box;
display: inline-block;
position: relative;
+ height: 29px;
+ line-height: 16px;
.icon-down-open {
position: absolute;
@@ -122,9 +124,11 @@ input, textarea, .select {
margin: 0;
color: $fallback--fg;
color: var(--fg, $fallback--fg);
- padding: 4px 3ch 3px 3px;
+ padding: 4px 2em 3px 3px;
width: 100%;
z-index: 1;
+ height: 29px;
+ line-height: 16px;
}
&[type=radio],
@@ -371,6 +375,22 @@ nav {
}
}
+.alert {
+ margin: 0.35em;
+ padding: 0.25em;
+ border-radius: $fallback--tooltipRadius;
+ border-radius: var(--tooltipRadius, $fallback--tooltipRadius);
+ color: $fallback--faint;
+ color: var(--faint, $fallback--faint);
+ min-height: 28px;
+ line-height: 28px;
+
+ &.error {
+ background-color: $fallback--cAlertRed;
+ background-color: var(--cAlertRed, $fallback--cAlertRed);
+ }
+}
+
@media all and (max-width: 959px) {
.mobile-hidden {
display: none;