@npm_leadtech/legal-lib-components 7.12.6 → 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;
@@ -22,102 +28,94 @@ export const HeaderStyled = styled.header `
22
28
  box-shadow: var(--box-shadow-small);
23
29
  }
24
30
 
25
- .header {
26
- background-color: var(--primary-main-light-6);
27
- position: sticky;
28
- top: 0;
29
- transition: all 0.3s ease;
30
- z-index: 1000;
31
+ .top-bar-wrapper {
32
+ .top-bar {
33
+ font-size: 0.78rem;
34
+ letter-spacing: -0.5px;
35
+ }
31
36
 
32
- .top-bar-wrapper {
33
- .top-bar {
34
- font-size: 0.78rem;
35
- letter-spacing: -0.5px;
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;
36
44
  }
45
+ span {
46
+ display: none;
37
47
 
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;
45
- }
46
- span {
47
- display: none;
48
-
49
- @media ${device['laptop']} {
50
- display: inline;
51
- }
48
+ @media ${device['laptop']} {
49
+ display: inline;
52
50
  }
53
51
  }
54
52
  }
53
+ }
55
54
 
56
- .top-bar-mobile {
57
- font-size: 14px;
58
- padding: 8px 10px;
59
- letter-spacing: normal;
60
- }
55
+ .top-bar-mobile {
56
+ font-size: 14px;
57
+ padding: 8px 10px;
58
+ letter-spacing: normal;
59
+ }
61
60
 
62
- &.hide-header-in-mobile {
63
- position: relative;
61
+ &.hide-header-in-mobile {
62
+ position: relative;
64
63
 
65
- @media ${device['landscape-tablets']} {
66
- position: sticky;
67
- }
64
+ @media ${device['landscape-tablets']} {
65
+ position: sticky;
68
66
  }
67
+ }
69
68
 
70
- &__inner {
71
- max-width: 1200px;
72
- padding: 1rem 1.5rem;
73
- align-items: center;
74
- justify-content: space-between;
69
+ &__inner {
70
+ max-width: 1200px;
71
+ padding: 1rem 1.5rem;
72
+ align-items: center;
73
+ justify-content: space-between;
75
74
 
76
- @media (min-width: ${size.sm}) {
77
- padding: 1rem;
78
- }
75
+ @media (min-width: ${size.sm}) {
76
+ padding: 1rem;
79
77
  }
78
+ }
80
79
 
81
- &__logo {
82
- z-index: 200;
83
- min-width: max-content;
84
- }
80
+ &__logo {
81
+ z-index: 200;
82
+ min-width: max-content;
83
+ }
85
84
 
86
- &.transparent-header-background {
87
- background-color: transparent;
88
- }
85
+ &.transparent-header-background {
86
+ background-color: transparent;
87
+ }
89
88
 
90
- &.form-header-background {
91
- background-color: var(--others-white);
92
- }
89
+ &.form-header-background {
90
+ background-color: var(--others-white);
91
+ }
93
92
 
94
- &.esignature-header-background {
95
- background-color: var(--neutral-neutral-5);
96
- }
93
+ &.esignature-header-background {
94
+ background-color: var(--neutral-neutral-5);
95
+ }
97
96
 
98
- .--no-grid {
99
- padding: 0 2rem;
100
- }
97
+ .--no-grid {
98
+ padding: 0 2rem;
99
+ }
101
100
 
102
- &.--is-open {
103
- background: var(--others-white);
104
- position: fixed;
105
- width: 100%;
106
- }
101
+ &.--is-open {
102
+ background: var(--others-white);
103
+ position: fixed;
104
+ width: 100%;
105
+ }
107
106
 
108
- a {
109
- text-decoration: none;
110
- }
107
+ a {
108
+ text-decoration: none;
109
+ }
111
110
 
112
- .refresh-container {
113
- height: 70px;
114
- padding-top: 10px;
111
+ .refresh-container {
112
+ height: 70px;
113
+ padding-top: 10px;
115
114
 
116
- .e-button {
117
- width: 140px;
118
- margin-left: auto;
119
- margin-right: auto;
120
- }
115
+ .e-button {
116
+ width: 140px;
117
+ margin-left: auto;
118
+ margin-right: auto;
121
119
  }
122
120
  }
123
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;
@@ -23,102 +29,94 @@ export const HeaderStyled = styled.header`
23
29
  box-shadow: var(--box-shadow-small);
