Skip to content

Commit 0c22a13

Browse files
author
Cyrille Bourgois
committed
fix(dedicated): update less rem
1 parent dbf120a commit 0c22a13

File tree

10 files changed

+27
-30
lines changed

10 files changed

+27
-30
lines changed

packages/manager/apps/dedicated/client/app/css/less/common/buttonIcons.less

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@
100100

101101
&.icon-order-block,
102102
&.icon-order-bloc,
103-
&.icon-purchase-upgrade, { .icon_position(8, 3); }
103+
&.icon-purchase-upgrade { .icon_position(8, 3); }
104104
&.icon-add-ip { .icon_position(9, 3); }
105105
&.icon-delete-ip { .icon_position(10, 3); }
106106
&.icon-go-vscope { .icon_position(11, 3); }

packages/manager/apps/dedicated/client/app/css/less/common/download.less

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
align-items: center;
1111
padding: 20px;
1212
height: 120px;
13-
font-size: 4rem;
13+
font-size: 2.5rem;
1414
box-sizing: border-box;
1515
border: 3px solid #8bcfed;
1616
border-radius: 50%;

packages/manager/apps/dedicated/client/app/css/less/common/navbar.less

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@
1515
&:active {
1616
width: auto;
1717
height: auto;
18-
left: 1rem;
19-
top: 1rem;
18+
left: 0.625rem;
19+
top: 0.625rem;
2020
overflow: auto;
2121
outline-width: 1px !important;
2222
outline-style: dotted !important;

packages/manager/apps/dedicated/client/app/css/less/common/table.less

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,6 @@ table {
5555
// avoid too small input with responsive tables
5656
> tbody > tr > td input,
5757
select {
58-
min-width: 7rem;
58+
min-width: 4.375rem;
5959
}
6060
}

packages/manager/apps/dedicated/client/app/css/less/common/wizard.less

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
.wizard-title {
2-
line-height: rem-calc(22.4);
2+
line-height: rem-calc(14);
33
margin-top: 0;
44
margin-bottom: 0;
55
color: @oui-color-zodiac;
6-
font-size: rem-calc(21);
6+
font-size: rem-calc(13.125);
77
font-weight: @oui-font-semibold;
88
letter-spacing: 0.01em;
99
}
@@ -52,10 +52,10 @@ h2.wizard-title-sub {
5252
}
5353

5454
h3 {
55-
font-size: 1.8rem;
55+
font-size: 1.125rem;
5656
}
5757

5858
h4 {
59-
font-size: 1.6rem;
59+
font-size: 1rem;
6060
}
6161
}

packages/manager/apps/dedicated/client/app/css/less/module/ip/ip-dashboard.less

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,5 @@
55
* avoid the td to expand automatically
66
*/
77
.ip-description {
8-
max-width: 30rem;
8+
max-width: 18.75rem;
99
}

packages/manager/apps/dedicated/client/app/css/less/module/user-account/emails.less

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
a {
88
// padding: @oui-datagrid-cell-padding;
9-
line-height: 3.6rem;
9+
line-height: 2.25rem;
1010
}
1111
}
1212

packages/manager/apps/dedicated/client/app/css/source.less

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
11
@oui-path: '../../../ovh-ui-kit';
22

3-
@import 'ovh-ui-kit-bs/src/bootstrap/_variables';
4-
@import (less) "@ovh-ux/ovh-utils-angular/bin/template/tooltipBox/tooltipBox.css";
5-
@import (less) "@ovh-ux/ovh-utils-angular/bin/template/inputNumber/inputNumber.css";
6-
@import (less) "@ovh-ux/ovh-utils-angular/bin/template/wizard/wizardStep/wizardStep.css";
3+
@import 'ovh-ui-kit/packages/oui/stylekit';
74
@import (less) "font-awesome/css/font-awesome.min.css";
85
@import (less) "ovh-manager-webfont/dist/css/ovh-font.css";
96
@import (less) "animate.css/animate.min.css";
@@ -20,7 +17,7 @@
2017
@import "less/common/buttonIcons";
2118
@import "less/common/button";
2219
@import "less/common/countryIcon";
23-
@import "less/common/datetimepicker";
20+
// @import "less/common/datetimepicker";
2421
@import "less/common/distributionIcon";
2522
@import "less/common/download";
2623
@import "less/common/global";

packages/manager/apps/dedicated/client/app/dedicated/housing/backup/access/add/dedicated-housing-backup-access-add.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,21 +34,21 @@
3434
data-translate="housing_configuration_ftpbackup_add_authorization">
3535
</p>
3636
</div>
37-
<div class="checkbox px-5">
37+
<div class="checkbox px-4">
3838
<label>
3939
<input type="checkbox"
4040
data-ng-model="access.cifs" />
4141
<span data-translate="housing_configuration_ftpbackup_table_cifs"></span>
4242
</label>
4343
</div>
44-
<div class="checkbox px-5">
44+
<div class="checkbox px-4">
4545
<label>
4646
<input type="checkbox"
4747
data-ng-model="access.ftp" />
4848
<span data-translate="housing_configuration_ftpbackup_table_ftp"></span>
4949
</label>
5050
</div>
51-
<div class="checkbox px-5">
51+
<div class="checkbox px-4">
5252
<label>
5353
<input type="checkbox"
5454
data-ng-model="access.nfs" />

packages/manager/apps/dedicated/client/app/dedicatedCloud/dashboard/options/order/steps/selection/style.less

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -15,24 +15,24 @@
1515
}
1616

1717
.oui-select-picker__label.orderSelection__product-label {
18-
padding-top: 2rem;
19-
padding-bottom: 1rem;
20-
padding-left: 4.5rem;
18+
padding-top: 1.25rem;
19+
padding-bottom: 0.625rem;
20+
padding-left: 2.8125rem;
2121

2222
&::before {
23-
top: 2.5rem;
24-
left: 2rem;
23+
top: 1.5625rem;
24+
left: 1.25rem;
2525
}
2626

2727
.oui-select-picker__input:checked ~ .oui-select-picker__label-container &::after {
28-
top: 3rem;
29-
left: 2.5rem;
28+
top: 1.875rem;
29+
left: 1.5625rem;
3030
}
3131
}
3232

3333
.orderSelection__product-description {
34-
margin-left: 2rem;
35-
margin-right: 2rem;
34+
margin-left: 1.25rem;
35+
margin-right: 1.25rem;
3636
width: initial;
3737
height: 100%;
3838
}
@@ -41,8 +41,8 @@
4141
background: #c6eff9;
4242
color: rgb(17, 63, 109);
4343
font-weight: 600;
44-
font-size: 2rem;
44+
font-size: 1.25rem;
4545
margin: 0;
46-
padding: 1rem;
46+
padding: 0.625rem;
4747
text-align: center;
4848
}

0 commit comments

Comments
 (0)