web-apps/apps/common/main/resources/less/common.less
2021-02-07 00:31:35 +03:00

98 lines
1.7 KiB
Plaintext

label {
&.link {
border-bottom: 1px dotted @text-secondary;
cursor: pointer;
&.disabled {
cursor: default;
}
}
&.link-solid {
border-bottom: 1px solid @text-secondary;
cursor: pointer;
&.disabled {
cursor: default;
}
}
&.disabled {
opacity: 0.5;
}
}
.menu-shapes {
.item {
.box-shadow(none);
}
}
.combobox.fonts {
> .dropdown-menu {
max-height: 388px;
}
}
.user-select {
.user-select(text);
}
.dropdown-menu {
> li > a {
color: @text-normal;
}
}
textarea {
background-color: @background-normal;
color: @text-normal
}
.btn-edit-table,
.btn-change-shape {
.background-ximage-v2('right-panels/rowscols_icon.png', 84px);
margin-right: 2px !important;
margin-bottom: 1px !important;
}
.btn-edit-table {
background-position: 0 0;
button.over & {
//background-position: -28px 0;
}
.btn-group.open &,
button.active:not(.disabled) &,
button:active:not(.disabled) &
{
//background-position: -56px 0;
}
// TODO: not good, must be controled by variable
.theme-dark & {
background-position-x: -56px;
}
}
.btn-change-shape {
background-position: 0 -16px;
button.over & {
//background-position: -28px -16px;
}
.btn-group.open &,
button.active:not(.disabled) &,
button:active:not(.disabled) &
{
//background-position: -56px -16px;
}
// TODO: not good, must be controled by variable
.theme-dark & {
background-position-x: -56px;
}
}