mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-08-28 17:57:38 +00:00
(web) Improve contrast of toolbars w/input field
This commit is contained in:
@@ -44,6 +44,10 @@ $icon-badge-size: 2 * $baseline-grid;
|
||||
font-feature-settings: 'liga';
|
||||
}
|
||||
|
||||
md-icon[ng-click]:hover {
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
// Define CSS styles to use ng-class with md-icon
|
||||
md-icon {
|
||||
transition: transform 240ms;
|
||||
@@ -54,6 +58,7 @@ md-icon {
|
||||
position: absolute;
|
||||
right: $mg * 3;
|
||||
transform: rotate(-15deg);
|
||||
color: white;
|
||||
}
|
||||
&.sg-icon--large {
|
||||
font-size: $sg-md-grid-pitch;
|
||||
|
||||
@@ -20,20 +20,7 @@ md-toolbar {
|
||||
transition-duration: 0s;
|
||||
}
|
||||
|
||||
// Colors transition when changing folder color in dialogs
|
||||
md-dialog {
|
||||
md-toolbar,
|
||||
md-toolbar .md-input,
|
||||
md-toolbar md-input-container.md-input-has-value label,
|
||||
md-toolbar md-input-container.md-input-has-value label:not(.md-no-float),
|
||||
md-toolbar md-icon {
|
||||
transition: background-color $swift-ease-out-duration $swift-ease-out-timing-function,
|
||||
color $swift-ease-out-duration $swift-ease-out-timing-function;
|
||||
}
|
||||
}
|
||||
|
||||
.md-toolbar-tools {
|
||||
//padding: 0;
|
||||
// dirty fix to override angular-material botchy typography
|
||||
font-size: 1em !important;
|
||||
}
|
||||
@@ -64,6 +51,31 @@ md-toolbar,
|
||||
}
|
||||
}
|
||||
|
||||
// Colors transition when changing folder color in dialogs
|
||||
md-dialog {
|
||||
md-toolbar,
|
||||
md-toolbar .md-input,
|
||||
md-toolbar md-input-container.md-input-has-value label,
|
||||
md-toolbar md-input-container.md-input-has-value label:not(.md-no-float),
|
||||
md-toolbar md-icon {
|
||||
transition: background-color $swift-ease-out-duration $swift-ease-out-timing-function,
|
||||
color $swift-ease-out-duration $swift-ease-out-timing-function;
|
||||
}
|
||||
}
|
||||
|
||||
// Light colors for md-input inside md-toolbar
|
||||
md-toolbar md-input-container:not(.md-input-invalid) {
|
||||
&.md-input-focused label,
|
||||
.md-input {
|
||||
color: rgba(255,255,255,0.87); // {{primary-contrast}}
|
||||
}
|
||||
&.md-input-focused .md-input {
|
||||
padding-bottom: $input-border-width-focused - $input-border-width-default;
|
||||
border-bottom-width: $input-border-width-default;
|
||||
border-color: rgba(255,255,255,0.87); // {{primary-contrast}}
|
||||
}
|
||||
}
|
||||
|
||||
header {
|
||||
flex-direction: row;
|
||||
flex-wrap: nowrap;
|
||||
|
||||
Reference in New Issue
Block a user