2016-12-01 11:40:28 +02:00
|
|
|
/**
|
2017-01-09 23:11:09 +02:00
|
|
|
* Copyright © 2016-2017 The Thingsboard Authors
|
2016-12-01 11:40:28 +02: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.
|
|
|
|
|
*/
|
2017-03-01 20:02:01 +02:00
|
|
|
|
|
|
|
|
@import "~compass-sass-mixins/lib/compass";
|
2016-12-01 11:40:28 +02:00
|
|
|
@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;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
2017-03-01 20:02:01 +02:00
|
|
|
|
|
|
|
|
/***********************
|
|
|
|
|
* dashboard toolbar
|
|
|
|
|
***********************/
|
|
|
|
|
|
|
|
|
|
section.tb-dashboard-toolbar {
|
|
|
|
|
position: absolute;
|
|
|
|
|
top: 0px;
|
2017-05-24 10:39:33 +03:00
|
|
|
left: 0px;
|
2017-03-01 20:02:01 +02:00
|
|
|
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);
|
|
|
|
|
}
|
|
|
|
|
md-fab-toolbar {
|
|
|
|
|
&.md-is-open {
|
|
|
|
|
md-fab-trigger {
|
|
|
|
|
.md-button {
|
|
|
|
|
&.md-fab {
|
|
|
|
|
opacity: 1;
|
|
|
|
|
@include transition(opacity .3s cubic-bezier(.55,0,.55,.2));
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
md-fab-trigger {
|
|
|
|
|
.md-button {
|
|
|
|
|
&.md-fab {
|
|
|
|
|
line-height: 36px;
|
|
|
|
|
width: 36px;
|
|
|
|
|
height: 36px;
|
|
|
|
|
margin: 4px 0 0 4px;
|
|
|
|
|
opacity: 0.5;
|
|
|
|
|
@include transition(opacity .3s cubic-bezier(.55,0,.55,.2) .2s);
|
|
|
|
|
md-icon {
|
2017-03-03 18:09:14 +02:00
|
|
|
position: absolute;
|
|
|
|
|
top: 25%;
|
2017-03-01 20:02:01 +02:00
|
|
|
margin: 0;
|
|
|
|
|
line-height: 18px;
|
|
|
|
|
height: 18px;
|
|
|
|
|
width: 18px;
|
|
|
|
|
min-height: 18px;
|
|
|
|
|
min-width: 18px;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
.md-fab-toolbar-wrapper {
|
2017-03-07 17:34:46 +02:00
|
|
|
height: 50px;
|
2017-03-01 20:02:01 +02:00
|
|
|
md-toolbar {
|
2017-03-07 17:34:46 +02:00
|
|
|
min-height: 46px;
|
|
|
|
|
height: 46px;
|
2017-03-01 20:02:01 +02:00
|
|
|
md-fab-actions {
|
2017-03-07 12:26:42 +02:00
|
|
|
font-size: 16px;
|
2017-03-03 18:09:14 +02:00
|
|
|
margin-top: 0px;
|
2017-03-01 20:02:01 +02:00
|
|
|
.close-action {
|
|
|
|
|
margin-right: -18px;
|
|
|
|
|
}
|
2017-05-24 10:39:33 +03:00
|
|
|
.md-fab-action-item {
|
|
|
|
|
width: 100%;
|
|
|
|
|
height: 46px;
|
|
|
|
|
.tb-dashboard-action-panels {
|
|
|
|
|
height: 46px;
|
|
|
|
|
flex-direction: row-reverse;
|
|
|
|
|
.tb-dashboard-action-panel {
|
|
|
|
|
height: 46px;
|
|
|
|
|
flex-direction: row-reverse;
|
|
|
|
|
div {
|
|
|
|
|
height: 46px;
|
|
|
|
|
}
|
|
|
|
|
md-select {
|
|
|
|
|
pointer-events: all;
|
|
|
|
|
}
|
|
|
|
|
tb-states-component {
|
|
|
|
|
pointer-events: all;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
2017-03-01 20:02:01 +02:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.tb-dashboard-container {
|
|
|
|
|
&.tb-dashboard-toolbar-opened {
|
2017-03-07 17:34:46 +02:00
|
|
|
margin-top: 50px;
|
2017-03-01 20:02:01 +02:00
|
|
|
@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);
|
|
|
|
|
}
|
2017-05-24 10:39:33 +03:00
|
|
|
.tb-dashboard-layouts {
|
|
|
|
|
md-backdrop {
|
|
|
|
|
z-index: 1;
|
|
|
|
|
}
|
|
|
|
|
#tb-main-layout {
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
#tb-right-layout {
|
|
|
|
|
md-sidenav {
|
|
|
|
|
z-index: 1;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
2017-03-01 20:02:01 +02:00
|
|
|
}
|
2017-03-07 18:18:09 +02:00
|
|
|
|
|
|
|
|
/*****************************
|
|
|
|
|
* 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;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|