@rypen-dev/shared-components 5.0.5 → 5.0.6

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.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@rypen-dev/shared-components",
3
3
  "description": "Shared styles and Vuejs ui components for Rypen projects.",
4
- "version": "5.0.5",
4
+ "version": "5.0.6",
5
5
  "main": "./dist/index.js",
6
6
  "scripts": {
7
7
  "build": "webpack --config ./webpack.config.js",
@@ -341,4 +341,64 @@ hr {
341
341
  margin-bottom: 8px;
342
342
  }
343
343
  }
344
+ }
345
+
346
+ .switch-views {
347
+ text-align: center;
348
+
349
+ a {
350
+ display: inline-block;
351
+ font-family: $headline-font-family;
352
+ text-transform: uppercase;
353
+ font-weight: 500;
354
+ color: $secondary;
355
+ margin: 0 10px;
356
+
357
+ &:first-child {
358
+ margin-left: 0;
359
+ }
360
+
361
+ &:last-child {
362
+ margin-right: 0;
363
+ }
364
+
365
+ span {
366
+ display: inline-block;
367
+ border-bottom: solid 2px transparent;
368
+ padding: 3px 0;
369
+ margin-left: 3px;
370
+ }
371
+
372
+ i {
373
+ color: $tertiary;
374
+ }
375
+
376
+ &:hover,
377
+ &.active {
378
+ color: $primary !important;
379
+
380
+ span {
381
+ border-bottom-color: $primary;
382
+ }
383
+
384
+ i {
385
+ color: $primary;
386
+ }
387
+ }
388
+ }
389
+
390
+ @media (min-width: map-get($breakpoints, large)) {
391
+ a {
392
+ font-size: 1.125rem;
393
+ margin: 0 20px;
394
+
395
+ span {
396
+ border-bottom-width: 3px;
397
+ }
398
+
399
+ i {
400
+ font-size: 1.25rem;
401
+ }
402
+ }
403
+ }
344
404
  }
@@ -3,27 +3,6 @@
3
3
  /// <reference path="./vendor/foundation-settings" />
4
4
 
5
5
  // --> Originally from layout.scss
6
- .icon {
7
- .color-target {
8
- fill: $primary;
9
- transition: fill 80ms ease-in;
10
- }
11
- }
12
-
13
- .pill-container {
14
- &:not(.text-right) {
15
- .pill:first-child {
16
- margin-left: 0;
17
- }
18
- }
19
-
20
- &.text-right {
21
- .pill:last-child {
22
- margin-right: 0;
23
- }
24
- }
25
- }
26
-
27
6
  .pill.menu {
28
7
  &::before,
29
8
  &::after {
@@ -88,6 +67,7 @@
88
67
  letter-spacing: 1px;
89
68
  font-weight: 500;
90
69
  background-color: $white;
70
+ transition: border-color 200ms, color 200ms;
91
71
  z-index: 200;
92
72
 
93
73
  .mini-loader {
@@ -95,6 +75,7 @@
95
75
  top: -3px;
96
76
  margin-right: 5px;
97
77
  border-color: $success-alt;
78
+ transition: border-color 200ms;
98
79
  }
99
80
 
100
81
  &::after {
@@ -119,6 +100,19 @@
119
100
  background-color: fade-out($primary, 0.75);
120
101
  }
121
102
  }
103
+
104
+ &.error {
105
+ border-color: $alert;
106
+ color: $alert;
107
+
108
+ .mini-loader {
109
+ border-color: $alert;
110
+ }
111
+
112
+ &::after {
113
+ background-color: fade-out($alert, 0.75);
114
+ }
115
+ }
122
116
  }
123
117
 
124
118
  .button-with-count {
@@ -790,10 +784,6 @@
790
784
  }
791
785
  }
792
786
 
793
- .working-screen-container {
794
- position: relative;
795
- }
796
-
797
787
  // --> Originally from typography.scss
