Browse Source

ng-deep rearranged

pull/8337/head
Maksym Dudnik 3 years ago
parent
commit
eea4a5f511
  1. 21
      ui-ngx/src/app/modules/home/components/widget/lib/gateway/device-gateway-command.component.scss
  2. 65
      ui-ngx/src/app/modules/home/components/widget/lib/gateway/gateway-configuration.component.scss
  3. 10
      ui-ngx/src/app/modules/home/components/widget/lib/gateway/gateway-connectors.component.scss
  4. 21
      ui-ngx/src/app/modules/home/components/widget/lib/gateway/gateway-service-rpc.component.scss

21
ui-ngx/src/app/modules/home/components/widget/lib/gateway/device-gateway-command.component.scss

@ -17,16 +17,21 @@
width: 100%; width: 100%;
height: 100%; height: 100%;
display: block; display: block;
}
::ng-deep .tb-markdown-view .start-code code[class*="language-"], :host ::ng-deep {
::ng-deep .tb-markdown-view .start-code pre[class*="language-"] { .tb-markdown-view {
overflow: hidden; .start-code {
white-space: break-spaces; code[class*="language-"], pre[class*="language-"] {
word-break: break-all; overflow: hidden;
} white-space: break-spaces;
word-break: break-all;
}
::ng-deep .tb-markdown-view .start-code .code-wrapper { .code-wrapper {
padding: 0; padding: 0;
}
}
} }
} }

65
ui-ngx/src/app/modules/home/components/widget/lib/gateway/gateway-configuration.component.scss

@ -81,37 +81,6 @@
text-transform: capitalize; text-transform: capitalize;
} }
::ng-deep.mat-tab-label-active {
color: white;
opacity: 1;
}
::ng-deep.mat-tab-label, ::ng-deep.mat-tab-label-active {
min-width: 50px !important;
padding: 3px !important;
margin: 3px !important;
flex-grow: 1;
}
::ng-deep.mat-ink-bar {
height: 100%;
z-index: -10;
border-radius: 5px;
}
::ng-deep.pointer-event {
pointer-events: all;
}
::ng-deep.mat-mdc-form-field-icon-suffix {
z-index: 100;
}
::ng-deep.security-toggle-group span {
padding: 0 25px;
}
mat-panel-title { mat-panel-title {
display: block; display: block;
padding-top: 20px; padding-top: 20px;
@ -138,11 +107,37 @@
textarea { textarea {
resize: none; resize: none;
} }
}
@media only screen and (max-width: 750px) { :host ::ng-deep {
.mat-expansion-panel-header.mat-expanded { .mat-tab-label-active {
height: auto; color: white;
} opacity: 1;
}
.mat-tab-label, .mat-tab-label-active{
min-width: 50px !important;
padding: 3px !important;
margin: 3px !important;
flex-grow: 1;
}
.mat-ink-bar {
height: 100%;
z-index: -10;
border-radius: 5px;
}
.pointer-event {
pointer-events: all;
}
.mat-mdc-form-field-icon-suffix {
z-index: 100;
}
.security-toggle-group span {
padding: 0 25px;
} }
} }

10
ui-ngx/src/app/modules/home/components/widget/lib/gateway/gateway-connectors.component.scss

@ -50,8 +50,6 @@
.mat-mdc-form-field { .mat-mdc-form-field {
flex-grow: 1; flex-grow: 1;
//min-width: 200px;
//flex-shrink: 1;
} }
mat-card { mat-card {
@ -67,9 +65,7 @@
margin: 15px; margin: 15px;
} }
::ng-deep tb-json-object-edit > div {
flex-grow: 1;
}
.action-btns { .action-btns {
margin: 10px 10px 0; margin: 10px 10px 0;
@ -80,3 +76,7 @@
} }
} }
:host ::ng-deep tb-json-object-edit > div {
flex-grow: 1;
}

21
ui-ngx/src/app/modules/home/components/widget/lib/gateway/gateway-service-rpc.component.scss

@ -27,13 +27,9 @@
padding: 0 15px 5px; padding: 0 15px 5px;
margin-bottom: 5px; margin-bottom: 5px;
&>button { & > button {
margin-top: 10px; margin-top: 10px;
} }
::ng-deep.mat-mdc-form-field-icon-suffix {
z-index: 100;
}
} }
.result-block { .result-block {
@ -41,14 +37,19 @@
display: flex; display: flex;
flex-direction: column; flex-direction: column;
::ng-deep.tb-json-content { & > span {
height: 100%;
}
&>span {
font-weight: 600; font-weight: 600;
} }
} }
}
:host ::ng-deep {
.tb-json-content {
height: 100%;
}
.mat-mdc-form-field-icon-suffix {
z-index: 100;
}
} }

Loading…
Cancel
Save