2024-05-02 21:37:11 +03:00
|
|
|
/**
|
|
|
|
|
* Copyright © 2016-2024 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 {
|
2024-05-28 13:11:29 +03:00
|
|
|
width: 100%;
|
2024-05-02 21:37:11 +03:00
|
|
|
height: 100%;
|
|
|
|
|
display: flex;
|
2024-05-28 13:11:29 +03:00
|
|
|
justify-content: center;
|
2024-05-02 21:37:11 +03:00
|
|
|
}
|
|
|
|
|
|
2024-05-28 13:11:29 +03:00
|
|
|
.tb-mobile-app-qrcode-panel {
|
|
|
|
|
width: 100%;
|
|
|
|
|
height: 100%;
|
|
|
|
|
position: relative;
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
justify-content: center;
|
|
|
|
|
gap: 8px;
|
|
|
|
|
padding: 16px;
|
|
|
|
|
&.preview {
|
|
|
|
|
max-width: 300px;
|
|
|
|
|
padding: 0;
|
|
|
|
|
}
|
|
|
|
|
> div:not(.tb-mobile-app-qrcode-overlay) {
|
|
|
|
|
z-index: 1;
|
|
|
|
|
}
|
|
|
|
|
.tb-mobile-app-qrcode-overlay {
|
|
|
|
|
position: absolute;
|
|
|
|
|
top: 12px;
|
|
|
|
|
left: 12px;
|
|
|
|
|
bottom: 12px;
|
|
|
|
|
right: 12px;
|
|
|
|
|
}
|
2024-05-09 16:44:38 +03:00
|
|
|
|
2024-05-28 13:11:29 +03:00
|
|
|
.tb-qrcode-label {
|
|
|
|
|
align-self: center;
|
2024-05-28 17:09:22 +03:00
|
|
|
text-align: center;
|
2024-05-28 13:11:29 +03:00
|
|
|
font-size: 14px;
|
|
|
|
|
color: rgba(0, 0, 0, 0.54);
|
2024-05-09 16:44:38 +03:00
|
|
|
}
|
2024-05-02 21:37:11 +03:00
|
|
|
|
2024-05-28 13:11:29 +03:00
|
|
|
.tb-qrcode {
|
|
|
|
|
display: flex;
|
2024-06-03 15:10:52 +03:00
|
|
|
flex: 0.33;
|
2024-05-28 13:11:29 +03:00
|
|
|
min-width: 100px;
|
|
|
|
|
padding: 3px;
|
|
|
|
|
border-radius: 6px;
|
|
|
|
|
background-color: #fff;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.tb-badges {
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: column;
|
2024-06-03 15:10:52 +03:00
|
|
|
flex: 0.44;
|
2024-05-28 13:11:29 +03:00
|
|
|
gap: 8px;
|
2024-06-05 11:25:49 +03:00
|
|
|
img {
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
}
|
2024-05-28 13:11:29 +03:00
|
|
|
}
|
2024-05-02 21:37:11 +03:00
|
|
|
}
|
|
|
|
|
|
2024-06-04 19:28:21 +03:00
|
|
|
:host ::ng-deep {
|
|
|
|
|
.tb-mobile-app-qrcode-panel {
|
|
|
|
|
> div.tb-widget-title {
|
|
|
|
|
padding: 0;
|
|
|
|
|
z-index: 1;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|