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";
|
2020-11-16 17:26:04 +00:00
|
|
|
@import "../../../../common/main/resources/less/colors-table.less";
|
2021-04-17 13:10:35 +00:00
|
|
|
@import "../../../../common/main/resources/less/colors-table-classic.less";
|
2020-12-17 09:32:52 +00:00
|
|
|
@import "../../../../common/main/resources/less/colors-table-dark.less";
|
2022-07-13 10:02:39 +00:00
|
|
|
@import "../../../../common/main/resources/less/colors-table-dark-contrast.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";
|
2017-12-19 13:30:58 +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";
|
|
|
|
@import "../../../../common/main/resources/less/switcher.less";
|
|
|
|
@import "../../../../common/main/resources/less/history.less";
|
|
|
|
@import "../../../../common/main/resources/less/opendialog.less";
|
|
|
|
@import "../../../../common/main/resources/less/review-changes.less";
|
2016-05-17 15:38:54 +00:00
|
|
|
@import "../../../../common/main/resources/less/plugins.less";
|
2017-04-20 08:45:33 +00:00
|
|
|
@import "../../../../common/main/resources/less/toolbar.less";
|
2017-04-26 08:34:55 +00:00
|
|
|
@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-10-21 14:04:16 +00:00
|
|
|
@import "../../../../common/main/resources/less/calendar.less";
|
2019-11-11 13:45:44 +00:00
|
|
|
@import "../../../../common/main/resources/less/symboltable.less";
|
2021-04-21 17:52:17 +00:00
|
|
|
@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";
|
2017-03-21 14:16:27 +00:00
|
|
|
@import "filemenu.less";
|
2016-03-11 00:48:53 +00:00
|
|
|
@import "rightmenu.less";
|
|
|
|
@import "advanced-settings.less";
|
2017-12-19 13:30:58 +00:00
|
|
|
@import "navigation.less";
|
2021-08-24 11:34:10 +00:00
|
|
|
@import "thumbnails.less";
|
2016-03-11 00:48:53 +00:00
|
|
|
|
2019-11-21 07:58:05 +00:00
|
|
|
@import "sprites/iconssmall@1x";
|
|
|
|
@import "sprites/iconsbig@1x";
|
2021-01-26 20:52:43 +00:00
|
|
|
@import "sprites/iconshuge@1x";
|
2019-11-27 17:17:07 +00:00
|
|
|
@import "sprites/iconssmall@2x";
|
|
|
|
@import "sprites/iconsbig@2x";
|
2021-05-21 08:19:26 +00:00
|
|
|
@import "sprites/iconssmall@1.25x";
|
|
|
|
@import "sprites/iconsbig@1.25x";
|
|
|
|
@import "sprites/iconshuge@1.25x";
|
2020-11-20 19:57:20 +00:00
|
|
|
@import "sprites/iconssmall@1.5x";
|
|
|
|
@import "sprites/iconsbig@1.5x";
|
2021-01-26 20:52:43 +00:00
|
|
|
@import "sprites/iconshuge@1.5x";
|
2021-05-21 08:19:26 +00:00
|
|
|
@import "sprites/iconssmall@1.75x";
|
|
|
|
@import "sprites/iconsbig@1.75x";
|
|
|
|
@import "sprites/iconshuge@1.75x";
|
2021-05-10 19:38:13 +00:00
|
|
|
@import "sprites/iconshuge@2x";
|
2021-01-26 20:52:43 +00:00
|
|
|
|
|
|
|
:root {
|
2021-05-10 19:38:13 +00:00
|
|
|
//--big-icon-background-image: ~"url(@{app-image-const-path}/iconsbig.png)";
|
|
|
|
//--huge-icon-background-image: ~"url(@{app-image-const-path}/iconshuge.png)";
|
2021-01-26 20:52:43 +00:00
|
|
|
|
|
|
|
--big-icon-background-image-width: 56px;
|
|
|
|
--huge-icon-background-image-width: 80px;
|
|
|
|
|
2021-05-10 19:38:13 +00:00
|
|
|
//@safari-fix-base-path: "resources/img";
|
2021-05-08 20:21:07 +00:00
|
|
|
.safari {
|
2021-05-10 19:38:13 +00:00
|
|
|
//--big-icon-background-image: ~"url(@{safari-fix-base-path}/iconsbig.png)";
|
|
|
|
//--huge-icon-background-image: ~"url(@{safari-fix-base-path}/iconshuge.png)";
|
2021-05-07 22:05:22 +00:00
|
|
|
}
|
|
|
|
|
2021-01-26 20:52:43 +00:00
|
|
|
.pixel-ratio__1_5 {
|
2021-05-10 19:38:13 +00:00
|
|
|
//--big-icon-background-image: ~"url(@{app-image-const-path}/iconsbig@1.5x.png)";
|
|
|
|
//--huge-icon-background-image: ~"url(@{app-image-const-path}/iconshuge@1.5x.png)";
|
2021-05-08 20:21:07 +00:00
|
|
|
|
|
|
|
&.safari {
|
2021-05-10 19:38:13 +00:00
|
|
|
//--big-icon-background-image: ~"url(@{safari-fix-base-path}/iconsbig@1.5x.png)";
|
|
|
|
//--huge-icon-background-image: ~"url(@{safari-fix-base-path}/iconshuge@1.5x.png)";
|
2021-05-08 20:21:07 +00:00
|
|
|
}
|
2021-01-26 20:52:43 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.pixel-ratio__2 {
|
2021-05-10 19:38:13 +00:00
|
|
|
//--big-icon-background-image: ~"url(@{app-image-const-path}/iconsbig@2x.png)";
|
|
|
|
//--huge-icon-background-image: ~"url(@{app-image-const-path}/iconshuge@2x.png)";
|
2021-05-08 20:21:07 +00:00
|
|
|
|
|
|
|
&.safari {
|
2021-05-10 19:38:13 +00:00
|
|
|
//--big-icon-background-image: ~"url(@{safari-fix-base-path}/iconsbig@2x.png)";
|
|
|
|
//--huge-icon-background-image: ~"url(@{safari-fix-base-path}/iconshuge@2x.png)";
|
2021-05-08 20:21:07 +00:00
|
|
|
}
|
2021-01-26 20:52:43 +00:00
|
|
|
}
|
2021-02-17 10:46:21 +00:00
|
|
|
|
|
|
|
@huge-icon-background-image: var(--huge-icon-background-image);
|
2021-01-26 20:52:43 +00:00
|
|
|
}
|
2019-11-21 07:58:05 +00:00
|
|
|
|
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);
|
|
|
|
}
|
|
|
|
|
2019-07-22 08:17:53 +00:00
|
|
|
// Skeleton of document
|
|
|
|
|
2021-05-08 21:34:53 +00:00
|
|
|
#editor-container {
|
|
|
|
background-color: @canvas-background;
|
|
|
|
}
|
|
|
|
|
2019-07-19 13:05:44 +00:00
|
|
|
.doc-placeholder {
|
2021-05-08 21:34:53 +00:00
|
|
|
background: @canvas-content-background;
|
2019-11-22 14:58:21 +00:00
|
|
|
width: 794px;
|
2019-11-22 14:41:04 +00:00
|
|
|
margin: 46px auto;
|
2019-07-19 13:05:44 +00:00
|
|
|
height: 100%;
|
2021-05-08 21:34:53 +00:00
|
|
|
border: 1px solid @canvas-page-border;
|
2019-07-19 13:05:44 +00:00
|
|
|
padding-top: 50px;
|
2019-10-30 08:29:17 +00:00
|
|
|
position: absolute;
|
|
|
|
left: 0;
|
|
|
|
top: 0;
|
|
|
|
right: 0;
|
|
|
|
bottom: 0;
|
|
|
|
z-index: 1;
|
2019-07-19 13:05:44 +00:00
|
|
|
|
|
|
|
> .line {
|
|
|
|
height: 15px;
|
|
|
|
margin: 30px 80px;
|
2021-05-08 21:34:53 +00:00
|
|
|
background: fade(#000, 5%);
|
2019-07-19 13:05:44 +00:00
|
|
|
overflow: hidden;
|
|
|
|
position: relative;
|
|
|
|
}
|
2021-11-04 19:44:24 +00:00
|
|
|
|
|
|
|
.content-theme-dark & {
|
|
|
|
@canvas-content-dark-background: #3a3a3a;
|
|
|
|
@canvas-content-dark-page-border: #2a2a2a;
|
|
|
|
background-color: @canvas-content-dark-background;
|
|
|
|
border-color: @canvas-content-dark-page-border;
|
|
|
|
|
|
|
|
> .line {
|
|
|
|
background-color: fade(#fff, 5%);
|
|
|
|
}
|
|
|
|
}
|
2019-07-19 13:05:44 +00:00
|
|
|
}
|