2016-12-01 11:40:28 +02:00
|
|
|
/**
|
2018-03-05 17:34:13 +02:00
|
|
|
* Copyright © 2016-2018 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.
|
|
|
|
|
*/
|
|
|
|
|
@import "~compass-sass-mixins/lib/compass";
|
|
|
|
|
|
|
|
|
|
.tb-side-menu .md-button.tb-active {
|
|
|
|
|
font-weight: 500;
|
2018-09-06 21:11:44 +02:00
|
|
|
background-color: rgba(255, 255, 255, .15);
|
2016-12-01 11:40:28 +02:00
|
|
|
}
|
|
|
|
|
|
2018-09-06 21:11:44 +02:00
|
|
|
.tb-side-menu,
|
|
|
|
|
.tb-side-menu ul {
|
2016-12-01 11:40:28 +02:00
|
|
|
padding: 0;
|
|
|
|
|
margin-top: 0;
|
2018-09-06 21:11:44 +02:00
|
|
|
list-style: none;
|
2016-12-01 11:40:28 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.tb-side-menu .tb-menu-toggle-list a.md-button {
|
|
|
|
|
padding: 0 16px 0 32px;
|
2018-09-06 21:11:44 +02:00
|
|
|
font-weight: 500;
|
2016-12-01 11:40:28 +02:00
|
|
|
text-transform: none;
|
|
|
|
|
text-rendering: optimizeLegibility;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.tb-side-menu .tb-menu-toggle-list .md-button {
|
|
|
|
|
padding: 0 16px 0 32px;
|
|
|
|
|
text-transform: none;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.tb-side-menu .tb-menu-toggle-list .tb-menu-toggle-list a.md-button {
|
|
|
|
|
padding: 0 16px 0 48px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.tb-side-menu > li {
|
2018-09-06 21:11:44 +02:00
|
|
|
border-bottom: 1px solid rgba(0, 0, 0, .12);
|
2016-12-01 11:40:28 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.tb-side-menu .md-button-toggle .md-toggle-icon {
|
|
|
|
|
display: inline-block;
|
|
|
|
|
width: 15px;
|
2018-09-06 21:11:44 +02:00
|
|
|
margin: auto 0 auto auto;
|
|
|
|
|
background-size: 100% auto;
|
|
|
|
|
|
2016-12-01 11:40:28 +02:00
|
|
|
@include transition(transform .3s, ease-in-out);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.tb-side-menu .md-button {
|
2017-10-26 18:19:44 +03:00
|
|
|
display: flex;
|
2018-09-06 21:11:44 +02:00
|
|
|
width: 100%;
|
2016-12-01 11:40:28 +02:00
|
|
|
max-height: 40px;
|
2018-09-06 21:11:44 +02:00
|
|
|
padding: 0 16px;
|
|
|
|
|
margin: 0;
|
2016-12-01 11:40:28 +02:00
|
|
|
overflow: hidden;
|
2018-09-06 21:11:44 +02:00
|
|
|
line-height: 40px;
|
|
|
|
|
color: inherit;
|
2016-12-01 11:40:28 +02:00
|
|
|
text-align: left;
|
|
|
|
|
text-decoration: none;
|
2017-10-26 18:19:44 +03:00
|
|
|
text-overflow: ellipsis;
|
2018-09-06 21:11:44 +02:00
|
|
|
white-space: nowrap;
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
border-radius: 0;
|
|
|
|
|
|
2017-10-26 18:19:44 +03:00
|
|
|
span {
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
text-overflow: ellipsis;
|
2018-09-06 21:11:44 +02:00
|
|
|
white-space: nowrap;
|
2017-10-26 18:19:44 +03:00
|
|
|
}
|
2016-12-01 11:40:28 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.tb-side-menu tb-menu-link span.md-toggle-icon {
|
|
|
|
|
padding-top: 12px;
|
|
|
|
|
padding-bottom: 12px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.tb-side-menu ng-md-icon {
|
|
|
|
|
margin-right: 8px;
|
2018-09-06 21:11:44 +02:00
|
|
|
margin-left: 0;
|
2016-12-01 11:40:28 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.tb-side-menu md-icon {
|
|
|
|
|
margin-right: 8px;
|
2018-09-06 21:11:44 +02:00
|
|
|
margin-left: 0;
|
2016-12-01 11:40:28 +02:00
|
|
|
}
|