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