web-apps/apps/common/main/resources/less/synchronize-tip.less

543 lines
14 KiB
Plaintext
Raw Normal View History

2016-03-11 00:48:53 +00:00
.synch-tip-root {
2021-11-23 20:30:41 +00:00
position: fixed;
2018-04-24 13:15:26 +00:00
z-index: @zindex-navbar + 2;
&:not(.simple) {
2021-12-13 16:20:55 +00:00
max-width: 300px;
}
&.simple {
max-width: 700px;
left: 50%;
transform: translate(-50%, 20px);
.tip-arrow {
display: none;
}
}
2016-03-11 00:48:53 +00:00
2020-07-17 08:13:50 +00:00
&.no-arrow {
.tip-arrow {
display: none;
}
2021-12-13 16:20:55 +00:00
}
2020-07-17 08:13:50 +00:00
2021-12-13 16:20:55 +00:00
&.closable {
2020-07-17 08:13:50 +00:00
.asc-synchronizetip {
padding-right: 30px;
}
}
&.theme-color {
.asc-synchronizetip {
background-color: @header-background-color-ie;
background-color: @header-background-color;
color: @text-toolbar-header-ie;
color: @text-toolbar-header;
2021-11-17 21:35:25 +00:00
border-color: @header-background-color-ie;
border-color: @header-background-color;
.close {
&:before, &:after {
background-color: @text-toolbar-header-ie;
background-color: @text-toolbar-header;
}
}
}
2021-11-17 21:35:25 +00:00
.tip-arrow:before {
background-color: @header-background-color-ie;
background-color: @header-background-color;
2021-11-17 21:35:25 +00:00
border-color: @header-background-color-ie !important;
border-color: @header-background-color !important;
}
.tip-arrow:after {
border-color: @header-background-color-ie !important;
border-color: @header-background-color !important;
}
}
&.toolbar-color {
.asc-synchronizetip {
background-color: @background-toolbar-ie;
background-color: @background-toolbar;
2021-11-17 21:35:25 +00:00
border-color: @background-toolbar-ie;
border-color: @background-toolbar;
}
2021-11-17 21:35:25 +00:00
.tip-arrow:before {
background-color: @background-toolbar-ie;
background-color: @background-toolbar;
2021-11-17 21:35:25 +00:00
border-color: @background-toolbar-ie !important;
border-color: @background-toolbar !important;
}
.tip-arrow:after {
border-color: @background-toolbar-ie !important;
border-color: @background-toolbar !important;
}
}
&.colored {
.asc-synchronizetip {
2021-11-17 21:35:25 +00:00
background-color: @background-contrast-popover-ie;
background-color: @background-contrast-popover;
2021-12-02 11:57:27 +00:00
color: @text-normal-ie;
color: @text-normal;
2021-11-17 21:35:25 +00:00
border-color: @border-contrast-popover-ie;
border-color: @border-contrast-popover;
.close {
&:before, &:after {
2021-12-02 11:57:27 +00:00
background-color: @text-normal-ie;
background-color: @text-normal;
}
}
2021-12-02 11:57:27 +00:00
.box-shadow(0 0 40px 0 @shadow-contrast-popover-ie);
.box-shadow(0 0 40px 0 @shadow-contrast-popover);
}
2021-11-17 21:35:25 +00:00
.tip-arrow:before {
background-color: @background-contrast-popover-ie;
background-color: @background-contrast-popover;
2021-11-17 21:35:25 +00:00
border-color: @border-contrast-popover-ie !important;
border-color: @border-contrast-popover !important;
}
.tip-arrow:after {
border-color: @border-contrast-popover-ie !important;
border-color: @border-contrast-popover !important;
}
.btn-div {
display: inline-block;
border: 1px solid @border-regular-control-ie;
border: 1px solid @border-regular-control;
border-radius: 2px;
padding: 3px 12px;
margin-top: 10px;
&:hover {
2021-12-02 11:57:27 +00:00
background-color: @highlight-button-hover-ie;
background-color: @highlight-button-hover;
}
&:active {
2021-12-02 11:57:27 +00:00
background-color: @highlight-button-pressed-ie;
background-color: @highlight-button-pressed;
color: @text-normal-pressed-ie;
color: @text-normal-pressed;
}
}
.show-link label {
2021-12-02 11:57:27 +00:00
border-bottom: @scaled-one-px-value-ie dotted @text-normal-ie;
border-bottom: @scaled-one-px-value dotted @text-normal;
color: @text-normal-ie;
color: @text-normal;
cursor: pointer;
&:hover:not(:disabled) {
2021-12-02 11:57:27 +00:00
color: @text-normal;
border-bottom-color: dotted @text-normal;
}
&:active {
2021-12-02 11:57:27 +00:00
color: @text-normal;
border-bottom-color: dotted @text-normal;
}
}
}
&.inc-index {
z-index: @zindex-navbar + 4;
}
2016-03-11 00:48:53 +00:00
.tip-arrow {
position: absolute;
overflow: hidden;
}
&.right-top,
&.right-bottom,
2016-03-11 00:48:53 +00:00
&.right {
margin: 0 0 0 15px;
}
&.left-top,
&.left-bottom,
&.left {
margin: 0 15px 0 0;
}
&.top-left,
&.top-right,
&.top {
margin: 0 0 15px 0;
}
&.bottom-left,
&.bottom-right,
&.bottom {
margin: 15px 0 0 0;
}
&.right-top,
&.right-bottom {
margin: 0 0 0 15px;
}
&.right {
.tip-arrow {
2021-11-17 21:35:25 +00:00
left: -12px;
top: 50%;
margin-top: -7px;
width: 16px;
height: 15px;
.box-shadow(0 0 8px -5px rgba(0, 0, 0, 0.2));
2021-11-17 21:35:25 +00:00
&:before {
top: 0;
left: 8px;
width: 16px;
}
}
}
&.left {
.tip-arrow {
right: -13px;
top: 50%;
margin-top: -7px;
width: 16px;
2021-11-17 21:35:25 +00:00
height: 16px;
.box-shadow(0 0 8px -5px rgba(0, 0, 0, 0.2));
2021-11-17 21:35:25 +00:00
&:before {
top: 0;
left: -8px;
width: 16px;
}
}
}
&.top {
.tip-arrow {
left: 50%;
bottom: -12px;
margin-left: -6px;
width: 16px;
height: 16px;
.box-shadow(0 0 8px -5px rgba(0, 0, 0, 0.2));
2021-11-17 21:35:25 +00:00
&:before {
top: -6px;
left: 0;
width: 16px;
}
}
}
&.bottom {
.tip-arrow {
left: 50%;
2021-11-17 21:35:25 +00:00
top: -11px;
margin-left: -7px;
2021-11-17 21:35:25 +00:00
width: 15px;
height: 15px;
.box-shadow(0 0 8px -5px rgba(0, 0, 0, 0.2));
2021-11-17 21:35:25 +00:00
&:before {
top: 7px;
left: 0;
width: 16px;
}
}
}
2016-03-11 00:48:53 +00:00
&.right-bottom {
2016-03-11 00:48:53 +00:00
.tip-arrow {
left: -15px;
top: 0;
width: 16px;
height: 15px;
.box-shadow(0 -5px 8px -5px rgba(0, 0, 0, 0.2));
2021-11-17 21:35:25 +00:00
&:before {
top: -7px;
2018-04-03 14:39:49 +00:00
left: 7px;
width: 16px;
2016-03-11 00:48:53 +00:00
}
2021-11-17 21:35:25 +00:00
&:after {
top: 0px;
left: 4px;
border-top: @scaled-one-px-value-ie solid @background-notification-popover-ie;
border-top: @scaled-one-px-value solid @background-notification-popover;
}
2016-03-11 00:48:53 +00:00
}
}
&.left-bottom {
.tip-arrow {
right: -15px;
2018-04-03 14:39:49 +00:00
top: 0;
width: 16px;
height: 15px;
.box-shadow(0 -5px 8px -5px rgba(0, 0, 0, 0.2));
2021-11-17 21:35:25 +00:00
&:before {
2018-04-03 14:39:49 +00:00
top: -7px;
left: -7px;
}
2021-11-17 21:35:25 +00:00
&:after {
top: 0px;
left: -4px;
border-top: @scaled-one-px-value-ie solid @background-notification-popover-ie;
border-top: @scaled-one-px-value solid @background-notification-popover;
}
}
}
&.top-left {
2016-03-11 00:48:53 +00:00
.tip-arrow {
right: 0;
2021-11-17 21:35:25 +00:00
bottom: -14px;
width: 15px;
2016-03-11 00:48:53 +00:00
height: 15px;
.box-shadow(5px 0 8px -5px rgba(0, 0, 0, 0.2));
2021-11-17 21:35:25 +00:00
&:before {
2016-03-11 00:48:53 +00:00
top: -8px;
left: 8px;
2016-03-11 00:48:53 +00:00
}
2021-11-17 21:35:25 +00:00
&:after {
top: -6px;
left: 0px;
border-right: @scaled-one-px-value-ie solid @background-notification-popover-ie;
border-right: @scaled-one-px-value solid @background-notification-popover;
}
2016-03-11 00:48:53 +00:00
}
}
&.top-right {
.tip-arrow {
left: 0;
2021-11-17 21:35:25 +00:00
bottom: -14px;
width: 15px;
height: 15px;
.box-shadow(-5px 0 8px -5px rgba(0, 0, 0, 0.2));
2021-11-17 21:35:25 +00:00
&:before {
top: -8px;
left: -8px;
}
2021-11-17 21:35:25 +00:00
&:after {
top: -6px;
left: 0px;
border-left: @scaled-one-px-value-ie solid @background-notification-popover-ie;
border-left: @scaled-one-px-value solid @background-notification-popover;
}
}
}
&.bottom-left {
.tip-arrow {
right: 0;
2021-11-17 21:35:25 +00:00
top: -14px;
width: 15px;
height: 15px;
.box-shadow(8px 5px 8px -5px rgba(0, 0, 0, 0.2));
2021-11-17 21:35:25 +00:00
&:before {
top: 8px;
left: 8px;
}
2021-11-17 21:35:25 +00:00
&:after {
top: 6px;
left: 0px;
border-right: @scaled-one-px-value-ie solid @background-notification-popover-ie;
border-right: @scaled-one-px-value solid @background-notification-popover;
}
}
}
&.bottom-right {
.tip-arrow {
left: 0;
2021-11-17 21:35:25 +00:00
top: -14px;
width: 15px;
height: 15px;
.box-shadow(-8px 0 8px -5px rgba(0, 0, 0, 0.2));
2021-11-17 21:35:25 +00:00
&:before {
top: 8px;
left: -8px;
}
2021-11-17 21:35:25 +00:00
&:after {
top: 6px;
left: 0px;
border-left: @scaled-one-px-value-ie solid @background-notification-popover-ie;
border-left: @scaled-one-px-value solid @background-notification-popover;
}
}
}
&.right-top {
.tip-arrow {
2021-11-17 21:35:25 +00:00
left: -14px;
bottom: 0;
width: 15px;
height: 15px;
.box-shadow(0 5px 8px -5px rgba(0, 0, 0, 0.2));
2021-11-17 21:35:25 +00:00
&:before {
top: 7px;
left: 7px;
width: 16px;
}
2021-11-17 21:35:25 +00:00
&:after {
top: 0px;
left: 4px;
border-bottom: @scaled-one-px-value-ie solid @background-notification-popover-ie;
border-bottom: @scaled-one-px-value solid @background-notification-popover;
}
}
}
&.left-top {
.tip-arrow {
2021-11-17 21:35:25 +00:00
right: -14px;
bottom: 0;
width: 15px;
height: 13px;
.box-shadow(-5px 8px 8px -5px rgba(0, 0, 0, 0.2));
2021-11-17 21:35:25 +00:00
&:before {
bottom: -7px;
left: -7px;
}
2021-11-17 21:35:25 +00:00
&:after {
top: -2px;
left: -4px;
border-bottom: @scaled-one-px-value-ie solid @background-notification-popover-ie;
border-bottom: @scaled-one-px-value solid @background-notification-popover;
}
}
}
2016-03-11 00:48:53 +00:00
}
.asc-synchronizetip {
2021-12-13 16:20:55 +00:00
padding: 10px 15px;
2016-03-11 00:48:53 +00:00
border-radius: 5px;
2021-02-16 07:21:22 +00:00
background-color: @background-notification-popover-ie;
2020-12-19 19:43:19 +00:00
background-color: @background-notification-popover;
2016-03-11 00:48:53 +00:00
overflow: visible;
2021-11-17 21:35:25 +00:00
border: @scaled-one-px-value-ie solid @background-notification-popover-ie;
border: @scaled-one-px-value solid @background-notification-popover;
.bottom-right &,
.right-bottom & {
border-top-left-radius: 0;
}
.bottom-left &,
.left-bottom & {
2018-04-03 14:39:49 +00:00
border-top-right-radius: 0;
}
.top-right &,
.right-top & {
border-bottom-left-radius: 0;
}
.top-left &,
.left-top & {
border-bottom-right-radius: 0;
}
2016-03-11 00:48:53 +00:00
.box-shadow(0 4px 15px -2px rgba(0, 0, 0, 0.5));
font-size: 11px;
}
2021-11-17 21:35:25 +00:00
.asc-synchronizetip .tip-arrow:before {
2016-03-11 00:48:53 +00:00
content: '';
position: absolute;
top: 5px;
left: 8px;
2021-02-16 07:21:22 +00:00
background-color: @background-notification-popover-ie;
2020-12-19 19:43:19 +00:00
background-color: @background-notification-popover;
2016-03-11 00:48:53 +00:00
width: 15px;
height: 15px;
-moz-transform: rotate(45deg);
-ms-transform: rotate(45deg);
-webkit-transform: rotate(45deg);
-o-transform: rotate(45deg);
transform: rotate(45deg);
2021-11-17 21:35:25 +00:00
border: @scaled-one-px-value-ie solid @background-notification-popover-ie;
border: @scaled-one-px-value solid @background-notification-popover;
}
.asc-synchronizetip .tip-arrow:after {
content: '';
position: absolute;
background-color: transparent;
width: 15px;
height: 15px;
2016-03-11 00:48:53 +00:00
}
.asc-synchronizetip .show-link {
margin-top: 10px;
}
.show-link label {
2021-02-16 07:21:22 +00:00
border-bottom: @scaled-one-px-value-ie dotted @text-link-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-bottom: @scaled-one-px-value dotted @text-link;
2021-02-16 07:21:22 +00:00
color: @text-link-ie;
2020-12-19 19:43:19 +00:00
color: @text-link;
2016-03-11 00:48:53 +00:00
cursor: pointer;
2021-04-24 20:20:55 +00:00
&:hover:not(:disabled) {
color: @text-link-hover;
border-bottom-color: dotted @text-link-hover;
}
&:active {
color: @text-link-active;
border-bottom-color: dotted @text-link-hover;
}
2016-03-11 00:48:53 +00:00
}
.asc-synchronizetip .close {
position: absolute;
right: 0;
top: 0;
width: 16px;
height: 16px;
2021-12-13 16:20:55 +00:00
margin: 5px;
2016-03-11 00:48:53 +00:00
cursor: pointer;
opacity: 0.7;
transition: transform .3s;
2016-03-11 00:48:53 +00:00
&:hover {
transform: scale(1.1);
opacity: 1;
}
&:before, &:after {
content: ' ';
position: absolute;
left: 7px;
left: calc(7px/@pixel-ratio-factor);
top: @scaled-one-px-value-ie;
top: @scaled-one-px-value;
height: 14px;
width: @scaled-one-px-value-ie;
width: @scaled-one-px-value;
background-color: @icon-normal-ie;
background-color: @icon-normal;
}
&:before {
transform: rotate(45deg);
}
&:after {
transform: rotate(-45deg);
2016-03-11 00:48:53 +00:00
}
}