web-apps/apps/presentationeditor/main/resources/less/app.less

258 lines
8.4 KiB
Plaintext
Raw Normal View History

2016-03-11 00:48:53 +00:00
//
// Common
// --------------------------------------------------
// App variables
@import "variables.less";
@import "../../../../common/main/resources/less/asc-mixins.less";
// Bootstrap overwrite
@import "../../../../common/main/resources/less/variables.less";
@import "../../../../common/main/resources/less/colors-table.less";
2021-04-18 14:32:39 +00:00
@import "../../../../common/main/resources/less/colors-table-classic.less";
2020-12-21 10:32:36 +00:00
@import "../../../../common/main/resources/less/colors-table-dark.less";
2016-03-11 00:48:53 +00:00
//
// Bootstrap
// --------------------------------------------------
// Core variables and mixins
//@import "../../../../vendor/bootstrap/less/variables.less";
@import "../../../../../vendor/bootstrap/less/mixins.less";
// Reset
@import "../../../../../vendor/bootstrap/less/normalize.less";
//@import "print.less";
// Core CSS
@import "../../../../../vendor/bootstrap/less/scaffolding.less";
@import "../../../../../vendor/bootstrap/less/type.less";
//@import "code.less";
//@import "grid.less";
//@import "tables.less";
@import "../../../../../vendor/bootstrap/less/forms.less";
@import "../../../../../vendor/bootstrap/less/buttons.less";
// Components
@import "../../../../../vendor/bootstrap/less/component-animations.less";
//@import "glyphicons.less";
@import "../../../../../vendor/bootstrap/less/dropdowns.less";
@import "../../../../../vendor/bootstrap/less/button-groups.less";
@import "../../../../../vendor/bootstrap/less/input-groups.less";
//@import "navs.less";
//@import "navbar.less";
//@import "breadcrumbs.less";
//@import "pagination.less";
//@import "pager.less";
//@import "labels.less";
//@import "badges.less";
//@import "jumbotron.less";
//@import "thumbnails.less";
//@import "alerts.less";
//@import "progress-bars.less";
//@import "media.less";
//@import "list-group.less";
//@import "panels.less";
//@import "wells.less";
//@import "close.less";
// Components w/ JavaScript
//@import "modals.less";
@import "../../../../../vendor/bootstrap/less/tooltip.less";
//@import "popovers.less";
//@import "carousel.less";
// Utility classes
@import "../../../../../vendor/bootstrap/less/utilities.less";
@import "../../../../../vendor/bootstrap/less/responsive-utilities.less";
//
// Perfect scrollbar
// --------------------------------------------------
@import (inline) "../../../../../vendor/perfect-scrollbar/src/perfect-scrollbar.css";
//
// Common
// --------------------------------------------------
@import "../../../../common/main/resources/less/header.less";
@import "../../../../common/main/resources/less/buttons.less";
@import "../../../../common/main/resources/less/dropdown-menu.less";
@import "../../../../common/main/resources/less/dropdown-submenu.less";
@import "../../../../common/main/resources/less/separator.less";
@import "../../../../common/main/resources/less/input.less";
@import "../../../../common/main/resources/less/combobox.less";
@import "../../../../common/main/resources/less/window.less";
@import "../../../../common/main/resources/less/spinner.less";
@import "../../../../common/main/resources/less/loadmask.less";
@import "../../../../common/main/resources/less/checkbox.less";
@import "../../../../common/main/resources/less/radiobox.less";
@import "../../../../common/main/resources/less/dataview.less";
@import "../../../../common/main/resources/less/listview.less";
2020-03-06 13:14:08 +00:00
@import "../../../../common/main/resources/less/treeview.less";
2016-03-11 00:48:53 +00:00
@import "../../../../common/main/resources/less/colorpalette.less";
@import "../../../../common/main/resources/less/theme-colorpalette.less";
@import "../../../../common/main/resources/less/dimension-picker.less";
@import "../../../../common/main/resources/less/hsb-colorpicker.less";
@import "../../../../common/main/resources/less/table-styler.less";
@import "../../../../common/main/resources/less/masked-field.less";
@import "../../../../common/main/resources/less/extended-color-picker.less";
@import "../../../../common/main/resources/less/layout.less";
@import "../../../../common/main/resources/less/combo-border-size.less";
@import "../../../../common/main/resources/less/combo-dataview.less";
@import "../../../../common/main/resources/less/slider.less";
@import "../../../../common/main/resources/less/multislider-gradient.less";
@import "../../../../common/main/resources/less/advanced-settings-window.less";
@import "../../../../common/main/resources/less/chat.less";
@import "../../../../common/main/resources/less/comments.less";
@import "../../../../common/main/resources/less/searchdialog.less";
@import "../../../../common/main/resources/less/about.less";
@import "../../../../common/main/resources/less/tooltip.less";
@import "../../../../common/main/resources/less/scroller.less";
@import "../../../../common/main/resources/less/synchronize-tip.less";
@import "../../../../common/main/resources/less/common.less";
2016-09-29 13:06:22 +00:00
@import "../../../../common/main/resources/less/opendialog.less";
2016-07-26 11:45:41 +00:00
@import "../../../../common/main/resources/less/plugins.less";
2017-04-20 13:34:39 +00:00
@import "../../../../common/main/resources/less/toolbar.less";
@import "../../../../common/main/resources/less/language-dialog.less";
2019-04-29 15:03:21 +00:00
@import "../../../../common/main/resources/less/winxp_fix.less";
2019-11-14 08:48:58 +00:00
@import "../../../../common/main/resources/less/symboltable.less";
2021-03-24 07:39:09 +00:00
@import "../../../../common/main/resources/less/history.less";
@import "../../../../common/main/resources/less/hint-manager.less";
2016-03-11 00:48:53 +00:00
// App
// --------------------------------------------------
@import "layout.less";
@import "toolbar.less";
@import "statusbar.less";
@import "leftmenu.less";
@import "rightmenu.less";
@import "advanced-settings.less";
@import "document-preview.less";
2021-07-28 23:50:34 +00:00
@import "transitions";
2016-03-11 00:48:53 +00:00
@import "sprites/iconssmall@1x";
@import "sprites/iconsbig@1x";
2019-11-27 17:17:07 +00:00
@import "sprites/iconssmall@2x";
@import "sprites/iconsbig@2x";
@import "sprites/iconssmall@1.5x";
@import "sprites/iconsbig@1.5x";
@import "sprites/iconssmall@1.25x";
@import "sprites/iconsbig@1.25x";
@import "sprites/iconssmall@1.75x";
@import "sprites/iconsbig@1.75x";
2016-03-11 00:48:53 +00:00
.font-size-small {
.fontsize(@font-size-small);
}
.font-size-normal {
.fontsize(@font-size-base);
}
.font-size-large {
.fontsize(@font-size-large);
}
.slidenum-div {
2021-04-09 11:53:12 +00:00
background-color: @background-normal-ie;
background-color: @background-normal;
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;
border: 1px solid rgba(0, 0, 0, 0.15);
.box-shadow(0 6px 12px rgba(0, 0, 0, 0.175));
border-radius: @border-radius-base;
}
.btn-tpl(@top-position) {
2017-04-20 12:18:22 +00:00
.icon {
2016-03-11 00:48:53 +00:00
background-position: 0 @top-position;
&:active {
background-position: -20px @top-position;
}
}
2017-04-20 12:18:22 +00:00
&[disabled] .icon {
2016-03-11 00:48:53 +00:00
background-position: -40px @top-position;
}
&.active {
2017-04-20 12:18:22 +00:00
.icon {
2016-03-11 00:48:53 +00:00
background-position: -20px @top-position;
}
}
2019-07-22 08:17:53 +00:00
}
2020-12-21 10:32:36 +00:00
#slide-texture-img-box {
background: @background-normal;
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;
2020-12-21 10:32:36 +00:00
border-radius: 2px;
float: right;
padding: 14px 20px;
}
2019-07-22 08:17:53 +00:00
// Skeleton of document
.doc-placeholder {
display: flex;
flex-direction: column;
height: 100%;
2019-07-22 08:17:53 +00:00
padding: 0 100px;
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
2021-05-19 12:08:04 +00:00
background: @canvas-background;
2019-07-22 08:17:53 +00:00
.slide-h {
display: flex;
flex-direction: column;
justify-content: center;
flex-grow: 1;
max-width: 1350px;
width: 100%;
margin: 0 auto;
2019-07-22 08:17:53 +00:00
}
.slide-v {
display: flex;
position: relative;
flex-direction: column;
padding-bottom: 56.1333%;
}
.slide-container {
position: absolute;
height: 100%;
width: 100%;
background: #fbfbfb;
border: 1px solid #dfdfdf;
> .line {
height: 20%;
margin: 0 120px;
2019-07-22 08:17:53 +00:00
border-radius: 6px;
background: #f5f5f5;
-webkit-animation: flickerAnimation 2s infinite ease-in-out;
-moz-animation: flickerAnimation 2s infinite ease-in-out;
-o-animation: flickerAnimation 2s infinite ease-in-out;
animation: flickerAnimation 2s infinite ease-in-out;
&:nth-child(1) {
height: 30%;
2019-10-17 07:46:35 +00:00
margin: 10% 80px 0;
}
&.empty {
background: transparent;
2019-07-22 08:17:53 +00:00
}
}
}
2016-03-11 00:48:53 +00:00
}