web-apps/apps/common/main/resources/less/tooltip.less

65 lines
1.6 KiB
Plaintext
Raw Normal View History

2016-03-11 00:48:53 +00:00
.tooltip {
&.in {
opacity: 1;
}
&.arrow-free {
&.top { margin-top: 0; }
// &.right { margin-left: 3px; padding: 0 @tooltip-arrow-width; }
&.bottom { margin-top: 0; }
// &.left { margin-left: -3px; padding: 0 @tooltip-arrow-width; }
}
&.top-left .tooltip-arrow,
&.top-right .tooltip-arrow {
bottom: 1px;
border-width: 5px 5px 0;
2021-02-16 07:21:22 +00:00
border-top-color: @background-normal-ie;
2020-12-19 19:43:19 +00:00
border-top-color: @background-normal;
2016-03-11 00:48:53 +00:00
}
&.top-left .tooltip-arrow,
&.bottom-left .tooltip-arrow {
left: 5px;
}
&.top-right .tooltip-arrow,
&.bottom-right .tooltip-arrow {
right: 5px;
}
&.bottom-left .tooltip-arrow,
&.bottom-right .tooltip-arrow {
top: 1px;
border-width: 0 5px 5px;
2021-02-16 07:21:22 +00:00
border-bottom-color: @background-normal-ie;
2020-12-19 19:43:19 +00:00
border-bottom-color: @background-normal;
2016-03-11 00:48:53 +00:00
}
}
.tooltip-inner {
font-size: 11px;
2021-02-16 07:21:22 +00:00
background-color: @background-normal-ie;
2020-12-19 19:43:19 +00:00
background-color: @background-normal;
2021-02-16 07:21:22 +00:00
color: @text-normal-ie;
2020-12-19 19:43:19 +00:00
color: @text-normal;
2016-03-11 00:48:53 +00:00
padding: 5px 12px;
2021-02-16 07:21:22 +00:00
border: @scaled-one-px-value-ie solid @border-regular-control-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: @scaled-one-px-value solid @border-regular-control;
2016-03-11 00:48:53 +00:00
.box-shadow(0 6px 12px rgba(0, 0, 0, 0.175));
background-clip: padding-box;
white-space: pre-wrap;
text-align: left;
word-wrap: break-word;
max-width: 300px;
}
.link-tooltip .tooltip-inner {
max-width: 500px;
2018-05-31 07:27:38 +00:00
}
.auto-tooltip .tooltip-inner {
max-width: none;
}