@fishawack/lab-velocity 2.0.0-beta.3 → 2.0.0-beta.5

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.
@@ -0,0 +1,142 @@
1
+ @import "element-plus/theme-chalk/el-dropdown";
2
+ @import "element-plus/theme-chalk/el-dropdown-item";
3
+ @import "element-plus/theme-chalk/el-dialog";
4
+ @import "./button.scss";
5
+
6
+ .vel-wysiwyg__controls {
7
+ background-color: $color0;
8
+ display: flex;
9
+ flex-grow: 1;
10
+ border: solid $color5 2px;
11
+ border-bottom: none;
12
+ // margin-bottom: .5 * $spacing;
13
+ font-size: get-ratio(14px);
14
+ padding: 0 0.5 * $spacing;
15
+ > * {
16
+ padding: 0.5 * $spacing;
17
+ padding-right: $spacing;
18
+ --el-font-size-base: get-ratio(14px);
19
+ &:not(:last-child) {
20
+ border-right: solid 1px $color5;
21
+ }
22
+ }
23
+
24
+ button {
25
+ // border: solid 1px $color1;
26
+ background-color: transparent;
27
+ cursor: pointer;
28
+ min-width: 28px;
29
+ padding: 3px 5px;
30
+ line-height: 1;
31
+ border: none;
32
+ &.is-active,
33
+ &:hover {
34
+ background-color: $color5;
35
+ }
36
+ svg {
37
+ height: 90%;
38
+ }
39
+ }
40
+ .el-dropdown {
41
+ line-height: 1.15;
42
+ }
43
+
44
+ .ql-stroke {
45
+ fill: none;
46
+ stroke: #444;
47
+ stroke-linecap: round;
48
+ stroke-linejoin: round;
49
+ stroke-width: 2;
50
+ }
51
+
52
+ .ql-stroke-miter {
53
+ fill: none;
54
+ stroke: #444;
55
+ stroke-miterlimit: 10;
56
+ stroke-width: 2;
57
+ }
58
+
59
+ .ql-fill,
60
+ .ql-stroke.ql-fill {
61
+ fill: #444;
62
+ }
63
+
64
+ .ql-empty {
65
+ fill: none;
66
+ }
67
+
68
+ .ql-even {
69
+ fill-rule: evenodd;
70
+ }
71
+
72
+ .ql-thin,
73
+ .ql-stroke.ql-thin {
74
+ stroke-width: 1;
75
+ }
76
+
77
+ .ql-transparent {
78
+ opacity: 0.4;
79
+ }
80
+
81
+ ~ div {
82
+ // margin-top: $spacing;
83
+ border: solid $color5 2px;
84
+ background-color: $color0;
85
+ > div {
86
+ padding: 2 * $spacing;
87
+ }
88
+ }
89
+ }
90
+ .vel-wysiwyg__button {
91
+ // border: solid 1px $color1;
92
+ background-color: transparent;
93
+ // cursor: pointer;
94
+
95
+ &.is-active,
96
+ &:hover {
97
+ background-color: $color5;
98
+ }
99
+ }
100
+
101
+ .vel-wysiwyg {
102
+ // border: solid $color1 1px;
103
+ // padding: $spacing * 1.5;
104
+
105
+ table,
106
+ td,
107
+ th {
108
+ border: solid 0.5px $color1;
109
+ }
110
+ th {
111
+ background-color: $color5;
112
+ }
113
+ hr {
114
+ height: 1px;
115
+ background-color: $color1;
116
+ }
117
+ a {
118
+ text-decoration: underline;
119
+ }
120
+ }
121
+
122
+ .lab-table,
123
+ .lab-table-cell,
124
+ .lab-table-header {
125
+ border: solid 0.5px $color1;
126
+ }
127
+ .lab-table-header {
128
+ background-color: $color5;
129
+ }
130
+
131
+ .lab-table {
132
+ a {
133
+ text-decoration: underline;
134
+ }
135
+ }
136
+ .lab-table-cell {
137
+ &:active,
138
+ &:focus-within,
139
+ &.selectedCell {
140
+ background-color: transparentize($color: $color5, $amount: 0.8);
141
+ }
142
+ }
@@ -0,0 +1,212 @@
1
+ @import "./AuthVariables";
2
+ @import "element-plus/theme-chalk/base";
3
+ @import "../components/input.scss";
4
+ @import "../components/button";
5
+ @import "../components/basic";
6
+ @import "./modal";
7
+
8
+ // AuthModule
9
+ .AuthModule {
10
+ position: fixed;
11
+ background-color: black;
12
+ height: 100vh;
13
+ width: 100%;
14
+ background: url("../media/content/images/hero-auth-background-desktop.jpg")
15
+ center top no-repeat;
16
+ background-size: cover;
17
+ z-index: 10;
18
+
19
+ .logo {
20
+ width: 13.3rem;
21
+ z-index: 99;
22
+ }
23
+ @include breakpoint(max-width $tabletMax) {
24
+ background: url("../media/content/images/hero-auth-background-tablet.jpg")
25
+ center top no-repeat;
26
+ }
27
+ @include breakpoint(max-width $mobileMax) {
28
+ background: url("../media/content/images/hero-auth-background-mobile.jpg")
29
+ center top no-repeat;
30
+ }
31
+ }
32
+
33
+ .AuthModule__form {
34
+ position: absolute;
35
+ top: 50%;
36
+ left: 50%;
37
+ transform: translate(-50%, -50%);
38
+ background-color: white;
39
+ min-width: 320px;
40
+ width: 460px;
41
+ padding: 48px 40px 40px;
42
+ z-index: 1;
43
+
44
+ @include breakpoint(max-width $mobileMax) {
45
+ top: 84px;
46
+ transform: translate(-50%, 0);
47
+ padding: 24px;
48
+ width: calc(100% - 80px);
49
+ h2 .h2 {
50
+ font-size: 24px;
51
+ line-height: 32px;
52
+ }
53
+ }
54
+
55
+ h2,
56
+ .h2 {
57
+ line-height: 50px;
58
+ font-size: 48px;
59
+ }
60
+ .h2--small {
61
+ font-size: 36px;
62
+ line-height: 44px;
63
+ }
64
+
65
+ p {
66
+ font-size: 14px;
67
+ line-height: 20px;
68
+ margin-bottom: 24px;
69
+ letter-spacing: -0.1px;
70
+ &.disclaimer {
71
+ font-size: 12px;
72
+ color: rgba($color1, 0.5);
73
+ margin: 0;
74
+ }
75
+ a {
76
+ color: $color1;
77
+ }
78
+ &.form__error {
79
+ font-size: 12px;
80
+ line-height: 18px;
81
+ }
82
+ }
83
+
84
+ .vel-button {
85
+ max-width: 200px;
86
+ width: 200px;
87
+ padding: 9px 23.5px;
88
+ font-size: 14px;
89
+ @include breakpoint(max-width $mobileMax) {
90
+ max-width: unset;
91
+ width: 100%;
92
+ }
93
+ }
94
+
95
+ .form {
96
+ &.error {
97
+ .form__input {
98
+ .el-input__wrapper {
99
+ border: 0.4px solid red;
100
+ }
101
+ }
102
+ .form__input.error {
103
+ border: none;
104
+ .el-input__wrapper {
105
+ border: 0.4px solid red;
106
+ }
107
+ }
108
+ }
109
+ // &__icon-container{
110
+ // position: absolute;
111
+ // top: 50%;
112
+ // right: $spacing * 1.5;
113
+ // transform: translateY(-50%);
114
+ // display: flex;
115
+ // }
116
+ // &__action-icon {
117
+ // margin-left: $spacing * 0.5;
118
+ // cursor: pointer;
119
+ // }
120
+ }
121
+ .vel-basic__label {
122
+ font-size: 12px;
123
+ color: rgba($color1, 0.5);
124
+ }
125
+ .vel-basic__textbox {
126
+ --el-border-color: #cfd8dd;
127
+ --el-input-text-color: #666666;
128
+ --el-input-focus-border-color: #cfd8dd;
129
+ --el-input-hover-border-color: #cfd8dd;
130
+ font-size: 14px;
131
+ padding-bottom: $am-spacing * 2.5;
132
+ .el-input__inner {
133
+ --el-input-inner-height: 38px;
134
+ }
135
+ }
136
+ .el-button--primary {
137
+ --el-button-text-color: #ffffff;
138
+ }
139
+ input,
140
+ input:focus {
141
+ @extend .el-input__inner;
142
+ }
143
+ }
144
+
145
+ .AuthModule__logo__container {
146
+ position: absolute;
147
+ top: 48px;
148
+ left: 0%;
149
+ }
150
+ .AuthModule__logo {
151
+ position: relative;
152
+ }
153
+ .AuthModule__Content {
154
+ position: absolute;
155
+ z-index: 1;
156
+ top: 50%;
157
+ left: 50%;
158
+ transform: translate(-50%, -50%);
159
+ max-width: 1024px;
160
+ width: 100%;
161
+ height: 100%;
162
+ }
163
+
164
+ .AM-mb {
165
+ margin-bottom: $am-spacing !important;
166
+ }
167
+ .AM-mt {
168
+ margin-top: $am-spacing !important;
169
+ }
170
+ .AM-pb {
171
+ padding-bottom: $am-spacing !important;
172
+ }
173
+ .AM-pt {
174
+ padding-top: $am-spacing !important;
175
+ }
176
+ @for $i from 1 through 5 {
177
+ .AM-mb-#{$i - 1} {
178
+ margin-bottom: ($i - 1) * $am-spacing !important;
179
+ }
180
+
181
+ .AM-mb-#{$i - 1}\.5 {
182
+ margin-bottom: ($i - 0.5) * $am-spacing !important;
183
+ }
184
+
185
+ .AM-mt-#{$i - 1} {
186
+ margin-top: ($i - 1) * $am-spacing !important;
187
+ }
188
+
189
+ .AM-mt-#{$i - 1}\.5 {
190
+ margin-top: ($i - 0.5) * $am-spacing !important;
191
+ }
192
+
193
+ .AM-pt-#{$i - 1} {
194
+ padding-top: ($i - 1) * $am-spacing !important;
195
+ }
196
+
197
+ .AM-pt-#{$i - 1}\.5 {
198
+ padding-top: ($i - 0.5) * $am-spacing !important;
199
+ }
200
+
201
+ .AM-pb-#{$i - 1} {
202
+ padding-bottom: ($i - 1) * $am-spacing !important;
203
+ }
204
+
205
+ .AM-pb-#{$i - 1}\.5 {
206
+ padding-bottom: ($i - 0.5) * $am-spacing !important;
207
+ }
208
+ }
209
+
210
+ .AM-color-highlight {
211
+ color: $am-highlight;
212
+ }
@@ -0,0 +1,7 @@
1
+ $am-spacing: 8px;
2
+ $am-highlight: #3c976e;
3
+
4
+ $color8: #f2f2f2; //Used
5
+ $color10: #dcdbdb;
6
+ $color12: #5c5c5c;
7
+ $colorAlert: #d53a3a;
@@ -0,0 +1,24 @@
1
+ @import "@fishawack/lab-ui/_modal.scss";
2
+
3
+ .modal--auth {
4
+ background-color: transparent;
5
+
6
+ transition: all 500ms ease-in-out;
7
+
8
+ &::before {
9
+ content: "";
10
+ pointer-events: none;
11
+ z-index: 0 !important;
12
+ position: fixed;
13
+ width: 100%;
14
+ height: 100%;
15
+ background: #00000066;
16
+ backdrop-filter: blur(1.5rem);
17
+ top: 0;
18
+ left: 0;
19
+ right: 0;
20
+ }
21
+ }
22
+ .AuthModule__form.modal__box {
23
+ position: absolute;
24
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fishawack/lab-velocity",
3
- "version": "2.0.0-beta.3",
3
+ "version": "2.0.0-beta.5",
4
4
  "description": "Avalere Health branded style system",
5
5
  "scripts": {
6
6
  "setup": "npm ci || npm i && npm run content",
@@ -62,6 +62,8 @@
62
62
  },
63
63
  "files": [
64
64
  "*.scss",
65
+ "modules",
66
+ "components",
65
67
  "_Build/vue/components",
66
68
  "_Build/vue/modules/AuthModule"
67
69
  ],