2016-03-11 00:48:53 +00:00
|
|
|
.combobox {
|
|
|
|
display: block;
|
|
|
|
|
|
|
|
&.input-group-sm .btn { .input-sm(); }
|
|
|
|
&.input-group-lg .btn { .input-lg(); }
|
|
|
|
&.input-group-nr > .form-control,
|
|
|
|
&.input-group-nr > .btn {
|
|
|
|
height: @input-height-base;
|
|
|
|
padding: @padding-base-vertical @padding-base-horizontal;
|
|
|
|
font-size: @font-size-base;
|
|
|
|
line-height: @line-height-base;
|
2019-12-06 08:52:59 +00:00
|
|
|
|
|
|
|
-o-transition: border-color ease-in-out .15s;
|
|
|
|
-webkit-transition: border-color ease-in-out .15s;
|
|
|
|
-moz-transition: border-color ease-in-out .15s;
|
|
|
|
transition: border-color ease-in-out .15s;
|
|
|
|
|
|
|
|
border-top-right-radius: 2px !important;
|
|
|
|
border-bottom-right-radius: 2px !important;
|
2016-03-11 00:48:53 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
&.input-group-nr > .form-control {
|
|
|
|
padding-right: 7px + 2 * @padding-base-horizontal;
|
|
|
|
}
|
|
|
|
|
|
|
|
.form-control {
|
|
|
|
border-right: 0;
|
2016-11-21 08:36:28 +00:00
|
|
|
position: static;
|
|
|
|
z-index: auto;
|
2016-11-03 10:41:44 +00:00
|
|
|
float: none;
|
2016-03-11 00:48:53 +00:00
|
|
|
}
|
|
|
|
|
2020-12-21 10:33:16 +00:00
|
|
|
.btn {
|
2016-03-11 00:48:53 +00:00
|
|
|
border-left: 0;
|
2020-12-21 10:33:16 +00:00
|
|
|
border-color: @border-regular-control;
|
2016-03-11 00:48:53 +00:00
|
|
|
background-color: transparent;
|
|
|
|
margin-left: -1px;
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
right: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.btn-default:not(.disabled),
|
|
|
|
&.open .dropdown-toggle.btn-default {
|
2020-12-17 11:22:09 +00:00
|
|
|
background-color: @background-normal;
|
|
|
|
border-color: @border-regular-control;
|
2016-03-11 00:48:53 +00:00
|
|
|
}
|
|
|
|
|
2020-12-21 10:33:16 +00:00
|
|
|
.btn-default.disabled:hover {
|
|
|
|
background-color: transparent;
|
|
|
|
border-color: @border-regular-control;
|
|
|
|
}
|
|
|
|
|
2019-12-09 11:19:26 +00:00
|
|
|
&.input-group-nr.open:not(.no-highlighted) {
|
2019-12-06 08:52:59 +00:00
|
|
|
& > .form-control,
|
|
|
|
& > .btn {
|
2020-12-19 19:43:19 +00:00
|
|
|
border-color: @border-preview-select;
|
2020-12-22 12:45:06 +00:00
|
|
|
|
|
|
|
.caret {
|
|
|
|
transform: rotate(45deg);
|
|
|
|
}
|
2019-12-06 08:52:59 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-12-09 11:19:26 +00:00
|
|
|
&.input-group-nr:not(.no-highlighted) > .form-control {
|
|
|
|
&:focus,
|
|
|
|
&:focus ~ button.dropdown-toggle {
|
2020-12-19 19:43:19 +00:00
|
|
|
border-color: @border-preview-select;
|
2019-12-09 11:19:26 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2016-03-11 00:48:53 +00:00
|
|
|
li {
|
|
|
|
a {
|
|
|
|
white-space: pre;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.selected {
|
2020-12-19 19:43:19 +00:00
|
|
|
background-color: @highlight-button-pressed;
|
2016-03-11 00:48:53 +00:00
|
|
|
|
|
|
|
a {
|
2020-12-30 10:37:44 +00:00
|
|
|
color: @text-normal-pressed;
|
2016-03-11 00:48:53 +00:00
|
|
|
|
|
|
|
&:hover,
|
2016-03-16 12:48:39 +00:00
|
|
|
&.hover,
|
|
|
|
&:focus,
|
|
|
|
&.focus {
|
2020-12-19 19:43:19 +00:00
|
|
|
background-color: @highlight-button-pressed;
|
2016-03-11 00:48:53 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
// Font combobox
|
|
|
|
// ------------------------
|
|
|
|
li {
|
2020-12-30 10:37:44 +00:00
|
|
|
@img-borders-filter: var(--image-border-types-filter);
|
|
|
|
@img-borders-filter-selected: var(--image-border-types-filter-selected);
|
|
|
|
|
|
|
|
img {
|
|
|
|
-webkit-filter: @img-borders-filter;
|
|
|
|
filter: @img-borders-filter;
|
|
|
|
}
|
|
|
|
canvas {
|
|
|
|
-webkit-filter: @img-borders-filter;
|
|
|
|
filter: @img-borders-filter;
|
|
|
|
}
|
|
|
|
|
2016-03-11 00:48:53 +00:00
|
|
|
&.selected {
|
|
|
|
img {
|
2020-12-30 10:37:44 +00:00
|
|
|
-webkit-filter: @img-borders-filter-selected;
|
|
|
|
filter: @img-borders-filter-selected;
|
2016-03-11 00:48:53 +00:00
|
|
|
}
|
|
|
|
canvas {
|
2020-12-30 10:37:44 +00:00
|
|
|
-webkit-filter: @img-borders-filter-selected;
|
|
|
|
filter: @img-borders-filter-selected;
|
2016-03-11 00:48:53 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&.divider:first-child {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
2019-05-31 14:55:04 +00:00
|
|
|
|
|
|
|
.font-item {
|
|
|
|
vertical-align:middle;
|
|
|
|
margin: 0 0 0 -10px;
|
|
|
|
padding-top: 0;
|
|
|
|
padding-bottom: 0;
|
|
|
|
}
|
2019-10-05 13:58:13 +00:00
|
|
|
|
|
|
|
.dropdown-menu.menu-absolute {
|
|
|
|
position: fixed;
|
|
|
|
}
|
2016-03-11 00:48:53 +00:00
|
|
|
}
|
2019-12-09 11:19:26 +00:00
|
|
|
|
|
|
|
.open > .combobox.combo-dataview-menu {
|
|
|
|
&.input-group-nr:not(.no-highlighted) {
|
|
|
|
& > .form-control,
|
|
|
|
& > .btn {
|
2020-12-19 19:43:19 +00:00
|
|
|
border-color: @border-preview-select;
|
2019-12-09 11:19:26 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|