@npm_leadtech/legal-lib-components 7.12.5 → 7.12.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1,6 +1,12 @@
|
|
|
1
1
|
import { device, size } from '../../../globalStyles/breakpoints';
|
|
2
2
|
import styled from 'styled-components';
|
|
3
3
|
export const HeaderStyled = styled.header `
|
|
4
|
+
background-color: var(--primary-main-light-6);
|
|
5
|
+
position: sticky;
|
|
6
|
+
top: 0;
|
|
7
|
+
transition: all 0.3s ease;
|
|
8
|
+
z-index: 1000;
|
|
9
|
+
|
|
4
10
|
@media (max-width: ${size.sm}) {
|
|
5
11
|
position: fixed;
|
|
6
12
|
top: 0;
|
|
@@ -8,6 +14,7 @@ export const HeaderStyled = styled.header `
|
|
|
8
14
|
width: 100%;
|
|
9
15
|
z-index: 11111111111111;
|
|
10
16
|
}
|
|
17
|
+
|
|
11
18
|
html[data-theme='lawdistrict'] {
|
|
12
19
|
.header {
|
|
13
20
|
&.product-header-background {
|
|
@@ -17,108 +24,98 @@ export const HeaderStyled = styled.header `
|
|
|
17
24
|
}
|
|
18
25
|
|
|
19
26
|
.scrollDown {
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
box-shadow: var(--box-shadow-small);
|
|
23
|
-
}
|
|
27
|
+
background-color: var(--others-white) !important;
|
|
28
|
+
box-shadow: var(--box-shadow-small);
|
|
24
29
|
}
|
|
25
30
|
|
|
26
|
-
.
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
z-index: 1000;
|
|
31
|
+
.top-bar-wrapper {
|
|
32
|
+
.top-bar {
|
|
33
|
+
font-size: 0.78rem;
|
|
34
|
+
letter-spacing: -0.5px;
|
|
35
|
+
}
|
|
32
36
|
|
|
33
|
-
.top-bar-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
+
.top-bar-content {
|
|
38
|
+
width: 100%;
|
|
39
|
+
display: flex;
|
|
40
|
+
justify-content: space-around;
|
|
41
|
+
@media ${device['landscape-tablets']} {
|
|
42
|
+
justify-content: center;
|
|
43
|
+
width: auto;
|
|
37
44
|
}
|
|
45
|
+
span {
|
|
46
|
+
display: none;
|
|
38
47
|
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
display: flex;
|
|
42
|
-
justify-content: space-around;
|
|
43
|
-
@media ${device['landscape-tablets']} {
|
|
44
|
-
justify-content: center;
|
|
45
|
-
width: auto;
|
|
46
|
-
}
|
|
47
|
-
span {
|
|
48
|
-
display: none;
|
|
49
|
-
|
|
50
|
-
@media ${device['laptop']} {
|
|
51
|
-
display: inline;
|
|
52
|
-
}
|
|
48
|
+
@media ${device['laptop']} {
|
|
49
|
+
display: inline;
|
|
53
50
|
}
|
|
54
51
|
}
|
|
55
52
|
}
|
|
53
|
+
}
|
|
56
54
|
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
55
|
+
.top-bar-mobile {
|
|
56
|
+
font-size: 14px;
|
|
57
|
+
padding: 8px 10px;
|
|
58
|
+
letter-spacing: normal;
|
|
59
|
+
}
|
|
62
60
|
|
|
63
|
-
|
|
64
|
-
|
|
61
|
+
&.hide-header-in-mobile {
|
|
62
|
+
position: relative;
|
|
65
63
|
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
}
|
|
64
|
+
@media ${device['landscape-tablets']} {
|
|
65
|
+
position: sticky;
|
|
69
66
|
}
|
|
67
|
+
}
|
|
70
68
|
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
69
|
+
&__inner {
|
|
70
|
+
max-width: 1200px;
|
|
71
|
+
padding: 1rem 1.5rem;
|
|
72
|
+
align-items: center;
|
|
73
|
+
justify-content: space-between;
|
|
76
74
|
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
}
|
|
75
|
+
@media (min-width: ${size.sm}) {
|
|
76
|
+
padding: 1rem;
|
|
80
77
|
}
|
|
78
|
+
}
|
|
81
79
|
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
80
|
+
&__logo {
|
|
81
|
+
z-index: 200;
|
|
82
|
+
min-width: max-content;
|
|
83
|
+
}
|
|
86
84
|
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
85
|
+
&.transparent-header-background {
|
|
86
|
+
background-color: transparent;
|
|
87
|
+
}
|
|
90
88
|
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
89
|
+
&.form-header-background {
|
|
90
|
+
background-color: var(--others-white);
|
|
91
|
+
}
|
|
94
92
|
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
93
|
+
&.esignature-header-background {
|
|
94
|
+
background-color: var(--neutral-neutral-5);
|
|
95
|
+
}
|
|
98
96
|
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
97
|
+
.--no-grid {
|
|
98
|
+
padding: 0 2rem;
|
|
99
|
+
}
|
|
102
100
|
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
101
|
+
&.--is-open {
|
|
102
|
+
background: var(--others-white);
|
|
103
|
+
position: fixed;
|
|
104
|
+
width: 100%;
|
|
105
|
+
}
|
|
108
106
|
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
107
|
+
a {
|
|
108
|
+
text-decoration: none;
|
|
109
|
+
}
|
|
112
110
|
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
111
|
+
.refresh-container {
|
|
112
|
+
height: 70px;
|
|
113
|
+
padding-top: 10px;
|
|
116
114
|
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
}
|
|
115
|
+
.e-button {
|
|
116
|
+
width: 140px;
|
|
117
|
+
margin-left: auto;
|
|
118
|
+
margin-right: auto;
|
|
122
119
|
}
|
|
123
120
|
}
|
|
124
121
|
`;
|
|
@@ -2,6 +2,12 @@ import { device, size } from '../../../globalStyles/breakpoints'
|
|
|
2
2
|
import styled from 'styled-components'
|
|
3
3
|
|
|
4
4
|
export const HeaderStyled = styled.header`
|
|
5
|
+
background-color: var(--primary-main-light-6);
|
|
6
|
+
position: sticky;
|
|
7
|
+
top: 0;
|
|
8
|
+
transition: all 0.3s ease;
|
|
9
|
+
z-index: 1000;
|
|
10
|
+
|
|
5
11
|
@media (max-width: ${size.sm}) {
|
|
6
12
|
position: fixed;
|
|
7
13
|
top: 0;
|
|
@@ -9,6 +15,7 @@ export const HeaderStyled = styled.header`
|
|
|
9
15
|
width: 100%;
|
|
10
16
|
z-index: 11111111111111;
|
|
11
17
|
}
|
|
18
|
+
|
|
12
19
|
html[data-theme='lawdistrict'] {
|
|
13
20
|
.header {
|
|
14
21
|
&.product-header-background {
|
|
@@ -18,108 +25,98 @@ export const HeaderStyled = styled.header`
|
|
|
18
25
|
}
|
|
19
26
|
|
|
20
27
|
.scrollDown {
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
box-shadow: var(--box-shadow-small);
|
|
24
|
-
}
|
|
28
|
+
background-color: var(--others-white) !important;
|
|
29
|
+
box-shadow: var(--box-shadow-small);
|
|
25
30
|
}
|
|
26
31
|
|
|
27
|
-
.
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
z-index: 1000;
|
|
32
|
+
.top-bar-wrapper {
|
|
33
|
+
.top-bar {
|
|
34
|
+
font-size: 0.78rem;
|
|
35
|
+
letter-spacing: -0.5px;
|
|
36
|
+
}
|
|
33
37
|
|
|
34
|
-
.top-bar-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
+
.top-bar-content {
|
|
39
|
+
width: 100%;
|
|
40
|
+
display: flex;
|
|
41
|
+
justify-content: space-around;
|
|
42
|
+
@media ${device['landscape-tablets']} {
|
|
43
|
+
justify-content: center;
|
|
44
|
+
width: auto;
|
|
38
45
|
}
|
|
46
|
+
span {
|
|
47
|
+
display: none;
|
|
39
48
|
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
display: flex;
|
|
43
|
-
justify-content: space-around;
|
|
44
|
-
@media ${device['landscape-tablets']} {
|
|
45
|
-
justify-content: center;
|
|
46
|
-
width: auto;
|
|
47
|
-
}
|
|
48
|
-
span {
|
|
49
|
-
display: none;
|
|
50
|
-
|
|
51
|
-
@media ${device['laptop']} {
|
|
52
|
-
display: inline;
|
|
53
|
-
}
|
|
49
|
+
@media ${device['laptop']} {
|
|
50
|
+
display: inline;
|
|
54
51
|
}
|
|
55
52
|
}
|
|
56
53
|
}
|
|
54
|
+
}
|
|
57
55
|
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
56
|
+
.top-bar-mobile {
|
|
57
|
+
font-size: 14px;
|
|
58
|
+
padding: 8px 10px;
|
|
59
|
+
letter-spacing: normal;
|
|
60
|
+
}
|
|
63
61
|
|
|
64
|
-
|
|
65
|
-
|
|
62
|
+
&.hide-header-in-mobile {
|
|
63
|
+
position: relative;
|
|
66
64
|
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
}
|
|
65
|
+
@media ${device['landscape-tablets']} {
|
|
66
|
+
position: sticky;
|
|
70
67
|
}
|
|
68
|
+
}
|
|
71
69
|
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
70
|
+
&__inner {
|
|
71
|
+
max-width: 1200px;
|
|
72
|
+
padding: 1rem 1.5rem;
|
|
73
|
+
align-items: center;
|
|
74
|
+
justify-content: space-between;
|
|
77
75
|
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
}
|
|
76
|
+
@media (min-width: ${size.sm}) {
|
|
77
|
+
padding: 1rem;
|
|
81
78
|
}
|
|
79
|
+
}
|
|
82
80
|
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
81
|
+
&__logo {
|
|
82
|
+
z-index: 200;
|
|
83
|
+
min-width: max-content;
|
|
84
|
+
}
|
|
87
85
|
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
86
|
+
&.transparent-header-background {
|
|
87
|
+
background-color: transparent;
|
|
88
|
+
}
|
|
91
89
|
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
90
|
+
&.form-header-background {
|
|
91
|
+
background-color: var(--others-white);
|
|
92
|
+
}
|
|
95
93
|
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
94
|
+
&.esignature-header-background {
|
|
95
|
+
background-color: var(--neutral-neutral-5);
|
|
96
|
+
}
|
|
99
97
|
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
98
|
+
.--no-grid {
|
|
99
|
+
padding: 0 2rem;
|
|
100
|
+
}
|
|
103
101
|
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
102
|
+
&.--is-open {
|
|
103
|
+
background: var(--others-white);
|
|
104
|
+
position: fixed;
|
|
105
|
+
width: 100%;
|
|
106
|
+
}
|
|
109
107
|
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
108
|
+
a {
|
|
109
|
+
text-decoration: none;
|
|
110
|
+
}
|
|
113
111
|
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
112
|
+
.refresh-container {
|
|
113
|
+
height: 70px;
|
|
114
|
+
padding-top: 10px;
|
|
117
115
|
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
}
|
|
116
|
+
.e-button {
|
|
117
|
+
width: 140px;
|
|
118
|
+
margin-left: auto;
|
|
119
|
+
margin-right: auto;
|
|
123
120
|
}
|
|
124
121
|
}
|
|
125
122
|
`
|