web-apps/apps/documenteditor/main/resources/less/filemenu.less

411 lines
6.5 KiB
Plaintext
Raw Normal View History

#file-menu-panel {
.panel-menu {
li {
list-style: none;
position: relative;
&.fm-btn {
height: 27px;
margin-bottom: 3px;
&:hover:not(.disabled) {
2021-02-16 07:22:48 +00:00
background-color: @highlight-button-hover-ie;
2020-12-19 19:43:19 +00:00
background-color: @highlight-button-hover;
}
&.active:not(.disabled) {
outline: 0;
2021-02-16 07:22:48 +00:00
background-color: @highlight-button-pressed-ie;
2020-12-19 19:43:19 +00:00
background-color: @highlight-button-pressed;
> a {
2021-02-16 07:22:48 +00:00
color: @text-normal-pressed-ie;
color: @text-normal-pressed;
}
}
&.disabled > a {
cursor: default;
2021-02-16 07:22:48 +00:00
color: @border-regular-control-ie;
2020-12-19 19:43:19 +00:00
color: @border-regular-control;
}
}
&.devider {
.dropdown-menu .divider;
margin-top: 10px;
margin-bottom: 10px;
}
&:first-child {
margin-top: 15px;
}
> a {
&:extend(.dropdown-menu > li > a);
padding-top: 4px;
cursor: pointer;
font-size: 13px;
&:hover {
text-decoration: none;
}
&:focus {
outline: 0;
}
}
}
}
.panel-context {
width: 100%;
padding-left: 260px;
2021-02-16 07:22:48 +00:00
background-color: @background-normal-ie;
2020-12-19 19:43:19 +00:00
background-color: @background-normal;
.content-box {
height: 100%;
padding: 0 20px;
label.empty {
position: absolute;
top: 45%;
left: 50%;
}
position: relative;
overflow: hidden;
}
}
}
#panel-saveas, #panel-savecopy {
table {
margin-left: auto;
margin-right: auto;
margin-bottom: 65px;
.btn-doc-format {
margin: 65px 25px 0px;
}
}
}
.btn-doc-format {
display: block;
width: 98px;
height: 125px;
cursor: pointer;
svg&:hover {
opacity:0.85;
}
}
2020-06-18 11:43:26 +00:00
.btn-blank-format {
display: block;
width: 96px;
height: 96px;
cursor: pointer;
svg&:hover {
opacity:0.85;
}
}
2020-08-07 10:51:26 +00:00
#panel-settings,
#panel-info {
#file-menu-panel & {
padding: 0;
display: flex;
flex-direction: column;
}
}
2020-08-07 10:51:26 +00:00
#panel-settings {
table {
width: 100%;
tr {
td {
padding: 5px 10px;
&.left {
text-align: right;
width: 30%;
label {
2017-11-15 08:00:22 +00:00
font-weight: bold;
font-size: 12px;
}
}
&.right {
width: 70%;
}
}
&.divider {
height: 10px;
}
}
}
}
#panel-createnew {
h3 {
margin: 0;
font-size: 10pt;
2021-02-16 07:22:48 +00:00
color: @text-normal-ie;
2020-12-19 19:43:19 +00:00
color: @text-normal;
font-weight: bold;
padding: 0 0 10px 10px;
white-space: nowrap;
}
.blank-document {
min-width: 650px;
}
.blank-document-info {
vertical-align: top;
width: 445px;
display: inline-block;
h3 {
padding-left: 0;
padding-top: 40px;
white-space: nowrap;
}
}
.blank-document-btn {
display: inline-block;
margin: 25px 20px 65px;
2020-06-18 11:43:26 +00:00
width: 96px;
height: 96px;
cursor: pointer;
}
hr {
margin: 0;
border-bottom: none;
2021-02-16 07:22:48 +00:00
border-color: @border-toolbar-ie;
2020-12-19 19:43:19 +00:00
border-color: @border-toolbar;
}
.thumb-list {
.thumb-wrap {
display: inline-block;
text-align: center;
width: auto;
padding: 30px 20px;
cursor: pointer;
.thumb {
2020-06-18 11:43:26 +00:00
width: 96px;
height: 96px;
2020-04-30 14:34:04 +00:00
background-repeat: no-repeat;
2020-04-30 15:35:30 +00:00
background-position: center;
}
.title {
padding-top: 20px;
}
}
}
}
#panel-recentfiles {
.item {
border: none;
width: 100%;
.box-shadow(none);
}
.recent-wrap {
2020-06-11 16:36:37 +00:00
padding: 5px 10px;
cursor: pointer;
font-size: 12px;
&:hover,
&.over {
2021-02-16 07:22:48 +00:00
background-color: @background-toolbar-ie;
2020-12-19 19:43:19 +00:00
background-color: @background-toolbar;
}
.recent-icon {
float: left;
2020-06-11 16:36:37 +00:00
width: 25px;
height: 25px;
2020-06-15 09:49:11 +00:00
margin-top: 1px;
2020-06-11 16:36:37 +00:00
svg {
width: 100%;
height: 100%;
}
}
> div:not(:first-child) {
display: block;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
}
.file-info {
2021-02-16 07:22:48 +00:00
color: @text-secondary-ie;
2020-12-19 19:43:19 +00:00
color: @text-secondary;
}
}
}
#panel-help {
#file-menu-panel & {
padding: 0;
overflow-y: hidden;
}
.no-padding {
padding: 0;
vertical-align: top;
}
.dataview {
2021-02-16 07:22:48 +00:00
border-right: @scaled-one-px-value-ie solid @border-toolbar-ie;
Merge branch 'develop' into feature/multiZoom5.5 # Conflicts: # apps/common/main/resources/img/toolbar/1x/big/.css.handlebars # apps/common/main/resources/less/asc-mixins.less # apps/common/main/resources/less/buttons.less # apps/common/main/resources/less/checkbox.less # apps/common/main/resources/less/combo-dataview.less # apps/common/main/resources/less/comments.less # apps/common/main/resources/less/common.less # apps/common/main/resources/less/dataview.less # apps/common/main/resources/less/dropdown-menu.less # apps/common/main/resources/less/listview.less # apps/common/main/resources/less/multislider-gradient.less # apps/common/main/resources/less/radiobox.less # apps/common/main/resources/less/scroller.less # apps/common/main/resources/less/separator.less # apps/common/main/resources/less/theme-colorpalette.less # apps/common/main/resources/less/toolbar.less # apps/common/main/resources/less/window.less # apps/documenteditor/main/resources/less/advanced-settings.less # apps/documenteditor/main/resources/less/filemenu.less # apps/documenteditor/main/resources/less/leftmenu.less # apps/documenteditor/main/resources/less/rightmenu.less # apps/documenteditor/main/resources/less/statusbar.less # apps/documenteditor/main/resources/less/toolbar.less # apps/presentationeditor/main/resources/less/leftmenu.less # apps/presentationeditor/main/resources/less/rightmenu.less # apps/presentationeditor/main/resources/less/statusbar.less # apps/spreadsheeteditor/main/resources/less/celleditor.less # apps/spreadsheeteditor/main/resources/less/leftmenu.less # apps/spreadsheeteditor/main/resources/less/rightmenu.less # apps/spreadsheeteditor/main/resources/less/statusbar.less # apps/spreadsheeteditor/main/resources/less/toolbar.less
2021-02-10 12:40:30 +00:00
border-right: @scaled-one-px-value solid @border-toolbar;
& > .item {
display: block;
border: none;
width: 100%;
.box-shadow(none);
margin: 0;
font-size: 12px;
2018-07-17 12:19:05 +00:00
float: none;
&:not(.header-name) {
&:hover,
&.over {
2021-02-16 07:22:48 +00:00
background-color: @background-toolbar-ie;
2020-12-19 19:43:19 +00:00
background-color: @background-toolbar;
}
&.selected {
2021-02-16 07:22:48 +00:00
background-color: @highlight-button-pressed-ie;
2020-12-19 19:43:19 +00:00
background-color: @highlight-button-pressed;
color: @dropdown-link-active-color;
}
}
}
.help-item-wrap {
2018-07-17 12:19:05 +00:00
padding: 4px 2px 4px 20px;
}
.header-name {
2018-07-17 12:19:05 +00:00
padding: 16px 2px 4px 10px;
font-size: 12px;
}
}
}
#panel-rights {
#file-menu-panel & {
padding: 0 30px;
}
}
#panel-info,
#panel-rights {
table {
2019-04-02 10:17:26 +00:00
tr {
td {
padding: 0 20px 5px 0;
2019-04-02 10:17:26 +00:00
&.left {
padding: 5px 10px;
text-align: right;
width: 30%;
2019-04-02 10:17:26 +00:00
label {
font-weight: bold;
}
}
2019-04-02 10:17:26 +00:00
&.right {
padding: 5px 10px;
width: 70%;
}
}
2019-04-02 10:17:26 +00:00
&.divider {
height: 10px;
}
}
&.main {
width: 100%;
}
}
.userLink {
background-position: -81px -234px;
padding: 0 0 0 17px;
width: 16px;
height: 16px;
&.sharedLink {
background-position: -24px -273px;
}
}
label, span {
2017-11-15 08:00:22 +00:00
font-size: 12px;
}
2019-04-02 10:17:26 +00:00
.close {
width: 16px;
height: 16px;
cursor: pointer;
display: inline-block;
vertical-align: middle;
margin-left: 5px;
background-position: @but-close-offset-x @but-close-offset-y;
&.over,
&:hover {
background-position: @but-close-offset-x @but-close-offset-y - 16px;
}
2019-06-21 12:14:24 +00:00
&.disabled {
background-position: @but-close-offset-x @but-close-offset-y - 32px;
cursor: default;
}
2019-04-02 10:17:26 +00:00
}
}
#panel-protect {
2018-04-27 13:14:18 +00:00
label {
font-size: 12px;
}
#file-menu-panel & {
padding: 30px 30px;
}
.header {
font-weight: bold;
margin: 30px 0 10px;
}
table {
td {
padding: 5px 0;
}
}
}