24
30
  }
25
31
 
26
- .header {
27
- background-color: var(--primary-main-light-6);
28
- position: sticky;
29
- top: 0;
30
- transition: all 0.3s ease;
31
- z-index: 1000;
32
+ .top-bar-wrapper {
33
+ .top-bar {
34
+ font-size: 0.78rem;
35
+ letter-spacing: -0.5px;
36
+ }
32
37
 
33
- .top-bar-wrapper {
34
- .top-bar {
35
- font-size: 0.78rem;
36
- letter-spacing: -0.5px;
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;
37
45
  }
46
+ span {
47
+ display: none;
38
48
 
39
- .top-bar-content {
40
- width: 100%;
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
- }
49
+ @media ${device['laptop']} {
50
+ display: inline;
53
51
  }
54
52
  }
55
53
  }
54
+ }
56
55
 
57
- .top-bar-mobile {
58
- font-size: 14px;
59
- padding: 8px 10px;
60
- letter-spacing: normal;
61
- }
56
+ .top-bar-mobile {
57
+ font-size: 14px;
58
+ padding: 8px 10px;
59
+ letter-spacing: normal;
60
+ }
62
61
 
63
- &.hide-header-in-mobile {
64
- position: relative;
62
+ &.hide-header-in-mobile {
63
+ position: relative;
65
64
 
66
- @media ${device['landscape-tablets']} {
67
- position: sticky;
68
- }
65
+ @media ${device['landscape-tablets']} {
66
+ position: sticky;
69
67
  }
68
+ }
70
69
 
71
- &__inner {
72
- max-width: 1200px;
73
- padding: 1rem 1.5rem;
74
- align-items: center;
75
- justify-content: space-between;
70
+ &__inner {
71
+ max-width: 1200px;
72
+ padding: 1rem 1.5rem;
73
+ align-items: center;
74
+ justify-content: space-between;
76
75
 
77
- @media (min-width: ${size.sm}) {
78
- padding: 1rem;
79
- }
76
+ @media (min-width: ${size.sm}) {
77
+ padding: 1rem;
80
78
  }
79
+ }
81
80
 
82
- &__logo {
83
- z-index: 200;
84
- min-width: max-content;
85
- }
81
+ &__logo {
82
+ z-index: 200;
83
+ min-width: max-content;
84
+ }
86
85
 
87
- &.transparent-header-background {
88
- background-color: transparent;
89
- }
86
+ &.transparent-header-background {
87
+ background-color: transparent;
88
+ }
90
89
 
91
- &.form-header-background {
92
- background-color: var(--others-white);
93
- }
90
+ &.form-header-background {
91
+ background-color: var(--others-white);
92
+ }
94
93
 
95
- &.esignature-header-background {
96
- background-color: var(--neutral-neutral-5);
97
- }
94
+ &.esignature-header-background {
95
+ background-color: var(--neutral-neutral-5);
96
+ }
98
97
 
99
- .--no-grid {
100
- padding: 0 2rem;
101
- }
98
+ .--no-grid {
99
+ padding: 0 2rem;
100
+ }
102
101
 
103
- &.--is-open {
104
- background: var(--others-white);
105
- position: fixed;
106
- width: 100%;
107
- }
102
+ &.--is-open {
103
+ background: var(--others-white);
104
+ position: fixed;
105
+ width: 100%;
106
+ }
108
107
 
109
- a {
110
- text-decoration: none;
111
- }
108
+ a {
109
+ text-decoration: none;
110
+ }
112
111
 
113
- .refresh-container {
114
- height: 70px;
115
- padding-top: 10px;
112
+ .refresh-container {
113
+ height: 70px;
114
+ padding-top: 10px;
116
115
 
117
- .e-button {
118
- width: 140px;
119
- margin-left: auto;
120
- margin-right: auto;
121
- }
116
+ .e-button {
117
+ width: 140px;
118
+ margin-left: auto;
119
+ margin-right: auto;
122
120
  }
123
121
  }
124
122
  `
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@npm_leadtech/legal-lib-components",
3
- "version": "7.12.6",
3
+ "version": "7.12.7",
4
4
  "license": "ISC",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",