|
|
@ -1,24 +1,37 @@
|
|
|
|
@import (reference) "./colortheme-all.less";
|
|
|
|
@import (reference) "./colortheme-all.less";
|
|
|
|
|
|
|
|
@import (reference) "./variables.less";
|
|
|
|
|
|
|
|
|
|
|
|
.buttons_main() {
|
|
|
|
.buttons_main() {
|
|
|
|
@alertify-fore: @colortheme_modal-fg;
|
|
|
|
@alertify-fore: @colortheme_modal-fg;
|
|
|
|
@alertify-btn-fg: @alertify-fore;
|
|
|
|
@alertify-btn-fg: @alertify-fore;
|
|
|
|
@alertify-light-bg: fade(@alertify-fore, 25%);
|
|
|
|
@alertify-light-bg: fade(@alertify-fore, 25%);
|
|
|
|
|
|
|
|
@alertify_padding-base: @variables_padding;
|
|
|
|
|
|
|
|
@alertify-input-bg: @colortheme_modal-input;
|
|
|
|
|
|
|
|
@alertify-input-fg: @colortheme_modal-input-fg;
|
|
|
|
|
|
|
|
|
|
|
|
button:not(.btn):not(.pure-button):not(.md-button):not(.mdl-button) {
|
|
|
|
input:not(.form-control), textarea {
|
|
|
|
|
|
|
|
background-color: @alertify-input-fg;
|
|
|
|
|
|
|
|
color: @cryptpad_text_col;
|
|
|
|
|
|
|
|
border: 1px solid @alertify-input-bg;
|
|
|
|
|
|
|
|
width: 100%;
|
|
|
|
|
|
|
|
font-size: 100%;
|
|
|
|
|
|
|
|
padding: @alertify_padding-base;
|
|
|
|
|
|
|
|
&[readonly] {
|
|
|
|
|
|
|
|
background-color: @alertify-light-bg;
|
|
|
|
|
|
|
|
color: @cryptpad_text_col;
|
|
|
|
|
|
|
|
border-color: @alertify-input-fg;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
button:not(.pure-button):not(.md-button):not(.mdl-button) {
|
|
|
|
|
|
|
|
|
|
|
|
background-color: @colortheme_alertify-cancel;
|
|
|
|
background-color: @colortheme_alertify-cancel;
|
|
|
|
box-sizing: border-box;
|
|
|
|
box-sizing: border-box;
|
|
|
|
position: relative;
|
|
|
|
|
|
|
|
outline: 0;
|
|
|
|
outline: 0;
|
|
|
|
display: inline-block;
|
|
|
|
|
|
|
|
align-items: center;
|
|
|
|
align-items: center;
|
|
|
|
padding: 0 6px;
|
|
|
|
padding: 0 6px;
|
|
|
|
margin: 6px 8px;
|
|
|
|
|
|
|
|
line-height: 36px;
|
|
|
|
line-height: 36px;
|
|
|
|
min-height: 36px;
|
|
|
|
|
|
|
|
white-space: nowrap;
|
|
|
|
white-space: nowrap;
|
|
|
|
min-width: 88px;
|
|
|
|
|
|
|
|
text-align: center;
|
|
|
|
text-align: center;
|
|
|
|
text-transform: uppercase;
|
|
|
|
text-transform: uppercase;
|
|
|
|
font-size: 14px;
|
|
|
|
font-size: 14px;
|
|
|
@ -41,12 +54,12 @@
|
|
|
|
background-color: lighten(@alertify-fore, 35%);
|
|
|
|
background-color: lighten(@alertify-fore, 35%);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
&.safe, &.danger {
|
|
|
|
&.safe, &.danger, &.btn-safe, &.btn-danger {
|
|
|
|
color: @colortheme_old-base;
|
|
|
|
color: @colortheme_old-base;
|
|
|
|
white-space: normal;
|
|
|
|
white-space: normal;
|
|
|
|
font-weight: bold;
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
&.danger {
|
|
|
|
&.danger, &.btn-danger {
|
|
|
|
background-color: @colortheme_alertify-red;
|
|
|
|
background-color: @colortheme_alertify-red;
|
|
|
|
border-color: @colortheme_alertify-red-border;
|
|
|
|
border-color: @colortheme_alertify-red-border;
|
|
|
|
color: @colortheme_alertify-red-color;
|
|
|
|
color: @colortheme_alertify-red-color;
|
|
|
@ -55,7 +68,7 @@
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
&.safe {
|
|
|
|
&.safe, &.btn-safe {
|
|
|
|
background-color: @colortheme_alertify-green;
|
|
|
|
background-color: @colortheme_alertify-green;
|
|
|
|
border-color: @colortheme_alertify-green-border;
|
|
|
|
border-color: @colortheme_alertify-green-border;
|
|
|
|
color: @colortheme_alertify-green-color;
|
|
|
|
color: @colortheme_alertify-green-color;
|
|
|
@ -64,7 +77,7 @@
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
&.primary {
|
|
|
|
&.primary, &.btn-primary {
|
|
|
|
background-color: @colortheme_alertify-primary;
|
|
|
|
background-color: @colortheme_alertify-primary;
|
|
|
|
color: @colortheme_alertify-primary-text;
|
|
|
|
color: @colortheme_alertify-primary-text;
|
|
|
|
border-color: @colortheme_alertify-primary-border;
|
|
|
|
border-color: @colortheme_alertify-primary-border;
|
|
|
@ -74,7 +87,7 @@
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
&.cancel {
|
|
|
|
&.cancel, &.btn-cancel {
|
|
|
|
border-color: @colortheme_alertify-cancel-border;
|
|
|
|
border-color: @colortheme_alertify-cancel-border;
|
|
|
|
color: @colortheme_alertify-cancel-border;
|
|
|
|
color: @colortheme_alertify-cancel-border;
|
|
|
|
&:hover, &:hover {
|
|
|
|
&:hover, &:hover {
|
|
|
|