V8 UI Color adjustments

This commit is contained in:
Niels Lyngsø
2019-01-18 13:19:16 +01:00
parent 4fbeac48eb
commit 4bf17c8a4e
6 changed files with 20 additions and 20 deletions

View File

@@ -233,7 +233,7 @@ input[type="button"] {
// outlined // outlined
.btn-outline { .btn-outline {
border: 1px solid @gray-8; border: 1px solid @inputBorder;
background: @white; background: @white;
color: @black; color: @black;
padding: 5px 13px; padding: 5px 13px;
@@ -242,7 +242,7 @@ input[type="button"] {
.btn-outline:hover, .btn-outline:hover,
.btn-outline:focus, .btn-outline:focus,
.btn-outline:active { .btn-outline:active {
border-color: @gray-7; border-color: @inputBorderFocus;
background: transparent; background: transparent;
color: @black; color: @black;
} }

View File

@@ -88,8 +88,7 @@
} }
input.umb-editor-header__name-input { input.umb-editor-header__name-input {
border-color: transparent;
background-color: @white;
font-size: 15px; font-size: 15px;
color: @black; color: @black;
margin-bottom: 0; margin-bottom: 0;
@@ -98,11 +97,13 @@ input.umb-editor-header__name-input {
height: 32px; height: 32px;
line-height: 32px; line-height: 32px;
width: 100%; width: 100%;
padding: 0 10px; padding-left: 10px;
background: @white;
border: 1px solid @gray-8; background-color: @white;
&:hover { border: 1px solid @inputBorder;
border-color: @turquoise-d1;
&:focus {
border-color: @inputBorderFocus;
} }
} }

View File

@@ -13,6 +13,7 @@
cursor: pointer; cursor: pointer;
justify-content: space-between; justify-content: space-between;
color: @black; color: @black;
border-bottom: 1px solid @gray-9;
} }
.umb-expansion-panel__expand { .umb-expansion-panel__expand {
@@ -21,5 +22,4 @@
.umb-expansion-panel__content { .umb-expansion-panel__content {
padding: 20px; padding: 20px;
border-top: 1px solid @gray-9;
} }

View File

@@ -243,11 +243,12 @@ input[type="color"],
.uneditable-input { .uneditable-input {
background-color: @inputBackground; background-color: @inputBackground;
border: 1px solid @inputBorder; border: 1px solid @inputBorder;
.transition(~"border linear .2s, box-shadow linear .2s"); .transition(~"border linear .2s, box-shadow linear .2s");
// Focus state // Focus state
&:focus { &:focus {
border-color: none; border-color: @inputBorderFocus;
outline: 0; outline: 0;
outline: none \9; /* IE6-9 */ outline: none \9; /* IE6-9 */
} }
@@ -817,4 +818,4 @@ legend + .control-group {
/* User/group selector */ /* User/group selector */
.group-selector .group-selector-list { float: left; } .group-selector .group-selector-list { float: left; }
.group-selector .group-selector-list div { height: 24px; } .group-selector .group-selector-list div { height: 24px; }
.group-selector .group-selector-buttons { float: left; margin: 24px 16px; } .group-selector .group-selector-buttons { float: left; margin: 24px 16px; }

View File

@@ -4,12 +4,9 @@
// Container styles // Container styles
// -------------------------------------------------- // --------------------------------------------------
.umb-property-editor { .umb-property-editor {
@media (max-width: 800px) {
width: 100%; width: 100%;
} max-width: 800px;
@media (min-width: 800px) {
min-width:66.6%;
}
&-pull { &-pull {
float:left; float:left;

View File

@@ -278,7 +278,8 @@
// Forms // Forms
// ------------------------- // -------------------------
@inputBackground: @white; @inputBackground: @white;
@inputBorder: @gray-7; @inputBorder: @gray-8;
@inputBorderFocus: @gray-7;
@inputBorderRadius: 0; @inputBorderRadius: 0;
@inputDisabledBackground: @gray-10; @inputDisabledBackground: @gray-10;
@formActionsBackground: @gray-9; @formActionsBackground: @gray-9;
@@ -517,4 +518,4 @@
// SORTABLE // SORTABLE
// -------------------------------------------------- // --------------------------------------------------
@sortableHelperBg: @turquoise-l2; @sortableHelperBg: @turquoise-l2;
@sortablePlaceholderBg : @turquoise; @sortablePlaceholderBg : @turquoise;