File tree Expand file tree Collapse file tree 2 files changed +34
-26
lines changed
app/design/frontend/Magento/blank/web/css/source Expand file tree Collapse file tree 2 files changed +34
-26
lines changed Original file line number Diff line number Diff line change 177
177
// Abstract block title
178
178
// ---------------------------------------------
179
179
180
+ @abs-block-title : {
181
+ margin-bottom : 15px ;
182
+
183
+ > strong {
184
+ .lib-heading (h3 );
185
+ }
186
+ };
187
+
180
188
& when (@media-common = true ) {
181
189
.abs-block-title {
182
- margin-bottom : 15px ;
183
-
184
- > strong {
185
- .lib-heading (h3 );
186
- }
190
+ @abs-block-title ();
187
191
}
188
192
}
189
193
194
198
& when (@media-common = true ) {
195
199
.abs-account-blocks {
196
200
.block-title {
197
- & :extend( . abs-block-title all );
201
+ @ abs-block-title( );
198
202
199
203
> .action {
200
204
margin-left : 15px ;
330
334
}
331
335
}
332
336
337
+ //
338
+ // Button as a link
339
+ // ---------------------------------------------
340
+
341
+ @abs-action-button-as-link : {
342
+ .lib-button-as-link (@_margin : false);
343
+ border-radius : 0 ;
344
+ font-size : inherit ;
345
+ font-weight : @font-weight__regular ;
346
+
347
+ & :active ,
348
+ & :not (:focus ) {
349
+ box-shadow : none ;
350
+ }
351
+ };
352
+
353
+ & when (@media-common = true ) {
354
+ .abs-action-button-as-link {
355
+ @abs-action-button-as-link ();
356
+ }
357
+ }
358
+
333
359
//
334
360
// Action with icon remove with text
335
361
// ---------------------------------------------
336
362
337
363
& when (@media-common = true ) {
338
364
.abs-action-remove {
339
- & :extend( . abs-action-button-as-link all );
365
+ @ abs-action-button-as-link( );
340
366
left : @indent__s ;
341
367
margin-left : 70% ;
342
368
position : absolute ;
677
703
}
678
704
}
679
705
680
- //
681
- // Button as a link
682
- // ---------------------------------------------
683
-
684
- & when (@media-common = true ) {
685
- .abs-action-button-as-link {
686
- .lib-button-as-link (@_margin : false);
687
- border-radius : 0 ;
688
- font-size : inherit ;
689
- font-weight : @font-weight__regular ;
690
-
691
- & :active ,
692
- & :not (:focus ) {
693
- box-shadow : none ;
694
- }
695
- }
696
- }
697
-
698
706
//
699
707
// Button revert secondary color
700
708
// ---------------------------------------------
Original file line number Diff line number Diff line change 4
4
// */
5
5
6
6
@import ' _variables.less' ;
7
- @import ' _extends.less' ;
7
+ @import ( reference ) ' _extends.less' ;
8
8
@import ' _typography.less' ;
9
9
@import ' _layout.less' ;
10
10
@import ' _tables.less' ;
You can’t perform that action at this time.
0 commit comments