File tree Expand file tree Collapse file tree 6 files changed +19
-8
lines changed
app/design/adminhtml/Magento/backend
Magento_Backend/web/css/source/module Expand file tree Collapse file tree 6 files changed +19
-8
lines changed Original file line number Diff line number Diff line change @@ -65,7 +65,7 @@ module.exports = function (grunt) {
65
65
*/
66
66
backend : [
67
67
'less:backend' ,
68
- 'replace:example ' ,
68
+ 'replace:escapeCalc ' ,
69
69
'less:override'
70
70
] ,
71
71
/**
Original file line number Diff line number Diff line change 234
234
.parent {
235
235
margin-bottom : 4.5rem ;
236
236
// Section title
237
- // ToDo UI: Should be not a link, strong instead and have a classname
238
- > a {
237
+ > a , // ToDo UI: Should be deleted after template changes a -> strong.submenu-group-title
238
+ .submenu-group-title {
239
239
color : @submenu-section-label__color ;
240
240
display : block ;
241
241
font-size : 1.6rem ;
242
242
font-weight : @font-weight__semibold ;
243
243
margin-bottom : .7rem ;
244
+ padding : 1.25rem @submenu__padding-horizontal ;
244
245
pointer-events : none ;
245
246
}
246
247
}
Original file line number Diff line number Diff line change @@ -2791,6 +2791,7 @@ fieldset[disabled] .admin__control-text + .ui-datepicker-trigger {
2791
2791
margin : 0 0 3rem ;
2792
2792
}
2793
2793
.page-layout-admin-login {
2794
+ align-items : center ;
2794
2795
display : -webkit-flex ;
2795
2796
display : -ms-flexbox ;
2796
2797
display : flex ;
@@ -3197,12 +3198,14 @@ fieldset[disabled] .admin__control-text + .ui-datepicker-trigger {
3197
3198
.admin__menu .submenu .parent {
3198
3199
margin-bottom : 4.5rem ;
3199
3200
}
3200
- .admin__menu .submenu .parent > a {
3201
+ .admin__menu .submenu .parent > a ,
3202
+ .admin__menu .submenu .parent .submenu-group-title {
3201
3203
color : #a79d95 ;
3202
3204
display : block ;
3203
3205
font-size : 1.6rem ;
3204
3206
font-weight : 600 ;
3205
3207
margin-bottom : .7rem ;
3208
+ padding : 1.25rem 1.5rem ;
3206
3209
pointer-events : none ;
3207
3210
}
3208
3211
.admin__menu .submenu .column {
Original file line number Diff line number Diff line change 9
9
* Replace task for backend migration
10
10
*/
11
11
module . exports = {
12
- example : {
12
+ escapeCalc : {
13
13
src : [ '<%= combo.autopath("backend","pub") %>/css/styles.css' ] , // source files array (supports minimatch)
14
14
dest : '<%= combo.autopath("backend","pub") %>/css/override.less' , // destination directory or file
15
15
replacements : [ {
Original file line number Diff line number Diff line change @@ -46,8 +46,6 @@ module.exports = {
46
46
files : [
47
47
'css/styles-old' ,
48
48
'css/styles' ,
49
- 'css/pages' ,
50
- 'css/admin' ,
51
49
'css/styles-migration'
52
50
] ,
53
51
dsl : 'less'
Original file line number Diff line number Diff line change @@ -24,7 +24,16 @@ var watchOptions = {
24
24
"setup" : {
25
25
"files" : "<%= path.less.setup %>/**/*.less" ,
26
26
"tasks" : "less:setup"
27
+ } ,
28
+ "backendMigration" : {
29
+ "files" : [
30
+ "<%= combo.autopath(\"backend\",\"pub\") %>/css/styles.css"
31
+ ] ,
32
+ "tasks" : [
33
+ "replace:escapeCalc" ,
34
+ "less:override"
35
+ ]
27
36
}
28
37
} ;
29
38
30
- module . exports = _ . extend ( themeOptions , watchOptions ) ;
39
+ module . exports = _ . extend ( themeOptions , watchOptions ) ;
You can’t perform that action at this time.
0 commit comments