dashboard.scss
2.64 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
/**
* Copyright © 2016-2017 The Thingsboard Authors
*
* 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.
*/
@import "~compass-sass-mixins/lib/compass";
@import '../../scss/constants';
section.tb-dashboard-title {
position: absolute;
top: 0;
left: 20px;
}
input.tb-dashboard-title {
font-size: 2.000rem;
font-weight: 500;
letter-spacing: 0.005em;
height: 38px;
}
div.tb-padded {
top: 60px;
}
section.tb-padded {
top: 60px;
}
div.tb-shrinked {
width: 40%;
}
tb-details-sidenav.tb-widget-details-sidenav {
md-sidenav.tb-sidenav-details {
@media (min-width: $layout-breakpoint-gt-sm) {
width: 85% !important;
}
@media (min-width: $layout-breakpoint-gt-md) {
width: 75% !important;
}
@media (min-width: $layout-breakpoint-lg) {
width: 60% !important;
}
}
}
/***********************
* dashboard toolbar
***********************/
section.tb-dashboard-toolbar {
position: absolute;
top: 0px;
left: 0px;
z-index: 3;
pointer-events: none;
&.tb-dashboard-toolbar-opened {
right: 0px;
// @include transition(right .3s cubic-bezier(.55,0,.55,.2));
}
&.tb-dashboard-toolbar-closed {
right: 18px;
@include transition(right .3s cubic-bezier(.55,0,.55,.2) .2s);
}
}
.tb-dashboard-container {
&.tb-dashboard-toolbar-opened {
&.is-fullscreen {
margin-top: 64px;
}
&:not(.is-fullscreen) {
margin-top: 50px;
@include transition(margin-top .3s cubic-bezier(.55,0,.55,.2));
}
}
&.tb-dashboard-toolbar-closed {
margin-top: 0px;
@include transition(margin-top .3s cubic-bezier(.55,0,.55,.2) .2s);
}
.tb-dashboard-layouts {
md-backdrop {
z-index: 1;
}
#tb-main-layout {
}
#tb-right-layout {
md-sidenav {
z-index: 1;
}
}
}
}
/*****************************
* dashboard powered by footer
****************************/
section.tb-powered-by-footer {
position: absolute;
right: 25px;
bottom: 5px;
z-index: 3;
pointer-events: none;
span {
font-size: 12px;
a {
font-weight: bold;
text-decoration: none;
border: none;
pointer-events: all;
}
}
}