Browse Source

UI: Completely remove letters capitalization in order to avoid issues in certain locales.

pull/3551/head
Igor Kulikov 6 years ago
parent
commit
69ec103588
  1. 4
      ui-ngx/src/app/modules/home/components/attribute/attribute-table.component.html
  2. 1
      ui-ngx/src/app/modules/home/components/details-panel.component.scss
  3. 1
      ui-ngx/src/app/modules/home/components/filter/filter-text.component.scss
  4. 1
      ui-ngx/src/app/modules/home/components/widget/action/custom-action-pretty-resources-tabs.component.scss
  5. 1
      ui-ngx/src/app/modules/home/components/widget/lib/gateway/gateway-form.component.scss
  6. 2
      ui-ngx/src/app/modules/home/components/widget/widget.component.html
  7. 1
      ui-ngx/src/app/modules/home/menu/side-menu.component.scss
  8. 4
      ui-ngx/src/app/modules/home/pages/dashboard/dashboard-widget-select.component.html
  9. 2
      ui-ngx/src/app/modules/home/pages/dashboard/layout/dashboard-layout.component.html
  10. 1
      ui-ngx/src/app/modules/home/pages/home-links/home-links.component.scss
  11. 1
      ui-ngx/src/app/modules/home/pages/widget/widget-editor.component.scss
  12. 4
      ui-ngx/src/app/modules/home/pages/widget/widget-library.component.html
  13. 1
      ui-ngx/src/app/modules/login/pages/login/login.component.scss
  14. 1
      ui-ngx/src/app/shared/components/dialog/node-script-test-dialog.component.scss
  15. 1
      ui-ngx/src/app/shared/components/json-form/react/json-form.scss
  16. 1
      ui-ngx/src/app/shared/components/kv-map.component.scss
  17. 10
      ui-ngx/src/styles.scss

4
ui-ngx/src/app/modules/home/components/attribute/attribute-table.component.html

@ -246,11 +246,11 @@
widgetsList.length === 0 && widgetsList.length === 0 &&
widgetsBundle" widgetsBundle"
fxFlex fxLayoutAlign="center center" fxFlex fxLayoutAlign="center center"
style="text-transform: uppercase; display: flex;" style="display: flex;"
class="mat-headline">widgets-bundle.empty</span> class="mat-headline">widgets-bundle.empty</span>
<span translate *ngIf="mode === 'widget' && !widgetsBundle" <span translate *ngIf="mode === 'widget' && !widgetsBundle"
fxFlex fxLayoutAlign="center center" fxFlex fxLayoutAlign="center center"
style="text-transform: uppercase; display: flex;" style="display: flex;"
class="mat-headline">widget.select-widgets-bundle</span> class="mat-headline">widget.select-widgets-bundle</span>
</div> </div>
</div> </div>

1
ui-ngx/src/app/modules/home/components/details-panel.component.scss

@ -41,7 +41,6 @@
font-size: 1rem; font-size: 1rem;
font-weight: 400; font-weight: 400;
text-overflow: ellipsis; text-overflow: ellipsis;
text-transform: uppercase;
white-space: nowrap; white-space: nowrap;
@media #{$mat-gt-sm} { @media #{$mat-gt-sm} {

1
ui-ngx/src/app/modules/home/components/filter/filter-text.component.scss

@ -62,7 +62,6 @@
font-size: 0.9em; font-size: 0.9em;
} }
.tb-filter-complex-operation { .tb-filter-complex-operation {
text-transform: uppercase;
font-weight: bold; font-weight: bold;
} }
.tb-filter-dynamic-value { .tb-filter-dynamic-value {

1
ui-ngx/src/app/modules/home/components/widget/action/custom-action-pretty-resources-tabs.component.scss

@ -51,7 +51,6 @@
label { label {
padding: 4px; padding: 4px;
color: #00acc1; color: #00acc1;
text-transform: uppercase;
background: rgba(220, 220, 220, .35); background: rgba(220, 220, 220, .35);
border-radius: 5px; border-radius: 5px;
&:not(:last-child) { &:not(:last-child) {

1
ui-ngx/src/app/modules/home/components/widget/lib/gateway/gateway-form.component.scss

@ -30,7 +30,6 @@
position: relative; position: relative;
display: flex; display: flex;
height: 40px; height: 40px;
text-transform: uppercase;
} }
} }
} }

