various preset fixes

This commit is contained in:
Andy Miller
2020-05-07 16:48:45 -06:00
parent 99bdfe167e
commit 38c4dbfece
7 changed files with 33 additions and 44 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -107,7 +107,7 @@ $subtle-text: #0ff;
$ir-slider-bg: #f0f; $ir-slider-bg: #f0f;
@if (lightness($content-bg) < 50) { @if (lightness($content-bg) < 50) {
$form-border: lighten($content-bg, 15%); $form-border: lighten($content-bg, 10%);
$form-field-bg: lighten($content-bg, 1%); $form-field-bg: lighten($content-bg, 1%);
$ir-slider-bg: lighten($content-bg, 2%); $ir-slider-bg: lighten($content-bg, 2%);
$form-field-text: lighten($content-text, 5%); $form-field-text: lighten($content-text, 5%);
@@ -300,7 +300,7 @@ tr {
input { input {
@include placeholder { @include placeholder {
color: rgba($nav-text, 0.6); color: rgba($nav-text, 0.5);
} }
} }
@@ -344,11 +344,7 @@ tr {
color: $nav-link; color: $nav-link;
border: 1px solid shade($nav-bg, 20%); border: 1px solid shade($nav-bg, 20%);
@include placeholder { @include placeholder {
@if (lightness($nav-bg) < 50) { color: rgba($nav-text, 0.5);
color: shade($nav-text, 15%);
} @else {
color: tint($nav-text, 15%);
}
} }
} }
} }
@@ -846,11 +842,7 @@ form {
input, textarea, select { input, textarea, select {
@include placeholder { @include placeholder {
@if (lightness($form-field-bg) < 50) { color: rgba($form-field-text, 0.4);
color: darken($form-field-text, 25%);
} @else {
color: lighten($form-field-text, 25%);
}
} }
} }
@@ -1908,7 +1900,7 @@ $scrollbar-color: #f00;
background-color: lighten($nav-bg, 6%); background-color: lighten($nav-bg, 6%);
@include placeholder { @include placeholder {
color: rgba($nav-text, 0.7); color: rgba($nav-text, 0.5);
} }
} }
} }
@@ -1938,13 +1930,13 @@ $scrollbar-color: #f00;
#pages-columns { #pages-columns {
background: $content-bg; background: $content-bg;
border-top: 1px solid $form-border; border-top: 1px solid rgba($form-border, 0.5);
&.fjs-container { &.fjs-container {
.fjs-col { .fjs-col {
border-right: 1px solid $form-border; border-right: 1px solid rgba($form-border, 0.5);
border-bottom: 1px solid $form-border; border-bottom: 1px solid rgba($form-border, 0.5);
} }
} }
@@ -2032,11 +2024,7 @@ $scrollbar-color: #f00;
} }
.fjs-action-toggle, .fjs-children { .fjs-action-toggle, .fjs-children {
@if (lightness($form-field-bg) < 50) { @include button-color-border($form-border, rgba($page-text, 0.5));
@include button-color-border($form-border, darken($page-text, 20%));
} @else {
@include button-color-border($form-border, lighten($page-text, 20%));
}
&:hover { &:hover {
@if (lightness($form-field-bg) < 50) { @if (lightness($form-field-bg) < 50) {
border-color: lighten($form-border, 5%); border-color: lighten($form-border, 5%);

View File

@@ -389,8 +389,8 @@
.fjs-children { .fjs-children {
position: relative; position: relative;
display: flex; display: flex;
align-items: flex-end; align-items: center;
justify-content: flex-end; justify-content: center;
height: 28px; height: 28px;
min-width: 50px; min-width: 50px;
outline: 0; outline: 0;
@@ -406,6 +406,7 @@
.fa { .fa {
display: inline-block !important; display: inline-block !important;
width: auto !important; width: auto !important;
font-size: 14px;
} }
} }