2023-09-13 14:28:59 +03:00
|
|
|
/**
|
|
|
|
|
* Copyright © 2016-2023 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 "../../../../../scss/constants";
|
|
|
|
|
|
|
|
|
|
:host {
|
|
|
|
|
height: 100%;
|
|
|
|
|
max-height: 100vh;
|
|
|
|
|
display: grid;
|
|
|
|
|
grid-template-rows: min-content minmax(auto, 1fr) min-content;
|
|
|
|
|
|
|
|
|
|
.tb-loader {
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
align-items: center;
|
|
|
|
|
justify-content: center;
|
|
|
|
|
gap: 16px;
|
|
|
|
|
height: 300px;
|
|
|
|
|
max-height: 100%;
|
|
|
|
|
|
|
|
|
|
.label {
|
|
|
|
|
margin-bottom: 0;
|
|
|
|
|
text-align: center;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.tb-font-14 {
|
|
|
|
|
font-size: 14px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.tb-flex-1 {
|
|
|
|
|
flex: 1;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@media #{$mat-sm} {
|
2023-09-13 16:09:25 +03:00
|
|
|
width: 705px;
|
2023-09-13 14:28:59 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@media #{$mat-gt-sm} {
|
2023-09-13 16:09:25 +03:00
|
|
|
width: 1080px;
|
2023-09-13 14:28:59 +03:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
:host-context(.mat-mdc-dialog-container) {
|
|
|
|
|
.tb-dialog-actions {
|
|
|
|
|
display: flex;
|
|
|
|
|
gap: 8px;
|
|
|
|
|
padding: 8px 16px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.mat-mdc-dialog-content {
|
|
|
|
|
max-height: 80vh;
|
|
|
|
|
padding: 16px;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
:host ::ng-deep {
|
|
|
|
|
.tb-markdown-view {
|
2023-09-14 08:12:30 +03:00
|
|
|
padding-top: 16px;
|
2023-09-13 14:28:59 +03:00
|
|
|
.tb-command-code {
|
|
|
|
|
.code-wrapper {
|
|
|
|
|
padding: 0;
|
|
|
|
|
pre[class*=language-] {
|
|
|
|
|
margin: 0;
|
|
|
|
|
background: #F3F6FA;
|
|
|
|
|
border-color: #305680;
|
|
|
|
|
padding-right: 38px;
|
|
|
|
|
overflow: scroll;
|
|
|
|
|
padding-bottom: 4px;
|
|
|
|
|
|
|
|
|
|
&::-webkit-scrollbar {
|
|
|
|
|
width: 4px;
|
|
|
|
|
height: 4px;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
button.clipboard-btn {
|
|
|
|
|
right: -2px;
|
|
|
|
|
p {
|
|
|
|
|
color: #305680;
|
|
|
|
|
}
|
|
|
|
|
p, div {
|
|
|
|
|
background-color: #F3F6FA;
|
|
|
|
|
}
|
|
|
|
|
div {
|
|
|
|
|
img {
|
|
|
|
|
display: none;
|
|
|
|
|
}
|
|
|
|
|
&:after {
|
|
|
|
|
content: "";
|
|
|
|
|
position: initial;
|
|
|
|
|
display: block;
|
|
|
|
|
width: 18px;
|
|
|
|
|
height: 18px;
|
|
|
|
|
background: #305680;
|
|
|
|
|
mask-image: url(/assets/copy-code-icon.svg);
|
|
|
|
|
mask-repeat: no-repeat;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
2023-09-13 16:09:25 +03:00
|
|
|
> p, h1, h2, h3, h4, h5, div {
|
|
|
|
|
padding-left: 16px !important;
|
|
|
|
|
padding-right: 16px !important;
|
|
|
|
|
}
|
2023-09-13 14:28:59 +03:00
|
|
|
}
|
|
|
|
|
.mdc-button__label > span {
|
|
|
|
|
.mat-icon {
|
|
|
|
|
vertical-align: text-bottom;
|
|
|
|
|
box-sizing: initial;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.tabs-icon {
|
|
|
|
|
margin-right: 8px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.tb-form-panel.tb-tab-body {
|
|
|
|
|
padding: 16px 0 0;
|
|
|
|
|
}
|
|
|
|
|
}
|