798
788
  label {
799
789
  text-transform: none;
@@ -0,0 +1,152 @@
1
+ /// <reference path="./variables" />
2
+ /// <reference path="./mixins" />
3
+ /// <reference path="./vendor/foundation-settings" />
4
+
5
+ .project-footer {
6
+ margin-top: 30px;
7
+
8
+ .project-notes-container {
9
+ padding-bottom: 20px;
10
+ margin-bottom: 20px;
11
+ border-bottom: 3px solid $medium-gray;
12
+
13
+ h5 {
14
+ font-size: 1.5rem;
15
+ margin-bottom: 1rem;
16
+ }
17
+ }
18
+
19
+ .project-totals-container {
20
+ margin-bottom: 30px;
21
+ }
22
+
23
+ @media (min-width: map-get($breakpoints, medium)) {
24
+ margin-top: 50px;
25
+ display: flex;
26
+ justify-content: space-between;
27
+
28
+ .project-notes-container {
29
+ flex-grow: 1;
30
+ padding-right: 50px;
31
+ margin-right: 50px;
32
+ border-right: 3px solid $medium-gray;
33
+ border-bottom: 0;
34
+ padding-bottom: 0;
35
+ margin-bottom: 0;
36
+ }
37
+
38
+ .project-totals-container {
39
+ flex-shrink: 0;
40
+ margin-left: auto;
41
+ margin-bottom: 0;
42
+ width: 450px;
43
+ }
44
+ }
45
+ }
46
+
47
+ .project-totals {
48
+ h5 {
49
+ font-size: 1.5rem;
50
+ margin-bottom: 1rem;
51
+ }
52
+
53
+ .discount-container {
54
+ margin-bottom: 30px;
55
+ background-color: $light-gray;
56
+ padding: 20px;
57
+ font-size: 0.9375rem;
58
+ color: $dark-gray;
59
+
60
+ h5 {
61
+ font-size: 1.1325rem;
62
+ letter-spacing: 1px;
63
+
64
+ &.inline {
65
+ display: inline-block;
66
+ margin-bottom: 0;
67
+ }
68
+ }
69
+ }
70
+
71
+ .totals {
72
+ margin: 1rem 0;
73
+ font-size: 0.9375rem;
74
+ color: $dark-gray;
75
+
76
+ .row {
77
+ display: flex;
78
+ flex-wrap: nowrap;
79
+ justify-content: space-between;
80
+ align-items: flex-end;
81
+ margin-bottom: 12px;
82
+
83
+ .item-cell {
84
+ &.value {
85
+ width: 150px;
86
+ }
87
+ }
88
+
89
+ &.warning-row {
90
+ display: block;
91
+ color: $warning;
92
+ text-align: center;
93
+ font-size: 1.0625rem;
94
+ font-weight: 600;
95
+ margin-top: 24px;
96
+ }
97
+ }
98
+ }
99
+ }
100
+
101
+ .proposal-group,
102
+ .moodboard-group {
103
+ .group-name {
104
+ background-color: $medium-gray;
105
+ padding: 10px 15px;
106
+ font-weight: 400;
107
+ font-size: 1.125rem;
108
+ text-transform: uppercase;
109
+ font-family: $headline-font-family;
110
+ color: $secondary-alt;
111
+ margin-bottom: 8px;
112
+ position: relative;
113
+
114
+ span {
115
+ display: inline-block;
116
+ }
117
+
118
+ a {
119
+ display: block;
120
+ color: $secondary-alt;
121
+
122
+ i {
123
+ margin-left: 5px;
124
+ }
125
+ }
126
+
127
+ .actions {
128
+ position: absolute;
129
+ right: 15px;
130
+ top: 10px;
131
+ white-space: nowrap;
132
+
133
+ > div {
134
+ display: inline-block;
135
+ }
136
+ }
137
+
138
+ &.with-actions {
139
+ padding-right: 80px;
140
+ }
141
+ }
142
+
143
+ @media (min-width: map-get($breakpoints, medium)) {
144
+ .group-name {
145
+ font-size: 1.25rem;
146
+
147
+ a i {
148
+ margin-left: 10px;
149
+ }
150
+ }
151
+ }
152
+ }