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

574 lines
14 KiB
Plaintext
Raw Normal View History

2016-03-11 00:48:53 +00:00
.tool-menu {
height: 100%;
display: block;
&.left {
overflow: hidden;
.tool-menu-btns {
border-right: 1px solid @gray-dark;
}
}
}
#left-menu {
&+.layout-resizer {
border-left: 0 none;
border-right: 0 none;
&.move {
border-left: 1px solid @gray-dark;
border-right: 1px solid @gray-dark;
opacity: 0.4;
}
}
}
.tool-menu-btns {
width: 40px;
height: 100%;
display: inline-block;
position: absolute;
padding-top: 15px;
button {
margin-bottom: 8px;
}
}
.left-panel {
padding-left: 40px;
height: 100%;
border-right: 1px solid @gray-dark;
#left-panel-chat {
height: 100%;
}
#left-panel-comments {
height: 100%;
}
}
.left-menu-full-ct {
width: 100%;
height: 100%;
left: 40px;
padding-right: 40px;
top: 0;
position: absolute;
z-index: @zindex-dropdown - 5;
background-color: @gray-light;
overflow: hidden;
}
.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;
}
}
2016-03-11 00:48:53 +00:00
#file-menu-panel {
> div {
height: 100%;
}
.panel-menu {
width: 260px;
float: left;
border-right: 1px solid @gray-dark;
background-color: @gray-light;
li {
list-style: none;
position: relative;
&.fm-btn {
height: 27px;
margin-bottom: 3px;
&:hover:not(.disabled) {
2016-03-11 00:48:53 +00:00
background-color: @secondary;
}
&.active:not(.disabled) {
2016-03-11 00:48:53 +00:00
outline: 0;
background-color: @primary;
> a {
color: #fff;
}
}
&.disabled > a {
cursor: default;
color: @gray;
}
2016-03-11 00:48:53 +00:00
}
&.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;
background-color: #fff;
.content-box {
height: 100%;
padding: 0 20px;
label.empty {
position: absolute;
top: 45%;
left: 50%;
}
position: relative;
overflow: hidden;
}
#panel-saveas, #panel-savecopy {
2016-03-11 00:48:53 +00:00
table {
margin-left: auto;
margin-right: auto;
margin-bottom: 65px;
.btn-doc-format {
margin: 65px 25px 0px;
}
}
}
.flex-settings {
&.bordered {
border-bottom: 1px solid @gray;
}
overflow: hidden;
position: relative;
}
#panel-settings-general,
#panel-settings-print {
& > div {
width: 100%;
height: 100%;
padding: 0;
display: flex;
flex-direction: column;
}
}
#panel-info {
padding: 0;
display: flex;
flex-direction: column;
}
2016-03-11 00:48:53 +00:00
#panel-settings {
padding: 0;
#id-settings-menu {
.dataview {
border-right: 1px solid @gray-dark;
& > div:not([class^=ps-scrollbar]) {
display: block;
border: none;
width: 100%;
.box-shadow(none);
margin: 0;
font-size: 12px;
.settings-item-wrap {
padding: 4px 2px 4px 20px;
.settings-icon {
width: 20px;
height: 20px;
margin: 0 5px 3px 0;
vertical-align: middle;
}
}
&:hover,
&.over {
background-color: @gray-light;
}
&.selected {
background-color: @primary;
color: @dropdown-link-active-color;
.settings-icon {
2019-12-02 08:40:47 +00:00
background-position-x: -20px;
--bgX: -20px;
2016-03-11 00:48:53 +00:00
}
}
}
}
}
table {
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;
2016-03-11 00:48:53 +00:00
}
}
&.right {
width: 70%;
}
}
&.divider {
height: 10px;
}
}
&.main {
width: 100%;
}
&.no-padding {
tr td {
padding: 0 20px 0 0;
vertical-align: top;
& > div {
margin-bottom: 15px;
}
}
}
}
.main-settings-panel {
display: none;
overflow: hidden;
&.active {
display: block;
}
}
}
#panel-createnew {
h3 {
margin: 0;
font-size: 10pt;
color: #665;
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;
2020-06-18 11:43:26 +00:00
padding-top: 45px;
2016-03-11 00:48:53 +00:00
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;
2016-03-11 00:48:53 +00:00
cursor: pointer;
}
hr {
margin: 0;
border-bottom: none;
border-color: #e1e1e1;
}
.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;
2016-03-11 00:48:53 +00:00
}
.title {
padding-top: 20px;
}
}
}
}
#panel-recentfiles {
.dataview {
& > div:not([class^=ps-scrollbar]) {
border: none;
width: 100%;
.box-shadow(none);
}
}
.recent-wrap {
2020-06-11 16:36:37 +00:00
padding: 5px 10px;
2016-03-11 00:48:53 +00:00
cursor: pointer;
font-size: 12px;
&:hover,
&.over {
background-color: @gray-light;
}
.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%;
}
2016-03-11 00:48:53 +00:00
}
.file-name {
display: block;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
}
.file-info {
display: block;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
color: #999;
}
}
}
#panel-help {
padding: 0;
overflow-y: hidden;
.no-padding {
padding: 0;
vertical-align: top;
}
.dataview {
border-right: 1px solid @gray-dark;
& > div:not([class^=ps-scrollbar]) {
display: block;
border: none;
width: 100%;
.box-shadow(none);
margin: 0;
font-size: 12px;
2018-07-17 12:19:05 +00:00
float: none;
2016-03-11 00:48:53 +00:00
&:not(.header-name) {
&:hover,
&.over {
background-color: @gray-light;
}
&.selected {
background-color: @primary;
color: @dropdown-link-active-color;
}
}
}
.help-item-wrap {
2018-07-17 12:19:05 +00:00
padding: 4px 2px 4px 20px;
2016-03-11 00:48:53 +00:00
}
.header-name {
2018-07-17 12:19:05 +00:00
padding: 16px 2px 4px 10px;
2016-03-11 00:48:53 +00:00
}
}
}
#panel-rights {
padding: 0 30px;
}
#panel-info,
#panel-rights {
2016-03-11 00:48:53 +00:00
table {
tr {
td {
padding: 0 20px 5px 0;
&.left {
padding: 5px 10px;
text-align: right;
width: 30%;
label {
font-weight: bold;
}
}
&.right {
padding: 5px 10px;
width: 70%;
}
}
&.divider {
height: 10px;
}
}
&.main {
width: 100%;
}
}
.userLink {
.background-ximage('@{common-image-path}/@{common-controls}', '@{common-image-path}/@{common-controls2x}', 100px);
background-position: -81px -234px;
background-repeat: no-repeat;
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;
2016-03-11 00:48:53 +00:00
}
2019-05-16 08:52:49 +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:19:56 +00:00
&.disabled {
background-position: @but-close-offset-x @but-close-offset-y - 32px;
cursor: default;
}
2019-05-16 08:52:49 +00:00
}
2016-03-11 00:48:53 +00:00
}
#panel-protect {
2018-04-27 13:14:18 +00:00
label {
font-size: 12px;
}
padding: 30px 30px;
.header {
font-weight: bold;
margin: 30px 0 10px;
}
table {
td {
padding: 5px 0;
}
}
}
2016-03-11 00:48:53 +00:00
}
}
#developer-hint, #beta-hint, #limit-hint {
position: absolute;
left: 0;
padding: 12px 0;
background-color: #ffb400;
color: #6e4e00 !important;
2020-11-03 10:41:26 +00:00
white-space: pre;
line-height: @app-header-height;
2017-10-13 14:36:52 +00:00
writing-mode: tb-rl;
-moz-transform: rotate(180deg);
-ms-transform: rotate(180deg);
-webkit-transform: rotate(180deg);
-o-transform: rotate(180deg);
transform: rotate(180deg);
2019-01-16 10:51:34 +00:00
cursor: default;
2017-09-13 08:57:30 +00:00
}
2019-08-02 10:56:21 +00:00
.img-complete {
background-position: -42px -234px;
height: 16px;
width: 16px;
}