Skip to content

Commit 19d9cb8

Browse files
committed
Merge remote-tracking branch 'webdev/MAGETWO-43072' into PR_Branch
2 parents 9caf134 + 14c9f56 commit 19d9cb8

File tree

11 files changed

+149
-11
lines changed

11 files changed

+149
-11
lines changed

app/design/adminhtml/Magento/backend/web/app/setup/styles/less/pages/_common.less

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,12 @@
1919
padding-top: @main__indent-top;
2020
}
2121

22+
.menu-wrapper {
23+
.logo-static {
24+
pointer-events: none;
25+
}
26+
}
27+
2228
//
2329
// Header
2430
// _____________________________________________
@@ -44,6 +50,10 @@
4450
// Titles
4551
// _____________________________________________
4652

53+
.page-title {
54+
margin-bottom: @indent__s;
55+
}
56+
4757
.page-sub-title {
4858
font-size: 2rem;
4959
margin-bottom: 1.3em;
@@ -59,3 +69,13 @@
5969
margin-top: 1.5rem;
6070
}
6171
}
72+
73+
// Spinner modification for installer
74+
.spinner {
75+
&.side {
76+
float: left;
77+
font-size: 2.4rem;
78+
margin-left: 2rem;
79+
margin-top: -5px;
80+
}
81+
}

app/design/adminhtml/Magento/backend/web/app/setup/styles/less/pages/_readiness-check.less

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@
5656
.readiness-check-icon {
5757
float: left;
5858
margin-left: 1.7rem;
59-
margin-top: .7rem;
59+
margin-top: .3rem;
6060
}
6161

6262
//

app/design/adminhtml/Magento/backend/web/app/setup/styles/less/setup.less

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@
5252

5353
// Inherit Backend components
5454
@import '../../../../css/source/_actions.less';
55+
@import '../../../../css/source/actions/_actions-switcher.less'; // ToDo UI: remove when yes/no switcher is integrated to the backend
5556
@import '../../../../css/source/components/_messages.less';
5657
@import '../../../../css/source/components/_modals_extend.less';
5758
@import '../../../../css/source/components/_spinner.less';

app/design/adminhtml/Magento/backend/web/app/updater/styles/less/components/_menu.less

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,13 @@
2525
top: -1.6rem;
2626
}
2727
}
28+
&._active {
29+
> a {
30+
&:after {
31+
display: block;
32+
}
33+
}
34+
}
2835
}
2936
> a {
3037
padding-top: 1.3rem;

app/design/adminhtml/Magento/backend/web/app/updater/styles/less/pages/_common.less

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313

1414
.page-sub-title {
1515
margin-bottom: 2.1rem;
16+
margin-top: @indent__l;
1617
}
1718

1819
.multiselect-custom {

app/design/adminhtml/Magento/backend/web/app/updater/styles/less/source/_forms.less

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,4 @@
1515
letter-spacing: @letter-spacing__small;
1616
margin-left: .4rem;
1717
margin-bottom: .4rem;
18-
}
18+
}

app/design/adminhtml/Magento/backend/web/app/updater/styles/less/source/_typography.less

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,5 +42,3 @@
4242
margin-right: 2.4rem;
4343
}
4444
}
45-
46-

app/design/adminhtml/Magento/backend/web/app/updater/styles/less/source/_variables.less

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,4 +36,4 @@
3636
//
3737
// Tables
3838
// ---------------------------------------------
39-
@table__color: @color-very-dark-gray-black;
39+
@table__color: @color-very-dark-gray-black;
Lines changed: 110 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,110 @@
1+
// /**
2+
// * Copyright © 2015 Magento. All rights reserved.
3+
// * See COPYING.txt for license details.
4+
// */
5+
6+
//
7+
// Yes/no switcher
8+
// _____________________________________________
9+
10+
// ToDo UI: integrate the switcher to the backend
11+
12+
//
13+
// Variables
14+
// ---------------------------------------------
15+
16+
@actions-switcher-background-color: @color-gray89;
17+
@actions-switcher-border-radius: 12px;
18+
@actions-switcher-border: 1px solid @color-gray65-lighten;
19+
@actions-switcher-control-background-color: @color-white;
20+
@actions-switcher-height: 20px;
21+
@actions-switcher-width: 37px;
22+
23+
//
24+
25+
.actions-switch {
26+
-webkit-user-select: none;
27+
-moz-user-select: none;
28+
-ms-user-select: none;
29+
height: @actions-switcher-height;
30+
margin-right: 30px;
31+
position: relative;
32+
width: @actions-switcher-width;
33+
}
34+
35+
.actions-switch-label {
36+
background: @actions-switcher-background-color;
37+
border-radius: @actions-switcher-border-radius;
38+
border: @actions-switcher-border;
39+
cursor: pointer;
40+
display: block;
41+
overflow: hidden;
42+
}
43+
44+
.actions-switch-inner {
45+
display: block;
46+
margin-left: -100%;
47+
transition: margin 0.3s ease-in 0s;
48+
width: 200%;
49+
&:before,
50+
&:after {
51+
border-radius: @actions-switcher-border-radius;
52+
color: @color-white;
53+
display: block;
54+
float: left;
55+
height: @actions-switcher-height;
56+
line-height: 22px;
57+
padding: 0;
58+
width: 50%;
59+
}
60+
&:before {
61+
background-color: @color-green-apple;
62+
content: "";
63+
}
64+
&:after {
65+
content: "";
66+
text-align: right;
67+
}
68+
}
69+
70+
.actions-switch-indicator {
71+
background: @actions-switcher-control-background-color;
72+
border-radius: @actions-switcher-border-radius;
73+
border: @actions-switcher-border;
74+
bottom: -2px;
75+
display: block;
76+
position: absolute;
77+
right: 15px;
78+
top: 0;
79+
transition: all 0.3s ease-in 0s;
80+
width: 22px;
81+
}
82+
83+
.actions-switch-text {
84+
&:after {
85+
content: attr(data-label-no);
86+
display: block;
87+
left: 32px;
88+
margin-left: 12px;
89+
position: absolute;
90+
}
91+
}
92+
93+
.actions-switch-checkbox {
94+
display: none;
95+
&:checked {
96+
+ .actions-switch-label {
97+
.actions-switch-inner {
98+
margin-left: 0;
99+
}
100+
.actions-switch-indicator {
101+
right: 0;
102+
}
103+
.actions-switch-text {
104+
&:after {
105+
content: attr(data-label-yes);
106+
}
107+
}
108+
}
109+
}
110+
}

setup/pub/styles/setup.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)