Fixes: https://tracker.ceph.com/issues/46417
Signed-off-by: Tiago Melo <tmelo@suse.com>
(cherry picked from commit
cf55a768b26e1eded9cd2235c2966b2529a3cafc)
Conflicts:
src/pybind/mgr/dashboard/frontend/src/app/core/auth/login/login.component.scss
src/pybind/mgr/dashboard/frontend/src/styles/ceph-custom/_basics.scss
src/pybind/mgr/dashboard/frontend/src/styles/ceph-custom/_grid.scss
src/pybind/mgr/dashboard/frontend/src/styles.scss
<div *ngFor="let section of rbdConfigurationService.sections"
class="col-12">
- <h3 class="cd-header">
+ <h4 class="cd-header">
<span (click)="toggleSectionVisibility(section.class)"
class="collapsible">
{{ section.heading }} <i [ngClass]="!sectionVisibility[section.class] ? icons.addCircle : icons.minusCircle"
aria-hidden="true"></i>
</span>
- </h3>
+ </h4>
<div class="{{ section.class }}"
[hidden]="!sectionVisibility[section.class]">
<div class="form-group row"
i18n>Advanced</legend>
<div class="col-md-12">
- <h3 class="cd-header"
- i18n>Striping</h3>
+ <h4 class="cd-header"
+ i18n>Striping</h4>
<!-- Object Size -->
<div class="form-group row">
<!-- Values -->
<div formGroupName="values">
- <h2 i18n
- class="cd-header">Values</h2>
+ <h3 i18n
+ class="cd-header">Values</h3>
<ng-container *ngFor="let section of availSections">
<div class="form-group row"
*ngIf="type === 'bool'">
[formGroup]="formGroup"
novalidate>
<div class="modal-body">
- <h3 i18n>DriveGroups</h3>
+ <h4 i18n>DriveGroups</h4>
<pre>{{ driveGroups | json}}</pre>
</div>
<div class="modal-footer">
</div>
</div>
<div *ngIf="advancedEnabled">
- <h2 class="page-header"
- i18n>Advanced configuration options</h2>
+ <h3 class="page-header"
+ i18n>Advanced configuration options</h3>
<cd-config-option [optionNames]="advancedOptions"
[optionsForm]="osdPgScrubForm"
[optionsFormDir]="formDir"
<div>
- <h1 i18n>Please set a new password.</h1>
+ <h2 i18n>Please set a new password.</h2>
<h4 i18n>You will be redirected to the login page afterwards.</h4>
<form #frm="ngForm"
[formGroup]="userForm"
@import 'defaults';
::ng-deep cd-login {
- h1 {
- margin: 0 0 30px 0;
- }
-
.form-group {
border-left: 4px solid white;
background-color: $color-password-toggle-bg;
height: 100%;
font-size: 12px;
}
-h1 {
- letter-spacing: -1px;
- font-size: 2em;
-}
-h2 {
- letter-spacing: -1px;
- font-size: 1.833em;
-}
-h3 {
- display: block;
- font-size: 1.583em;
- font-weight: 400;
-}
-h4 {
- font-size: 1.5em;
- line-height: normal;
-}
option {
font-weight: normal;
font-style: normal;
.card-header {
font-size: 1.3em;
}
-.card-body h2:first-child {
- margin-top: 0;
-}
.disabled {
pointer-events: none;
}