2014-05-14 13:24:20 +00:00
|
|
|
//
|
|
|
|
|
// Common layout elements
|
|
|
|
|
// --------------------------------------------------
|
|
|
|
|
|
2017-06-02 07:39:26 +00:00
|
|
|
html:not(.mobile) body.drag * {
|
2019-01-22 05:35:27 +00:00
|
|
|
cursor: grab !important;
|
2014-05-14 13:24:20 +00:00
|
|
|
cursor: -webkit-grab !important;
|
|
|
|
|
cursor: -moz-grab !important;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// Used by sortable plugin
|
|
|
|
|
body.dragging, body.dragging * {
|
|
|
|
|
cursor: move !important;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
body.loading, body.loading * {
|
|
|
|
|
cursor: wait !important;
|
|
|
|
|
}
|
|
|
|
|
|
2015-03-15 19:52:03 +00:00
|
|
|
body.no-select {
|
|
|
|
|
.user-select(none);
|
2017-06-02 07:39:26 +00:00
|
|
|
cursor: default !important;
|
2015-03-15 19:52:03 +00:00
|
|
|
}
|
|
|
|
|
|
2014-05-14 13:24:20 +00:00
|
|
|
//
|
|
|
|
|
// Layout canvas
|
|
|
|
|
//
|
|
|
|
|
|
|
|
|
|
html,
|
|
|
|
|
body {
|
|
|
|
|
height: 100%;
|
|
|
|
|
/* The html and body elements cannot have any padding or margin. */
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
body {
|
2015-07-29 09:13:42 +00:00
|
|
|
font-family: @font-family-base;
|
2015-06-03 09:22:18 +00:00
|
|
|
background: @body-bg;
|
2016-05-25 19:20:26 +00:00
|
|
|
-webkit-font-smoothing: antialiased;
|
|
|
|
|
-moz-osx-font-smoothing: grayscale;
|
2014-05-14 13:24:20 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#layout-canvas {
|
|
|
|
|
min-height: 100%;
|
|
|
|
|
height: 100%;
|
|
|
|
|
}
|
|
|
|
|
|
2016-04-10 18:59:59 +00:00
|
|
|
//
|
|
|
|
|
// Font
|
|
|
|
|
//
|
|
|
|
|
|
2016-05-18 21:02:09 +00:00
|
|
|
// Removed for performance reasons
|
|
|
|
|
//
|
|
|
|
|
// @import url(https://fonts.googleapis.com/css?family=Noto+Sans:400,400italic,700,700italic);
|
2019-02-28 19:08:43 +00:00
|
|
|
//
|
2016-05-18 21:02:09 +00:00
|
|
|
// body {
|
|
|
|
|
// font-family: 'Noto Sans', sans-serif;
|
|
|
|
|
// }
|
2016-04-10 18:59:59 +00:00
|
|
|
|
2015-07-10 22:43:43 +00:00
|
|
|
//
|
|
|
|
|
// Tabs override for Layout
|
|
|
|
|
// Primary tabs should use inset by default, unless otherwise specified
|
|
|
|
|
// --------------------------------------------------
|
|
|
|
|
|
|
|
|
|
.control-tabs.primary-tabs {
|
|
|
|
|
> ul.nav-tabs, > div > ul.nav-tabs, > div > div > ul.nav-tabs {
|
2016-02-23 05:52:23 +00:00
|
|
|
margin-left: -(@padding-standard);
|
|
|
|
|
margin-right: -(@padding-standard);
|
2015-07-10 22:43:43 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
&.tabs-no-inset {
|
|
|
|
|
> ul.nav-tabs, > div > ul.nav-tabs, > div > div > ul.nav-tabs {
|
|
|
|
|
margin-left: 0;
|
|
|
|
|
margin-right: 0;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2014-05-14 13:24:20 +00:00
|
|
|
//
|
|
|
|
|
// Flexible layout system
|
|
|
|
|
// --------------------------------------------------
|
|
|
|
|
|
|
|
|
|
.layout {
|
|
|
|
|
.layout-cell() {
|
|
|
|
|
display: table-cell;
|
|
|
|
|
vertical-align: top;
|
|
|
|
|
height: 100%;
|
|
|
|
|
|
2014-11-11 20:33:58 +00:00
|
|
|
&.layout-container, .layout-container, &.padded-container, .padded-container {
|
2016-02-23 05:52:23 +00:00
|
|
|
padding: @padding-standard @padding-standard 0 @padding-standard;
|
2015-03-18 08:28:14 +00:00
|
|
|
|
|
|
|
|
// Container to sit flush to the element above
|
|
|
|
|
.container-flush {
|
|
|
|
|
padding-top: 0;
|
|
|
|
|
}
|
2014-11-11 20:33:58 +00:00
|
|
|
}
|
2014-05-14 13:24:20 +00:00
|
|
|
|
|
|
|
|
.layout-relative {
|
|
|
|
|
position: relative;
|
|
|
|
|
height: 100%;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.layout-absolute {
|
|
|
|
|
position: absolute;
|
|
|
|
|
height: 100%;
|
|
|
|
|
width: 100%;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
&.min-size {
|
|
|
|
|
width: 0;
|
|
|
|
|
}
|
|
|
|
|
|
2014-07-19 02:05:50 +00:00
|
|
|
&.min-height {
|
|
|
|
|
height: 0;
|
|
|
|
|
}
|
|
|
|
|
|
2014-05-14 13:24:20 +00:00
|
|
|
&.center {
|
|
|
|
|
text-align: center;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
&.middle {
|
|
|
|
|
vertical-align: middle;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
display: table;
|
|
|
|
|
table-layout: fixed;
|
|
|
|
|
height: 100%;
|
2018-10-10 20:24:05 +00:00
|
|
|
width: 100%;
|
2014-05-14 13:24:20 +00:00
|
|
|
|
|
|
|
|
> .layout-row {
|
|
|
|
|
display: table-row;
|
|
|
|
|
vertical-align: top;
|
|
|
|
|
height: 100%;
|
|
|
|
|
|
|
|
|
|
> .layout-cell {
|
|
|
|
|
.layout-cell();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
&.min-size {
|
2019-03-28 17:33:18 +00:00
|
|
|
height: 0.1px;
|
2014-05-14 13:24:20 +00:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
> .layout-cell {
|
|
|
|
|
.layout-cell();
|
|
|
|
|
}
|
|
|
|
|
}
|
2015-03-15 19:52:03 +00:00
|
|
|
|
|
|
|
|
.whiteboard {
|
|
|
|
|
background: white;
|
|
|
|
|
}
|
2015-08-26 10:24:37 +00:00
|
|
|
|
2015-11-15 04:28:34 +00:00
|
|
|
.layout-fill-container {
|
|
|
|
|
position: absolute;
|
|
|
|
|
left: 0;
|
|
|
|
|
top: 0;
|
|
|
|
|
width: 100%;
|
|
|
|
|
height: 100%;
|
|
|
|
|
}
|
|
|
|
|
|
2015-08-26 10:24:37 +00:00
|
|
|
//
|
|
|
|
|
// Calculated fixed width
|
|
|
|
|
//
|
|
|
|
|
|
2017-01-26 00:26:53 +00:00
|
|
|
[data-calculate-width] {
|
2015-08-26 10:24:37 +00:00
|
|
|
> form, > div {
|
|
|
|
|
display: inline-block;
|
|
|
|
|
}
|
|
|
|
|
}
|
2014-05-14 13:24:20 +00:00
|
|
|
|
|
|
|
|
//
|
|
|
|
|
// Layout styles
|
|
|
|
|
//
|
|
|
|
|
|
|
|
|
|
body.compact-container {
|
|
|
|
|
.layout {
|
|
|
|
|
&.layout-container, .layout-container { padding: 0 !important; }
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
body.slim-container {
|
|
|
|
|
.layout {
|
|
|
|
|
&.layout-container, .layout-container { padding-left: 0 !important; padding-right: 0 !important; }
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
//
|
|
|
|
|
// Screen specific
|
|
|
|
|
//
|
|
|
|
|
|
|
|
|
|
@media (max-width: @screen-sm) {
|
|
|
|
|
.layout {
|
|
|
|
|
.hide-on-small {
|
|
|
|
|
display: none;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
//
|
|
|
|
|
// Layout with a responsive sidebar
|
|
|
|
|
//
|
|
|
|
|
|
|
|
|
|
&.responsive-sidebar {
|
|
|
|
|
> .layout-cell:first-child {
|
|
|
|
|
display: table-footer-group;
|
|
|
|
|
height: auto;
|
|
|
|
|
|
|
|
|
|
.control-breadcrumb {
|
|
|
|
|
display: none;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
> .layout-cell:last-child {
|
|
|
|
|
display: table-header-group;
|
|
|
|
|
width: auto;
|
|
|
|
|
height: auto;
|
|
|
|
|
|
|
|
|
|
.layout-absolute {
|
|
|
|
|
position: static;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
2017-01-26 00:26:53 +00:00
|
|
|
}
|