Deprecate editor-button css class

This commit is contained in:
Nick O'Leary
2019-05-17 10:42:43 +01:00
parent 0d75ff336d
commit 98a001a8ca
27 changed files with 158 additions and 152 deletions

View File

@@ -89,7 +89,7 @@
}
}
.red-ui-debug-msg-meta .red-ui-debug-msg-tools {
.editor-button-small {
.red-ui-button-small {
font-size: 11px;
}
}
@@ -97,7 +97,7 @@
.button-group:not(:last-child) {
margin-right: 3px;
}
.editor-button-small {
.red-ui-button-small {
height: 16px;
line-height: 14px;
font-size: 8px;

View File

@@ -242,8 +242,11 @@ button.red-ui-tray-resize-button {
}
}
a.editor-button,
button.editor-button {
a.editor-button, // Deprecated: use .red-ui-button
button.editor-button, // Deprecated: use .red-ui-button
a.red-ui-button,
button.red-ui-button
{
@include workspace-button;
height: 34px;
line-height: 32px;
@@ -258,8 +261,11 @@ button.editor-button {
}
a.editor-button-small,
button.editor-button-small {
a.editor-button-small, // Deprecated: use .red-ui-button-small
button.editor-button-small, // Deprecated: use .red-ui-button-small
a.red-ui-button-small,
button.red-ui-button-small
{
height: 20px;
min-width: 20px;
line-height: 18px;

View File

@@ -39,7 +39,7 @@
// border: none;
// border-top: 1px solid $primary-border-color;
padding: 0px;
.editor-button {
.red-ui-button {
min-width: 60px;
}

View File

@@ -148,8 +148,8 @@
padding: 1px 2px;
}
.red-ui-popover a.editor-button,
.red-ui-popover button.editor-button {
.red-ui-popover a.red-ui-button,
.red-ui-popover button.red-ui-button {
&.primary {
border-color: $popover-button-border-color;
}

View File

@@ -85,7 +85,7 @@
font-size: 1.2em;
}
}
button.editor-button {
button.red-ui-button {
width: calc(50% - 80px);
margin: 20px;
height: auto;
@@ -254,7 +254,7 @@
}
}
}
.red-ui-projects-dialog-screen-create-type.editor-button.toggle.selected:not(.disabled):not(:disabled) {
.red-ui-projects-dialog-screen-create-type.red-ui-button.toggle.selected:not(.disabled):not(:disabled) {
color: $secondary-text-color-active !important;
}
.red-ui-projects-dialog-screen-input-status {