2
ui-ngx/src/app/modules/home/components/widget/widget.component.html

@ -38,7 +38,7 @@
</div> </div>
<div class="tb-absolute-fill tb-widget-no-data" *ngIf="displayNoData"> <div class="tb-absolute-fill tb-widget-no-data" *ngIf="displayNoData">
<span fxLayoutAlign="center center" <span fxLayoutAlign="center center"
style="text-transform: uppercase; display: flex;" style="display: flex;"
class="tb-absolute-fill" class="tb-absolute-fill"
translate>widget.no-data</span> translate>widget.no-data</span>
</div> </div>

1
ui-ngx/src/app/modules/home/menu/side-menu.component.scss

@ -32,7 +32,6 @@
} }
a.mat-button { a.mat-button {
text-transform: uppercase;
display: flex; display: flex;
overflow: hidden; overflow: hidden;
line-height: 40px; line-height: 40px;

4
ui-ngx/src/app/modules/home/pages/dashboard/dashboard-widget-select.component.html

@ -74,11 +74,11 @@
</mat-tab> </mat-tab>
</mat-tab-group> </mat-tab-group>
<span translate *ngIf="widgetsBundle && !hasWidgetTypes()" <span translate *ngIf="widgetsBundle && !hasWidgetTypes()"
style="text-transform: uppercase; display: flex;" style="display: flex;"
fxLayoutAlign="center center" fxLayoutAlign="center center"
class="mat-headline tb-absolute-fill">widgets-bundle.empty</span> class="mat-headline tb-absolute-fill">widgets-bundle.empty</span>
<span translate *ngIf="!widgetsBundle" <span translate *ngIf="!widgetsBundle"
style="text-transform: uppercase; display: flex;" style="display: flex;"
fxLayoutAlign="center center" fxLayoutAlign="center center"
class="mat-headline tb-absolute-fill">widget.select-widgets-bundle</span> class="mat-headline tb-absolute-fill">widget.select-widgets-bundle</span>
</div> </div>

2
ui-ngx/src/app/modules/home/pages/dashboard/layout/dashboard-layout.component.html

@ -27,7 +27,7 @@
[ngStyle]="dashboardStyle"> [ngStyle]="dashboardStyle">
<section *ngIf="layoutCtx.widgets.isEmpty()" fxLayoutAlign="center center" <section *ngIf="layoutCtx.widgets.isEmpty()" fxLayoutAlign="center center"
[ngStyle]="{'color': layoutCtx.gridSettings.color}" [ngStyle]="{'color': layoutCtx.gridSettings.color}"
style="text-transform: uppercase; display: flex; z-index: 1; pointer-events: none;" style="display: flex; z-index: 1; pointer-events: none;"
class="mat-headline tb-absolute-fill"> class="mat-headline tb-absolute-fill">
<span *ngIf="!isEdit"> <span *ngIf="!isEdit">
{{'dashboard.no-widgets' | translate}} {{'dashboard.no-widgets' | translate}}

1
ui-ngx/src/app/modules/home/pages/home-links/home-links.component.scss

@ -41,7 +41,6 @@
width: 100%; width: 100%;
height: 100%; height: 100%;
max-width: 240px; max-width: 240px;
text-transform: uppercase;
&:hover { &:hover {
border-bottom: none; border-bottom: none;
} }

1
ui-ngx/src/app/modules/home/pages/widget/widget-editor.component.scss

@ -120,7 +120,6 @@ div.tb-editor-area-title-panel {
label { label {
padding: 4px; padding: 4px;
color: #00acc1; color: #00acc1;
text-transform: uppercase;
background: rgba(220, 220, 220, .35); background: rgba(220, 220, 220, .35);
border-radius: 5px; border-radius: 5px;
&:not(:last-child) { &:not(:last-child) {

4
ui-ngx/src/app/modules/home/pages/widget/widget-library.component.html

@ -16,7 +16,7 @@
--> -->
<section [fxShow]="!(isLoading$ | async) && widgetsData.widgets.length === 0" fxLayoutAlign="center center" <section [fxShow]="!(isLoading$ | async) && widgetsData.widgets.length === 0" fxLayoutAlign="center center"
style="text-transform: uppercase; display: flex; z-index: 1;" style="display: flex; z-index: 1;"
class="tb-absolute-fill"> class="tb-absolute-fill">
<button mat-button *ngIf="!isReadOnly" class="tb-add-new-widget" (click)="addWidgetType($event)"> <button mat-button *ngIf="!isReadOnly" class="tb-add-new-widget" (click)="addWidgetType($event)">
<mat-icon class="tb-mat-96">add</mat-icon> <mat-icon class="tb-mat-96">add</mat-icon>
@ -24,7 +24,7 @@
</button> </button>
<span translate *ngIf="isReadOnly" <span translate *ngIf="isReadOnly"
fxLayoutAlign="center center" fxLayoutAlign="center center"
style="text-transform: uppercase; display: flex;" style="display: flex;"
class="mat-headline tb-absolute-fill">widgets-bundle.empty</span> class="mat-headline tb-absolute-fill">widgets-bundle.empty</span>
</section> </section>
<tb-dashboard #dashboard <tb-dashboard #dashboard

1
ui-ngx/src/app/modules/login/pages/login/login.component.scss

@ -75,7 +75,6 @@
display: flex; display: flex;
justify-content: center; justify-content: center;
align-items: center; align-items: center;
text-transform: uppercase;
} }
} }
} }

1
ui-ngx/src/app/shared/components/dialog/node-script-test-dialog.component.scss

@ -77,7 +77,6 @@
label { label {
padding: 4px; padding: 4px;
color: #00acc1; color: #00acc1;
text-transform: uppercase;
background: rgba(220, 220, 220, .35); background: rgba(220, 220, 220, .35);
border-radius: 5px; border-radius: 5px;
} }

1
ui-ngx/src/app/shared/components/json-form/react/json-form.scss

@ -178,7 +178,6 @@ $previewSize: 100px !default;
label { label {
padding: 4px; padding: 4px;
color: #00acc1; color: #00acc1;
text-transform: uppercase;
background: rgba(220, 220, 220, .35); background: rgba(220, 220, 220, .35);
border-radius: 5px; border-radius: 5px;
} }

1
ui-ngx/src/app/shared/components/kv-map.component.scss

@ -19,7 +19,6 @@
position: relative; position: relative;
display: flex; display: flex;
height: 40px; height: 40px;
text-transform: uppercase;
&.disabled { &.disabled {
color: rgba(0, 0, 0, .38); color: rgba(0, 0, 0, .38);

10
ui-ngx/src/styles.scss

@ -331,7 +331,6 @@ pre.tb-highlight {
font-weight: 400; font-weight: 400;
line-height: 18px; line-height: 18px;
color: rgba(0, 0, 0, .38); color: rgba(0, 0, 0, .38);
text-transform: uppercase;
} }
.tb-fullscreen { .tb-fullscreen {
@ -482,10 +481,6 @@ mat-label {
pointer-events: all; pointer-events: all;
} }
button:not(.mat-menu-item):not(.mat-sort-header-button) {
text-transform: uppercase;
}
button.mat-menu-item { button.mat-menu-item {
font-size: 15px; font-size: 15px;
} }
@ -965,7 +960,6 @@ mat-label {
position: relative; position: relative;
display: flex; display: flex;
height: calc(100% - 60px); height: calc(100% - 60px);
text-transform: uppercase;
text-align: center; text-align: center;
} }
@ -974,10 +968,6 @@ mat-label {
margin-top: -50px; margin-top: -50px;
} }
.mat-tab-label {
text-transform: uppercase;
}
.tb-primary-background { .tb-primary-background {
background-color: $primary; background-color: $primary;
} }

Loading…
Cancel
Save