Introduce toggleButton and move flow-disabled to use it

This commit is contained in:
Nick O'Leary
2019-05-21 15:25:38 +01:00
parent 420e8c001b
commit 5f3e9a19ea
6 changed files with 118 additions and 27 deletions

View File

@@ -34,10 +34,10 @@ $shadow: rgba(0, 0, 0, 0.2);
$primary-text-color: #555;//#0f0;
// UI control label text
$secondary-text-color: #888;//#00f;
$secondary-text-color-focus: #999;//#009;
$secondary-text-color-focus: #666;//#009;
$secondary-text-color-hover: #666;//#006;
$secondary-text-color-active: #666;//#006;
$secondary-text-color-selected: #AAA;//#00A;
$secondary-text-color-selected: #666;//#00A;
$secondary-text-color-inactive: #666;//#006;
$secondary-text-color-disabled: #bbb;//#00C;
$secondary-text-color-disabled-active: #999;//#009;

View File

@@ -151,6 +151,9 @@
margin-bottom: 0;
cursor: default;
}
&:not(.selected) {
margin-top: 1px;
}
}
}
@mixin editor-button {

View File

@@ -247,6 +247,9 @@
&.red-ui-tab-link-button-menu {
border-color: $tab-background;
}
&:not(.single):not(.selected) {
margin-top: 4px;
}
}
}
.red-ui-tab-scroll {