File tree Expand file tree Collapse file tree 2 files changed +37
-31
lines changed
app/code/Magento/LoginAsCustomerFrontendUi/view/frontend Expand file tree Collapse file tree 2 files changed +37
-31
lines changed Original file line number Diff line number Diff line change 11
11
$ viewFileUrl = $ block ->getViewFileUrl ('Magento_LoginAsCustomerFrontendUi::images/magento-icon.svg ' );
12
12
?>
13
13
<?php if ($ block ->getConfig ()->isEnabled ()): ?>
14
- <div data-bind="scope: 'loginAsCustomer'" >
14
+ <div class="lac-notification-sticky"
15
+ data-mage-init='{"sticky":{"container": "body"}}'
16
+ data-bind="scope: 'loginAsCustomer'" >
15
17
<div class="lac-notification clearfix" data-bind="visible: isVisible" style="display: none">
16
18
<div class="top-container">
17
19
<div class="lac-notification-icon wrapper">
Original file line number Diff line number Diff line change 16
16
// ---------------------------------------------
17
17
18
18
& when (@media-common = true ) {
19
- .lac-notification {
20
- background-color : @lac-notification-background-color ;
21
- color : @lac-notification-color ;
22
- font-size : 16px ;
19
+ .lac-notification-sticky {
20
+ position : relative ;
21
+ z-index : 999 ;
22
+ .lac-notification {
23
+ background-color : @lac-notification-background-color ;
24
+ color : @lac-notification-color ;
25
+ font-size : 16px ;
23
26
24
- .lac-notification-icon {
25
- float : left ;
26
- margin : 10px 25px 10px 10px ;
27
+ .lac-notification-icon {
28
+ float : left ;
29
+ margin : 10px 25px 10px 10px ;
27
30
28
- .logo-img {
29
- display : block
31
+ .logo-img {
32
+ display : block
33
+ }
30
34
}
31
- }
32
35
33
- .lac-notification-text {
34
- float : left ;
35
- padding : 15px 0 ;
36
- }
36
+ .lac-notification-text {
37
+ float : left ;
38
+ padding : 15px 0 ;
39
+ }
37
40
38
- .lac-notification-links {
39
- float : right ;
40
- padding : 15px 0 ;
41
+ .lac-notification-links {
42
+ float : right ;
43
+ padding : 15px 0 ;
41
44
42
- a {
43
- color : @lac-notification-links-color ;
44
- font-size : 14px ;
45
- }
45
+ a {
46
+ color : @lac-notification-links-color ;
47
+ font-size : 14px ;
48
+ }
46
49
47
- .lac-notification-close-link {
48
- & :after {
49
- background : url(' ../Magento_LoginAsCustomerFrontendUi/images/close.svg' ) ;
50
- content : ' ' ;
51
- display : inline-block ;
52
- height : 12px ;
53
- margin-left : 5px ;
54
- vertical-align : middle ;
55
- width : 12px ;
50
+ .lac-notification-close-link {
51
+ & :after {
52
+ background : url(' ../Magento_LoginAsCustomerFrontendUi/images/close.svg' ) ;
53
+ content : ' ' ;
54
+ display : inline-block ;
55
+ height : 12px ;
56
+ margin-left : 5px ;
57
+ vertical-align : middle ;
58
+ width : 12px ;
59
+ }
56
60
}
57
61
}
58
62
}
You can’t perform that action at this time.
0 commit comments