Files
DocumentServer-v-9.2.0/web-apps/apps/spreadsheeteditor/main/resources/less/celleditor.less
Yajbir Singh f1b860b25c
Some checks failed
check / markdownlint (push) Has been cancelled
check / spellchecker (push) Has been cancelled
updated
2025-12-11 19:03:17 +05:30

217 lines
6.7 KiB
Plaintext

#cell-editing-box {
border-bottom: solid @celleditor-border-width-ie @border-toolbar-ie;
border-bottom: solid @celleditor-border-width @border-toolbar;
border-left: solid @celleditor-border-width-ie @border-toolbar-ie;
border-left: solid @celleditor-border-width @border-toolbar;
min-height: @celleditor-height-ie;
min-height: @celleditor-height;
background-color: @background-pane-ie;
background-color: @background-pane;
.ce-group-name {
height: @celleditor-height-ie;
height: @celleditor-height;
//border-bottom: @scaled-one-px-value-ie solid @border-toolbar-ie;
//border-bottom: @scaled-one-px-value solid @border-toolbar;
background-color: @background-pane-ie;
background-color: @background-pane;
#ce-cell-name {
width: 100px;
height: @celleditor-cell-name-height-ie;
height: @celleditor-cell-name-height;
padding: 0px 19px 0 4px;
vertical-align: top;
display: inline-block;
transition: none;
-webkit-transition: none;
border: @celleditor-input-border-ie;
border: @celleditor-input-border;
border-right: @celleditor-cell-name-border-right-ie;
border-right: @celleditor-cell-name-border-right;
box-shadow: 0 @celleditor-border-width-ie 0 0 @border-toolbar-ie;
box-shadow: 0 @celleditor-border-width 0 0 @border-toolbar;
.rtl & {
padding: 0px 4px 0 19px;
direction: rtl;
border: @celleditor-input-border-ie;
border: @celleditor-input-border;
border-left: @celleditor-cell-name-border-right-ie;
border-left: @celleditor-cell-name-border-right;
}
&[disabled] {
color: @text-secondary-ie;
color: @text-secondary;
opacity: 0.5;
}
}
#ce-cell-name-menu {
display: inline-block;
position: absolute;
left: 83px;
background-color: transparent;
.rtl & {
left: auto;
right: 83px;
}
button {
background-color: @background-normal-ie;
background-color: transparent;
width: 16px;
height: @celleditor-height-ie;
height: @celleditor-height;
.inner-box-caret {
padding: 0;
}
&.disabled {
opacity: 0.5;
}
&:active:not(.disabled),
&.active:not(.disabled){
.caret {
border-color: @icon-normal-ie;
border-color: @icon-normal;
}
}
}
.dropdown-menu a {
overflow: hidden;
text-overflow: ellipsis;
}
}
#ce-func-label {
height: @x-small-btn-size-ie;
height: @x-small-btn-size;
width: @x-small-btn-size-ie;
width: @x-small-btn-size;
.margin-left(@celleditor-func-label-margin-left-ie);
.margin-left(@celleditor-func-label-margin-left);
.border-radius(0);
&.disabled {
opacity: 0.4;
}
}
}
&:not(.expanded) {
#ce-func-label {
border-bottom: @celleditor-border-width-ie solid @border-toolbar-ie;
border-bottom: @celleditor-border-width solid @border-toolbar;
}
}
.ce-group-expand {
//height: 20px;
position: absolute;
top:0;
right: 0;
.rtl & {
right: auto;
left: 0;
}
height: 100%;
// background-color: @background-normal-ie;
// background-color: @background-normal;
}
.ce-group-content {
margin: 0 0px 0 calc(100px + 3px + @celleditor-func-label-margin-left-ie + @x-small-btn-size-ie);
margin: 0 0px 0 calc(100px + 3px + @celleditor-func-label-margin-left + @x-small-btn-size);
height: 100%;
display: flex;
border-left: @celleditor-border-width-ie solid @border-toolbar-ie;
border-left: @celleditor-border-width solid @border-toolbar;
.rtl & {
border-left: none;
border-right: @celleditor-border-width-ie solid @border-toolbar-ie;
border-right: @celleditor-border-width solid @border-toolbar;
margin: 0 calc(100px + 3px + @celleditor-func-label-margin-left-ie + @x-small-btn-size-ie) 0 0px;
margin: 0 calc(100px + 3px + @celleditor-func-label-margin-left + @x-small-btn-size) 0 0px;
}
#ce-cell-content {
height: 100%;
resize: none;
min-height: 19px;
border: @celleditor-input-border-ie;
border: @celleditor-input-border;
box-shadow: none;
.padding-x(3px, 19px);
.font-size-medium();
line-height: @celleditor-line-height-ie;
line-height: @celleditor-line-height;
padding-bottom: 0;
&::-webkit-scrollbar-button:single-button{
height: 9px;
background-size: 6px;
background-position: center;
}
&::-webkit-scrollbar-thumb{
min-height: 20px;
height: 20px;
}
&::-webkit-scrollbar{
height: 18px;
}
&[disabled] {
color: @text-secondary-ie;
color: @text-secondary;
opacity: 0.5;
}
}
}
#ce-cell-name, #ce-cell-content {
border-radius: @celleditor-input-border-radius-ie;
border-radius: @celleditor-input-border-radius;
}
&+.layout-resizer {
border-top: 0 none;
border-bottom: 0 none;
&.move {
border-top: @scaled-one-px-value-ie solid @border-toolbar-ie;
border-top: @scaled-one-px-value solid @border-toolbar;
border-bottom: @scaled-one-px-value-ie solid @border-toolbar-ie;
border-bottom: @scaled-one-px-value solid @border-toolbar;
opacity: 0.4;
}
}
}
#ce-btn-expand {
width: 16px;
height: @celleditor-height-ie;
height: @celleditor-height;
.border-radius(0);
background: transparent;
padding: 0 2px 0;
.caret {
transition: transform .2s;
border-color: @icon-normal-ie;
border-color: @icon-normal;
}
&.btn-collapse {
.caret {
transform: rotate(45deg);
}
}
}