web-apps/apps/spreadsheeteditor/main/resources/less/celleditor.less

130 lines
3.1 KiB
Plaintext
Raw Normal View History

2016-03-11 00:48:53 +00:00
#cell-editing-box {
border-bottom: solid 1px var(--border-toolbar);
border-left: solid 1px var(--border-toolbar);
2016-03-11 00:48:53 +00:00
min-height: 20px;
background-color: #fff;
.ce-group-name {
float: left;
height: 20px;
border-bottom: 1px solid var(--border-toolbar);
background-color: var(--background-toolbar);
2016-03-11 00:48:53 +00:00
#ce-cell-name {
2018-02-22 07:56:36 +00:00
width: 100px;
2016-03-11 00:48:53 +00:00
height: 19px;
2018-02-22 07:56:36 +00:00
padding: 0px 19px 0 4px;
2016-03-11 00:48:53 +00:00
vertical-align: top;
display: inline-block;
border: 0 none;
border-right: 1px solid var(--border-toolbar);
2016-03-11 00:48:53 +00:00
transition: none;
-webkit-transition: none;
&[disabled] {
color: var(--border-preview-select);
2016-03-11 00:48:53 +00:00
opacity: 0.5;
}
}
#ce-cell-name-menu {
display: inline-block;
position: absolute;
2018-02-22 07:56:36 +00:00
left: 80px;
background-color: var(--background-toolbar);
2016-03-11 00:48:53 +00:00
button {
background-color: #fff;
height: 19px;
&.disabled {
opacity: 0.5;
}
&:active:not(.disabled),
&.active:not(.disabled){
.caret {
background-position: @arrow-small-offset-x @arrow-small-offset-y;
}
}
}
.dropdown-menu a {
overflow: hidden;
text-overflow: ellipsis;
}
}
#ce-func-label {
height: 20px;
margin-left: -3px;
.border-radius(0);
&.disabled {
2019-12-04 10:38:27 +00:00
opacity: 0.4;
2016-03-11 00:48:53 +00:00
}
}
}
.ce-group-expand {
float: right;
height: 20px;
}
.ce-group-content {
padding-left: 1px;
2018-02-22 07:56:36 +00:00
margin: 0 16px 0 120px;
2016-03-11 00:48:53 +00:00
height: 100%;
border-left: 1px solid var(--border-toolbar);
2016-03-11 00:48:53 +00:00
#ce-cell-content {
height: 100%;
resize: none;
min-height: 19px;
border: 0 none;
font-size: 12px;
line-height: 18px;
padding-bottom: 0;
2016-03-11 00:48:53 +00:00
&[disabled] {
color: var(--border-preview-select);
2016-03-11 00:48:53 +00:00
opacity: 0.5;
}
}
}
#ce-cell-name, #ce-cell-content {
border-radius: 0;
}
&+.layout-resizer {
border-top: 0 none;
border-bottom: 0 none;
&.move {
border-top: 1px solid var(--border-toolbar);
border-bottom: 1px solid var(--border-toolbar);
2016-03-11 00:48:53 +00:00
opacity: 0.4;
}
}
}
#ce-btn-expand {
width: 16px;
height: 18px;
.border-radius(0);
background: transparent;
padding: 0 2px 0;
.caret {
background-position: @arrow-small-offset-x @arrow-small-offset-y;
transition: transform .2s;
}
&.btn-collapse {
.caret {
transform: rotate(180deg);
}
}
}