2019-08-08 19:39:06 +03:00
|
|
|
/**
|
2020-02-20 10:26:43 +02:00
|
|
|
* Copyright © 2016-2020 The Thingsboard Authors
|
2019-08-08 19:39:06 +03:00
|
|
|
*
|
|
|
|
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
|
|
|
* you may not use this file except in compliance with the License.
|
|
|
|
|
* You may obtain a copy of the License at
|
|
|
|
|
*
|
|
|
|
|
* http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
|
*
|
|
|
|
|
* Unless required by applicable law or agreed to in writing, software
|
|
|
|
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
|
|
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
|
|
|
* See the License for the specific language governing permissions and
|
|
|
|
|
* limitations under the License.
|
|
|
|
|
*/
|
|
|
|
|
/* You can add global styles to this file, and also import other style files */
|
|
|
|
|
|
|
|
|
|
@import '~material-design-icons/iconfont/material-icons.css';
|
|
|
|
|
@import '~typeface-roboto/index.css';
|
|
|
|
|
@import '~font-awesome/css/font-awesome.min.css';
|
|
|
|
|
@import 'theme.scss';
|
|
|
|
|
@import './scss/constants';
|
|
|
|
|
@import './scss/animations';
|
2019-10-17 18:23:53 +03:00
|
|
|
@import './scss/mixins';
|
2020-02-13 12:52:44 +02:00
|
|
|
@import './scss/fonts';
|
2019-08-08 19:39:06 +03:00
|
|
|
|
|
|
|
|
body, html {
|
|
|
|
|
height: 100%;
|
|
|
|
|
min-height: 100%;
|
|
|
|
|
position: relative;
|
|
|
|
|
-webkit-tap-highlight-color: rgba(0,0,0,0);
|
|
|
|
|
-webkit-touch-callout: none;
|
|
|
|
|
|
|
|
|
|
-webkit-text-size-adjust: 100%;
|
|
|
|
|
-ms-text-size-adjust: 100%;
|
|
|
|
|
|
|
|
|
|
-webkit-font-smoothing: antialiased;
|
|
|
|
|
-moz-osx-font-smoothing: grayscale;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
body {
|
|
|
|
|
margin: 0;
|
|
|
|
|
padding: 0;
|
|
|
|
|
background-color: rgb(250,250,250);
|
2020-02-26 19:43:16 +02:00
|
|
|
overflow: hidden;
|
2019-08-08 19:39:06 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
tb-root {
|
|
|
|
|
margin: 0;
|
|
|
|
|
width: 100%;
|
|
|
|
|
min-height: 100%;
|
|
|
|
|
height: 100%;
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: row;
|
|
|
|
|
box-sizing: border-box;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/***************
|
|
|
|
|
* TYPE DEFAULTS
|
|
|
|
|
***************/
|
|
|
|
|
|
|
|
|
|
body,
|
|
|
|
|
button,
|
|
|
|
|
html,
|
|
|
|
|
input,
|
|
|
|
|
select,
|
|
|
|
|
textarea,
|
|
|
|
|
td,
|
|
|
|
|
th {
|
|
|
|
|
font-family: Roboto, "Helvetica Neue", sans-serif;
|
|
|
|
|
font-size: 16px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
body {
|
|
|
|
|
line-height: normal;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
a {
|
|
|
|
|
font-weight: 400;
|
|
|
|
|
color: #106cc8;
|
|
|
|
|
text-decoration: none;
|
|
|
|
|
border-bottom: 1px solid rgba(64, 84, 178, .25);
|
|
|
|
|
|
|
|
|
|
transition: border-bottom .35s;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
a:hover,
|
|
|
|
|
a:focus {
|
|
|
|
|
border-bottom: 1px solid #4054b2;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
h1,
|
|
|
|
|
h2,
|
|
|
|
|
h3,
|
|
|
|
|
h4,
|
|
|
|
|
h5,
|
|
|
|
|
h6 {
|
|
|
|
|
margin-top: 1rem;
|
|
|
|
|
margin-bottom: 1rem;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
h1 {
|
|
|
|
|
font-size: 3.4rem;
|
|
|
|
|
font-weight: 400;
|
|
|
|
|
line-height: 4rem;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
h2 {
|
|
|
|
|
font-size: 2.4rem;
|
|
|
|
|
font-weight: 400;
|
|
|
|
|
line-height: 3.2rem;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
h3 {
|
|
|
|
|
font-size: 2rem;
|
|
|
|
|
font-weight: 500;
|
|
|
|
|
letter-spacing: .005em;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
h4 {
|
|
|
|
|
font-size: 1.6rem;
|
|
|
|
|
font-weight: 400;
|
|
|
|
|
line-height: 2.4rem;
|
|
|
|
|
letter-spacing: .01em;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
p {
|
|
|
|
|
margin: .8em 0 1.6em;
|
|
|
|
|
font-size: 1.6rem;
|
|
|
|
|
font-weight: 400;
|
|
|
|
|
line-height: 1.6em;
|
|
|
|
|
letter-spacing: .01em;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
strong {
|
|
|
|
|
font-weight: 500;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
blockquote {
|
|
|
|
|
padding-left: 16px;
|
|
|
|
|
margin-left: 0;
|
|
|
|
|
font-style: italic;
|
|
|
|
|
border-left: 3px solid rgba(0, 0, 0, .12);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
fieldset {
|
|
|
|
|
padding: 0;
|
|
|
|
|
margin: 0;
|
|
|
|
|
border: none;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
section.tb-header-buttons {
|
|
|
|
|
position: absolute;
|
|
|
|
|
top: 86px;
|
|
|
|
|
right: 0;
|
|
|
|
|
z-index: 3;
|
|
|
|
|
pointer-events: none;
|
|
|
|
|
|
|
|
|
|
@media #{$mat-gt-sm} {
|
|
|
|
|
top: 86px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.tb-btn-header {
|
|
|
|
|
margin: 6px 8px;
|
|
|
|
|
position: relative !important;
|
|
|
|
|
display: inline-block !important;
|
|
|
|
|
animation: tbMoveFromTopFade .3s ease both;
|
|
|
|
|
|
|
|
|
|
&.tb-hide {
|
|
|
|
|
animation: tbMoveToTopFade .3s ease both;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2019-09-19 20:10:52 +03:00
|
|
|
section.tb-footer-buttons {
|
|
|
|
|
position: fixed;
|
|
|
|
|
right: 20px;
|
|
|
|
|
bottom: 20px;
|
|
|
|
|
z-index: 30;
|
|
|
|
|
pointer-events: none;
|
|
|
|
|
|
|
|
|
|
.tb-btn-footer {
|
|
|
|
|
margin: 6px 8px;
|
|
|
|
|
position: relative !important;
|
|
|
|
|
display: inline-block !important;
|
|
|
|
|
animation: tbMoveFromBottomFade .3s ease both;
|
|
|
|
|
&.tb-hide {
|
|
|
|
|
animation: tbMoveToBottomFade .3s ease both;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
2019-08-08 19:39:06 +03:00
|
|
|
.tb-details-buttons {
|
|
|
|
|
button {
|
|
|
|
|
margin: 6px 8px;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
label {
|
|
|
|
|
&.tb-title {
|
|
|
|
|
padding-bottom: 15px;
|
|
|
|
|
font-size: 13px;
|
|
|
|
|
font-weight: 400;
|
|
|
|
|
color: #666;
|
|
|
|
|
pointer-events: none;
|
|
|
|
|
|
|
|
|
|
&.no-padding {
|
|
|
|
|
padding-bottom: 0;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
&.tb-required::after {
|
|
|
|
|
font-size: 13px;
|
|
|
|
|
color: rgba(0, 0, 0, .54);
|
|
|
|
|
vertical-align: top;
|
|
|
|
|
content: " *";
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
&.tb-error {
|
|
|
|
|
color: rgb(221, 44, 0);
|
|
|
|
|
|
|
|
|
|
&.tb-required::after {
|
|
|
|
|
color: rgb(221, 44, 0);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
&.tb-small {
|
|
|
|
|
font-size: 12px;
|
|
|
|
|
color: rgba(0, 0, 0, .54);
|
|
|
|
|
pointer-events: none;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2019-09-12 19:58:42 +03:00
|
|
|
.tb-noselect {
|
|
|
|
|
user-select: none;
|
|
|
|
|
}
|
|
|
|
|
|
2020-04-01 09:25:57 +03:00
|
|
|
.tb-readonly-label {
|
|
|
|
|
color: rgba(0, 0, 0, .54);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.tb-disabled-label {
|
|
|
|
|
color: rgba(0, 0, 0, .44);
|
|
|
|
|
}
|
|
|
|
|
|
2019-08-13 19:58:35 +03:00
|
|
|
div {
|
|
|
|
|
&.tb-small {
|
|
|
|
|
font-size: 14px;
|
|
|
|
|
color: rgba(0, 0, 0, .54);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2019-08-19 20:09:41 +03:00
|
|
|
.tb-hint {
|
|
|
|
|
padding-bottom: 15px;
|
|
|
|
|
font-size: 12px;
|
|
|
|
|
line-height: 14px;
|
|
|
|
|
color: #808080;
|
|
|
|
|
}
|
|
|
|
|
|
2019-10-10 13:00:29 +03:00
|
|
|
.mat-caption {
|
|
|
|
|
&.tb-required::after {
|
|
|
|
|
font-size: 10px;
|
|
|
|
|
color: rgba(0, 0, 0, .54);
|
|
|
|
|
vertical-align: top;
|
|
|
|
|
content: " *";
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2019-08-08 19:39:06 +03:00
|
|
|
pre.tb-highlight {
|
|
|
|
|
display: block;
|
|
|
|
|
padding: 15px;
|
|
|
|
|
margin: 20px 0;
|
|
|
|
|
overflow-x: auto;
|
|
|
|
|
background-color: #f7f7f7;
|
|
|
|
|
|
|
|
|
|
code {
|
|
|
|
|
box-sizing: border-box;
|
|
|
|
|
display: inline-block;
|
|
|
|
|
padding: 0;
|
|
|
|
|
font-family: monospace;
|
|
|
|
|
font-size: 16px;
|
|
|
|
|
font-weight: 700;
|
|
|
|
|
color: #303030;
|
|
|
|
|
vertical-align: bottom;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2019-08-21 13:36:39 +03:00
|
|
|
.tb-notice {
|
|
|
|
|
padding: 15px;
|
|
|
|
|
font-size: 16px;
|
|
|
|
|
background-color: #f7f7f7;
|
|
|
|
|
border: 1px solid #ccc;
|
|
|
|
|
}
|
|
|
|
|
|
2019-08-08 19:39:06 +03:00
|
|
|
.ace_editor {
|
|
|
|
|
font-size: 16px !important;
|
|
|
|
|
}
|
|
|
|
|
|
2019-10-24 19:52:19 +03:00
|
|
|
.tb-timewindow-panel, .tb-legend-config-panel {
|
2019-08-08 19:39:06 +03:00
|
|
|
overflow: hidden;
|
|
|
|
|
background: #fff;
|
|
|
|
|
border-radius: 4px;
|
|
|
|
|
box-shadow:
|
|
|
|
|
0 7px 8px -4px rgba(0, 0, 0, .2),
|
|
|
|
|
0 13px 19px 2px rgba(0, 0, 0, .14),
|
|
|
|
|
0 5px 24px 4px rgba(0, 0, 0, .12);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.tb-panel-actions {
|
|
|
|
|
margin-bottom: 0;
|
|
|
|
|
padding: 8px 8px 8px 16px;
|
|
|
|
|
.mat-button+.mat-button,
|
|
|
|
|
.mat-button+.mat-raised-button,
|
|
|
|
|
.mat-raised-button+.mat-button,
|
|
|
|
|
.mat-raised-button+.mat-raised-button {
|
|
|
|
|
margin-left: 8px;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.tb-container {
|
|
|
|
|
position: relative;
|
|
|
|
|
padding: 10px 0;
|
|
|
|
|
margin-top: 32px;
|
|
|
|
|
}
|
|
|
|
|
|
2019-10-10 13:00:29 +03:00
|
|
|
.tb-prompt {
|
|
|
|
|
display: flex;
|
|
|
|
|
font-size: 18px;
|
|
|
|
|
font-weight: 400;
|
|
|
|
|
line-height: 18px;
|
|
|
|
|
color: rgba(0, 0, 0, .38);
|
|
|
|
|
text-transform: uppercase;
|
|
|
|
|
}
|
|
|
|
|
|
2019-08-08 19:39:06 +03:00
|
|
|
.tb-fullscreen {
|
|
|
|
|
position: fixed !important;
|
|
|
|
|
top: 0;
|
|
|
|
|
left: 0;
|
|
|
|
|
width: 100% !important;
|
|
|
|
|
height: 100% !important;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.tb-fullscreen-parent {
|
2019-09-19 20:10:52 +03:00
|
|
|
background: #eee;
|
2019-10-25 17:50:12 +03:00
|
|
|
z-index: 0;
|
2019-08-08 19:39:06 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
mat-label {
|
|
|
|
|
&.tb-title {
|
|
|
|
|
font-size: 13px;
|
|
|
|
|
font-weight: 400;
|
|
|
|
|
color: #666;
|
|
|
|
|
pointer-events: none;
|
|
|
|
|
|
|
|
|
|
&.no-padding {
|
|
|
|
|
padding-bottom: 0;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
&.tb-required::after {
|
|
|
|
|
font-size: 13px;
|
|
|
|
|
color: rgba(0, 0, 0, .54);
|
|
|
|
|
vertical-align: top;
|
|
|
|
|
content: " *";
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
&.tb-error {
|
|
|
|
|
color: rgb(221, 44, 0);
|
|
|
|
|
|
|
|
|
|
&.tb-required::after {
|
|
|
|
|
color: rgb(221, 44, 0);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.tb-error-messages {
|
|
|
|
|
height: 24px; //30px
|
|
|
|
|
margin-top: -6px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.tb-error-message {
|
|
|
|
|
transition: all .3s cubic-bezier(.55, 0, .55, .2);
|
|
|
|
|
padding: 10px 0 0 10px;
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
font-size: 12px;
|
|
|
|
|
line-height: 14px;
|
|
|
|
|
color: rgb(221, 44, 0);
|
|
|
|
|
}
|
2019-08-21 13:36:39 +03:00
|
|
|
|
|
|
|
|
.tb-autocomplete {
|
|
|
|
|
.mat-option {
|
|
|
|
|
display: block;
|
|
|
|
|
line-height: 24px;
|
|
|
|
|
height: auto !important;
|
|
|
|
|
padding-top: 8px;
|
|
|
|
|
border-bottom: 1px solid #eee;
|
|
|
|
|
font-size: 14px;
|
|
|
|
|
.mat-option-text {
|
|
|
|
|
line-height: 24px;
|
|
|
|
|
height: auto !important;
|
|
|
|
|
white-space: normal !important;
|
|
|
|
|
}
|
|
|
|
|
}
|
2019-10-11 19:22:03 +03:00
|
|
|
.mat-option.tb-not-found {
|
|
|
|
|
padding: 0;
|
|
|
|
|
border-bottom: none;
|
|
|
|
|
.mat-option-text {
|
|
|
|
|
display: block;
|
|
|
|
|
.tb-not-found-content {
|
|
|
|
|
padding: 8px 16px 7px;
|
|
|
|
|
border-bottom: 1px solid #eee;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
2019-08-21 13:36:39 +03:00
|
|
|
}
|
2019-10-17 18:23:53 +03:00
|
|
|
|
|
|
|
|
.tb-default, .tb-dark {
|
|
|
|
|
|
|
|
|
|
/*********************************
|
|
|
|
|
* MATERIAL DESIGN CUSTOMIZATIONS
|
|
|
|
|
********************************/
|
|
|
|
|
|
|
|
|
|
.mat-tooltip {
|
|
|
|
|
white-space: pre-line;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
button {
|
|
|
|
|
pointer-events: all;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
button:not(.mat-menu-item):not(.mat-sort-header-button) {
|
|
|
|
|
text-transform: uppercase;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
button.mat-menu-item {
|
|
|
|
|
font-size: 15px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
button.mat-fab.mat-fab-bottom-right {
|
|
|
|
|
top: auto;
|
|
|
|
|
right: 20px;
|
|
|
|
|
bottom: 20px;
|
|
|
|
|
left: auto;
|
|
|
|
|
position: absolute;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.layout-padding, .layout-padding > * {
|
2020-04-01 09:47:26 +03:00
|
|
|
@media #{$mat-lt-sm} {
|
2019-10-17 18:23:53 +03:00
|
|
|
padding: 4px;
|
|
|
|
|
}
|
2020-04-01 09:47:26 +03:00
|
|
|
@media #{$mat-gt-xs} {
|
2019-10-17 18:23:53 +03:00
|
|
|
padding: 8px;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.mat-padding {
|
|
|
|
|
padding: 8px;
|
|
|
|
|
@media #{$mat-gt-sm} {
|
|
|
|
|
padding: 16px;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.mat-content {
|
|
|
|
|
position: relative;
|
|
|
|
|
overflow: auto;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.layout-wrap {
|
|
|
|
|
flex-wrap: wrap;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
mat-form-field.mat-block {
|
|
|
|
|
display: block;
|
|
|
|
|
}
|
|
|
|
|
|
2020-04-01 09:47:26 +03:00
|
|
|
.mat-form-field{
|
|
|
|
|
.mat-icon{
|
|
|
|
|
margin-right: 4px;
|
|
|
|
|
margin-left: 4px;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2019-10-17 18:23:53 +03:00
|
|
|
button.mat-menu-item {
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
fill: #737373;
|
|
|
|
|
display: block;
|
|
|
|
|
.tb-alt-text {
|
|
|
|
|
float: right;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2020-01-24 19:05:41 +02:00
|
|
|
// Material table
|
|
|
|
|
|
|
|
|
|
mat-toolbar.mat-primary {
|
|
|
|
|
button.mat-icon-button {
|
|
|
|
|
mat-icon {
|
|
|
|
|
color: white;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2019-10-17 18:23:53 +03:00
|
|
|
mat-toolbar.mat-table-toolbar {
|
|
|
|
|
background: #fff;
|
|
|
|
|
padding: 0 24px;
|
|
|
|
|
.mat-toolbar-tools {
|
|
|
|
|
padding: 0;
|
|
|
|
|
& > button.mat-icon-button:last-child {
|
|
|
|
|
margin-right: -12px;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2020-01-24 19:05:41 +02:00
|
|
|
mat-toolbar.mat-table-toolbar:not(.mat-primary), .mat-cell {
|
2019-10-17 18:23:53 +03:00
|
|
|
button.mat-icon-button {
|
|
|
|
|
mat-icon {
|
|
|
|
|
color: rgba(0, 0, 0, .54);
|
|
|
|
|
}
|
2020-01-29 17:20:28 +02:00
|
|
|
&[disabled][disabled] {
|
|
|
|
|
mat-icon {
|
|
|
|
|
color: rgba(0, 0, 0, .26);
|
|
|
|
|
}
|
|
|
|
|
}
|
2019-10-17 18:23:53 +03:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2020-01-24 19:05:41 +02:00
|
|
|
.mat-table {
|
|
|
|
|
width: 100%;
|
|
|
|
|
max-width: 100%;
|
|
|
|
|
margin-bottom: 1rem;
|
|
|
|
|
display: table;
|
2020-02-04 19:50:18 +02:00
|
|
|
table-layout: auto;
|
2020-01-24 19:05:41 +02:00
|
|
|
border-collapse: separate;
|
|
|
|
|
margin: 0px;
|
2019-10-17 18:23:53 +03:00
|
|
|
}
|
|
|
|
|
|
2020-02-04 19:50:18 +02:00
|
|
|
mat-footer-row::after, mat-header-row::after, mat-row::after {
|
|
|
|
|
content: none;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
mat-header-row {
|
|
|
|
|
height: 60px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
mat-footer-row, mat-row {
|
|
|
|
|
height: 52px;
|
|
|
|
|
}
|
|
|
|
|
|
2020-02-05 17:52:18 +02:00
|
|
|
mat-header-row, mat-footer-row, mat-row {
|
|
|
|
|
min-height: auto;
|
|
|
|
|
}
|
|
|
|
|
|
2020-01-24 19:05:41 +02:00
|
|
|
.mat-row,
|
|
|
|
|
.mat-header-row {
|
|
|
|
|
display: table-row;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
.mat-header-row.mat-table-sticky {
|
2020-02-05 17:52:18 +02:00
|
|
|
background-clip: padding-box;
|
2020-01-24 19:05:41 +02:00
|
|
|
.mat-header-cell {
|
|
|
|
|
position: sticky;
|
|
|
|
|
top: 0;
|
|
|
|
|
z-index: 10;
|
|
|
|
|
background: inherit;
|
2020-02-05 17:52:18 +02:00
|
|
|
background-clip: padding-box;
|
2020-01-24 19:05:41 +02:00
|
|
|
&.mat-table-sticky {
|
|
|
|
|
z-index: 11 !important;
|
2019-10-17 18:23:53 +03:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2020-02-05 17:52:18 +02:00
|
|
|
.mat-cell.mat-table-sticky {
|
|
|
|
|
background-clip: padding-box;
|
|
|
|
|
}
|
|
|
|
|
|
2019-10-17 18:23:53 +03:00
|
|
|
.mat-row {
|
|
|
|
|
transition: background-color .2s;
|
|
|
|
|
&:hover:not(.tb-current-entity) {
|
2020-01-24 19:05:41 +02:00
|
|
|
background-color: #f4f4f4;
|
2019-10-17 18:23:53 +03:00
|
|
|
}
|
|
|
|
|
&.tb-current-entity {
|
2020-01-24 19:05:41 +02:00
|
|
|
background-color: #e9e9e9;
|
2019-10-17 18:23:53 +03:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.mat-row:not(.mat-row-select), .mat-header-row:not(.mat-row-select) {
|
|
|
|
|
mat-cell:first-child, mat-footer-cell:first-child, mat-header-cell:first-child {
|
|
|
|
|
padding: 0 12px;
|
|
|
|
|
}
|
|
|
|
|
mat-cell:nth-child(n+2):nth-last-child(n+2), mat-footer-cell:nth-child(n+2):nth-last-child(n+2), mat-header-cell:nth-child(n+2):nth-last-child(n+2) {
|
|
|
|
|
padding: 0 28px 0 0;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.mat-row.mat-row-select, .mat-header-row.mat-row-select {
|
|
|
|
|
mat-cell:first-child, mat-footer-cell:first-child, mat-header-cell:first-child {
|
|
|
|
|
width: 30px;
|
|
|
|
|
padding: 0 0 0 12px;
|
|
|
|
|
}
|
|
|
|
|
mat-cell:nth-child(2), mat-footer-cell:nth-child(2), mat-header-cell:nth-child(2) {
|
|
|
|
|
padding: 0 12px;
|
|
|
|
|
}
|
|
|
|
|
mat-cell:nth-child(n+3):nth-last-child(n+2), mat-footer-cell:nth-child(n+3):nth-last-child(n+2), mat-header-cell:nth-child(n+3):nth-last-child(n+2) {
|
|
|
|
|
padding: 0 28px 0 0;
|
|
|
|
|
}
|
|
|
|
|
&.mat-selected:not(.tb-current-entity) {
|
|
|
|
|
background-color: #ededed;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2020-01-24 19:05:41 +02:00
|
|
|
.mat-cell,
|
2019-10-17 18:23:53 +03:00
|
|
|
.mat-header-cell {
|
|
|
|
|
min-width: 40px;
|
2020-01-24 19:05:41 +02:00
|
|
|
word-wrap: initial;
|
|
|
|
|
display: table-cell;
|
2020-02-10 19:06:15 +02:00
|
|
|
box-sizing: content-box;
|
2020-01-24 19:05:41 +02:00
|
|
|
line-break: unset;
|
|
|
|
|
width: 0px;
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
vertical-align: middle;
|
|
|
|
|
border-width: 0;
|
|
|
|
|
border-bottom-width: 1px;
|
|
|
|
|
border-bottom-color: rgba(0, 0, 0, 0.12);
|
|
|
|
|
border-style: solid;
|
|
|
|
|
text-overflow: ellipsis;
|
2019-10-17 18:23:53 +03:00
|
|
|
&:last-child {
|
|
|
|
|
padding: 0 12px 0 0;
|
|
|
|
|
}
|
|
|
|
|
&.mat-column-select {
|
|
|
|
|
min-width: 30px;
|
|
|
|
|
max-width: 30px;
|
|
|
|
|
width: 30px;
|
|
|
|
|
padding: 0 0 0 12px;
|
|
|
|
|
}
|
|
|
|
|
&.mat-column-actions {
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
|
white-space: nowrap;
|
|
|
|
|
}
|
2020-01-24 19:05:41 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.mat-header-cell {
|
|
|
|
|
white-space: nowrap;
|
|
|
|
|
button.mat-sort-header-button {
|
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
white-space: nowrap;
|
|
|
|
|
}
|
|
|
|
|
&.mat-number-cell {
|
|
|
|
|
.mat-sort-header-container {
|
|
|
|
|
justify-content: flex-end;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.mat-cell {
|
|
|
|
|
&.mat-number-cell {
|
|
|
|
|
text-align: end;
|
|
|
|
|
}
|
|
|
|
|
mat-icon {
|
|
|
|
|
color: rgba(0, 0, 0, .54);
|
2020-01-22 20:05:30 +02:00
|
|
|
}
|
2019-10-17 18:23:53 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.mat-cell, .mat-footer-cell {
|
|
|
|
|
font-size: 13px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.mat-cell, .mat-footer-cell, .mat-header-cell {
|
|
|
|
|
// fix for ie11 'align-items: center'
|
|
|
|
|
height: 20px;
|
|
|
|
|
}
|
|
|
|
|
|
2020-01-24 19:05:41 +02:00
|
|
|
.mat-sort-header-sorted .mat-sort-header-arrow {
|
|
|
|
|
opacity: 1 !important;
|
|
|
|
|
}
|
|
|
|
|
|
2019-10-17 18:23:53 +03:00
|
|
|
.mat-toolbar-tools {
|
|
|
|
|
font-size: 20px;
|
|
|
|
|
letter-spacing: .005em;
|
|
|
|
|
box-sizing: border-box;
|
|
|
|
|
font-weight: 400;
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
flex-direction: row;
|
|
|
|
|
width: 100%;
|
|
|
|
|
height: 64px;
|
|
|
|
|
max-height: 64px;
|
|
|
|
|
padding: 0 16px;
|
|
|
|
|
margin: 0;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.mat-icon {
|
2020-04-01 11:23:07 +03:00
|
|
|
vertical-align: middle;
|
2020-02-10 19:06:15 +02:00
|
|
|
box-sizing: content-box;
|
2019-10-17 18:23:53 +03:00
|
|
|
&.tb-mat-16 {
|
|
|
|
|
@include tb-mat-icon-size(16);
|
|
|
|
|
}
|
|
|
|
|
&.tb-mat-20 {
|
|
|
|
|
@include tb-mat-icon-size(20);
|
|
|
|
|
}
|
|
|
|
|
&.tb-mat-32 {
|
|
|
|
|
@include tb-mat-icon-size(32);
|
|
|
|
|
}
|
|
|
|
|
&.tb-mat-96 {
|
|
|
|
|
@include tb-mat-icon-size(96);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.mat-icon-button {
|
|
|
|
|
&.tb-mat-32 {
|
|
|
|
|
@include tb-mat-icon-button-size(32);
|
|
|
|
|
}
|
|
|
|
|
&.tb-mat-96 {
|
|
|
|
|
@include tb-mat-icon-button-size(96);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.mat-snack-bar-container {
|
|
|
|
|
position: absolute;
|
|
|
|
|
background: none;
|
|
|
|
|
box-shadow: none;
|
|
|
|
|
margin: 0;
|
|
|
|
|
padding: 0;
|
|
|
|
|
border: none;
|
|
|
|
|
border-radius: inherit;
|
|
|
|
|
max-width: inherit;
|
|
|
|
|
min-width: inherit;
|
|
|
|
|
pointer-events: none;
|
|
|
|
|
display: flex;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.mat-snack-bar-handset {
|
|
|
|
|
.mat-snack-bar-container {
|
|
|
|
|
position: relative !important;
|
|
|
|
|
width: 100% !important;
|
|
|
|
|
top: 0 !important;
|
|
|
|
|
left: 0 !important;
|
|
|
|
|
height: inherit !important;
|
|
|
|
|
tb-snack-bar-component {
|
|
|
|
|
width: 100%;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.mat-drawer-side {
|
|
|
|
|
border: none;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.mat-drawer-inner-container {
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
mat-drawer.tb-details-drawer {
|
|
|
|
|
z-index: 59 !important;
|
|
|
|
|
width: 100% !important;
|
|
|
|
|
max-width: 100% !important;
|
|
|
|
|
@media #{$mat-gt-sm} {
|
|
|
|
|
width: 80% !important;
|
|
|
|
|
}
|
|
|
|
|
@media #{$mat-gt-md} {
|
|
|
|
|
width: 65% !important;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.mat-card-subtitle, .mat-card-content {
|
|
|
|
|
font-size: 16px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.mat-toolbar > button:first-child {
|
|
|
|
|
margin-left: -8px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.mat-toolbar > button:last-child {
|
|
|
|
|
margin-right: -8px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.mat-toolbar {
|
|
|
|
|
line-height: normal;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
mat-toolbar *, mat-toolbar :after, mat-toolbar :before {
|
|
|
|
|
box-sizing: border-box;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.mat-button, .mat-flat-button, .mat-stroked-button, .mat-raised-button {
|
|
|
|
|
&:not(.mat-icon-button) {
|
|
|
|
|
@media #{$mat-lt-md} {
|
|
|
|
|
padding: 0 6px;
|
|
|
|
|
min-width: 88px;
|
|
|
|
|
}
|
|
|
|
|
mat-icon {
|
|
|
|
|
margin-right: 5px;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.tb-dialog {
|
|
|
|
|
.mat-dialog-container {
|
|
|
|
|
padding: 0;
|
|
|
|
|
> *:first-child, form {
|
|
|
|
|
max-width: 100%;
|
|
|
|
|
min-width: 100%;
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
overflow: auto;
|
|
|
|
|
}
|
|
|
|
|
.mat-dialog-content {
|
|
|
|
|
margin: 0;
|
|
|
|
|
padding: 24px;
|
|
|
|
|
}
|
|
|
|
|
.mat-dialog-actions {
|
|
|
|
|
margin-bottom: 0;
|
|
|
|
|
padding: 8px 8px 8px 16px;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.tb-fullscreen-dialog-gt-sm {
|
|
|
|
|
@media #{$mat-gt-sm} {
|
|
|
|
|
min-height: 100%;
|
|
|
|
|
min-width: 100%;
|
|
|
|
|
max-width: none !important;
|
|
|
|
|
position: absolute !important;
|
|
|
|
|
top: 0;
|
|
|
|
|
bottom: 0;
|
|
|
|
|
left: 0;
|
|
|
|
|
right: 0;
|
|
|
|
|
.mat-dialog-container {
|
|
|
|
|
> *:first-child, form {
|
|
|
|
|
min-width: 100% !important;
|
|
|
|
|
}
|
|
|
|
|
.mat-dialog-content {
|
|
|
|
|
max-height: 100%;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.tb-fullscreen-dialog {
|
|
|
|
|
@media #{$mat-lt-md} {
|
|
|
|
|
min-height: 100%;
|
|
|
|
|
min-width: 100%;
|
|
|
|
|
max-width: none !important;
|
|
|
|
|
position: absolute !important;
|
|
|
|
|
top: 0;
|
|
|
|
|
bottom: 0;
|
|
|
|
|
left: 0;
|
|
|
|
|
right: 0;
|
|
|
|
|
.mat-dialog-container {
|
|
|
|
|
> *:first-child, form {
|
|
|
|
|
min-width: 100% !important;
|
|
|
|
|
}
|
|
|
|
|
.mat-dialog-content {
|
|
|
|
|
max-height: 100%;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.tb-absolute-fill {
|
|
|
|
|
position: absolute;
|
|
|
|
|
top: 0;
|
|
|
|
|
bottom: 0;
|
|
|
|
|
left: 0;
|
|
|
|
|
right: 0;
|
|
|
|
|
}
|
|
|
|
|
|
2019-10-24 19:52:19 +03:00
|
|
|
.tb-layout-fill {
|
|
|
|
|
margin: 0;
|
|
|
|
|
width: 100%;
|
|
|
|
|
min-height: 100%;
|
|
|
|
|
height: 100%;
|
|
|
|
|
}
|
|
|
|
|
|
2019-10-17 18:23:53 +03:00
|
|
|
.tb-progress-cover {
|
|
|
|
|
position: absolute;
|
|
|
|
|
top: 0;
|
|
|
|
|
right: 0;
|
|
|
|
|
bottom: 0;
|
|
|
|
|
left: 0;
|
|
|
|
|
z-index: 6;
|
|
|
|
|
background-color: #eee;
|
|
|
|
|
opacity: 1;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.mat-button.tb-fullscreen-button-style,
|
|
|
|
|
.tb-fullscreen-button-style {
|
|
|
|
|
background: #ccc;
|
|
|
|
|
opacity: .85;
|
|
|
|
|
|
|
|
|
|
mat-icon {
|
|
|
|
|
color: #666;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
span.no-data-found {
|
|
|
|
|
position: relative;
|
|
|
|
|
display: flex;
|
2020-01-30 13:03:53 +02:00
|
|
|
height: calc(100% - 60px);
|
2019-10-17 18:23:53 +03:00
|
|
|
text-transform: uppercase;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
mat-tab-group.tb-headless {
|
|
|
|
|
margin-top: -50px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.mat-tab-label {
|
|
|
|
|
text-transform: uppercase;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.tb-primary-background {
|
|
|
|
|
background-color: $primary;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.mat-chip-list.dragging {
|
|
|
|
|
.mat-chip {
|
|
|
|
|
&.mat-standard-chip {
|
|
|
|
|
&::after {
|
|
|
|
|
transition: none;
|
|
|
|
|
}
|
|
|
|
|
&.dropping {
|
|
|
|
|
//border: dashed 2px;
|
|
|
|
|
//opacity: .5;
|
|
|
|
|
|
|
|
|
|
//.md-chip-content {
|
|
|
|
|
// margin: -2px;
|
|
|
|
|
//}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
&.dropping-before {
|
|
|
|
|
&::after {
|
|
|
|
|
position: absolute;
|
|
|
|
|
top: 0;
|
|
|
|
|
right: 50%;
|
|
|
|
|
bottom: 0;
|
|
|
|
|
left: 0;
|
|
|
|
|
content: "";
|
|
|
|
|
background-color: #fff;
|
|
|
|
|
border: dashed 2px;
|
|
|
|
|
border-radius: 16px;
|
|
|
|
|
opacity: .7;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
&.dropping-after {
|
|
|
|
|
&::after {
|
|
|
|
|
position: absolute;
|
|
|
|
|
top: 0;
|
|
|
|
|
right: 0;
|
|
|
|
|
bottom: 0;
|
|
|
|
|
left: 50%;
|
|
|
|
|
content: "";
|
|
|
|
|
background-color: #fff;
|
|
|
|
|
border: dashed 2px;
|
|
|
|
|
border-radius: 16px;
|
|
|
|
|
opacity: .7;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
2019-10-21 19:57:18 +03:00
|
|
|
|
|
|
|
|
.tb-color-preview {
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
box-sizing: border-box;
|
|
|
|
|
position: relative;
|
|
|
|
|
width: 24px;
|
|
|
|
|
min-width: 24px;
|
|
|
|
|
height: 24px;
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
content: "";
|
|
|
|
|
border: 2px solid #fff;
|
|
|
|
|
border-radius: 50%;
|
|
|
|
|
box-shadow: 0 3px 1px -2px rgba(0, 0, 0, .14), 0 2px 2px 0 rgba(0, 0, 0, .098), 0 1px 5px 0 rgba(0, 0, 0, .084);
|
|
|
|
|
|
|
|
|
|
@include tb-checkered-bg();
|
|
|
|
|
|
|
|
|
|
.tb-color-result {
|
|
|
|
|
width: 100%;
|
|
|
|
|
height: 100%;
|
|
|
|
|
}
|
|
|
|
|
}
|
2020-02-26 18:15:04 +02:00
|
|
|
|
|
|
|
|
.tb-tooltip-multiline {
|
|
|
|
|
max-width: 400px;
|
|
|
|
|
height: auto !important;
|
|
|
|
|
padding-top: 6px;
|
|
|
|
|
padding-bottom: 6px;
|
|
|
|
|
line-height: 1.5;
|
|
|
|
|
white-space: pre-line;
|
|
|
|
|
}
|
2019-10-17 18:23:53 +03:00
|
|
|
}
|