vhx-quartz 0.8.18 → 0.9.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/vhx/quartz/version.rb +1 -1
- data/vendor/assets/javascripts/vhx-quartz.modal.js +126 -0
- data/vendor/assets/javascripts/vhx-quartz.radio.js +41 -5
- data/vendor/assets/javascripts/vhx-quartz.scope.js +7 -1
- data/vendor/assets/javascripts/vhx-quartz.tag.js +39 -0
- data/vendor/assets/stylesheets/vhx-quartz.css +68 -447
- data/vendor/assets/stylesheets/vhx-quartz.min.css +1 -1
- data/vendor/assets/stylesheets/vhx-quartz.modal.css +134 -0
- data/vendor/assets/stylesheets/vhx-quartz.radio.css +22 -4
- data/vendor/assets/stylesheets/vhx-quartz.tag.css +18 -0
- metadata +6 -2
@@ -0,0 +1,134 @@
|
|
1
|
+
/* .....................................
|
2
|
+
Fonts
|
3
|
+
..................................... */
|
4
|
+
/* .....................................
|
5
|
+
Sets
|
6
|
+
..................................... */
|
7
|
+
/* .....................................
|
8
|
+
Media Query Ranges
|
9
|
+
..................................... */
|
10
|
+
/* .....................................
|
11
|
+
Colors - Grays
|
12
|
+
..................................... */
|
13
|
+
/* .....................................
|
14
|
+
Colors - Teals
|
15
|
+
..................................... */
|
16
|
+
/* .....................................
|
17
|
+
Colors - Red
|
18
|
+
..................................... */
|
19
|
+
/* .....................................
|
20
|
+
Colors - Navy
|
21
|
+
..................................... */
|
22
|
+
/* .....................................
|
23
|
+
Colors - Brand Palette
|
24
|
+
..................................... */
|
25
|
+
/* .....................................
|
26
|
+
Colors - External Palette
|
27
|
+
..................................... */
|
28
|
+
/* helper function for margin and padding
|
29
|
+
......................................*/
|
30
|
+
.c-modal {
|
31
|
+
position: fixed;
|
32
|
+
left: -9999px; }
|
33
|
+
.c-modal.is-active, .c-modal.is-open {
|
34
|
+
z-index: 2147483639;
|
35
|
+
position: relative;
|
36
|
+
left: 0; }
|
37
|
+
.c-modal.is-active .c-modal-container, .c-modal.is-open .c-modal-container {
|
38
|
+
position: fixed;
|
39
|
+
animation: modal-open 200ms ease forwards; }
|
40
|
+
.c-modal.is-active .c-modal-bg, .c-modal.is-open .c-modal-bg {
|
41
|
+
animation: modal-bg-open 300ms ease forwards; }
|
42
|
+
.c-modal .c-modal-container {
|
43
|
+
animation: modal-close 200ms ease forwards;
|
44
|
+
width: 450px;
|
45
|
+
background: #ffffff;
|
46
|
+
box-shadow: 0 0 7px rgba(0, 0, 0, 0.2);
|
47
|
+
border-radius: 0px;
|
48
|
+
bottom: 50%;
|
49
|
+
margin-left: -225px;
|
50
|
+
position: absolute; }
|
51
|
+
.c-modal .c-modal-container.c-modal--small {
|
52
|
+
width: 300px;
|
53
|
+
margin-left: -150px; }
|
54
|
+
.c-modal .c-modal-container.c-modal--medium {
|
55
|
+
width: 450px;
|
56
|
+
margin-left: -225px; }
|
57
|
+
.c-modal .c-modal-container.c-modal--large {
|
58
|
+
width: 650px;
|
59
|
+
margin-left: -325px; }
|
60
|
+
.c-modal .c-modal-container.c-modal--has-actions {
|
61
|
+
padding-bottom: 65px; }
|
62
|
+
.c-modal .c-modal-container .c-modal--close {
|
63
|
+
display: block;
|
64
|
+
position: absolute;
|
65
|
+
top: -25px;
|
66
|
+
right: -25px;
|
67
|
+
cursor: pointer;
|
68
|
+
width: 16px; }
|
69
|
+
.c-modal .c-modal-container .c-modal--header {
|
70
|
+
border-bottom: 1px solid rgba(55, 86, 103, 0.2); }
|
71
|
+
.c-modal .c-modal-container .c-modal--actions {
|
72
|
+
background: #ffffff;
|
73
|
+
border-top: 1px solid rgba(55, 86, 103, 0.2);
|
74
|
+
position: absolute;
|
75
|
+
bottom: 0;
|
76
|
+
left: 0;
|
77
|
+
width: 100%; }
|
78
|
+
.c-modal .c-modal-bg {
|
79
|
+
background-color: rgba(0, 20, 43, 0.55);
|
80
|
+
position: fixed;
|
81
|
+
width: 100%;
|
82
|
+
height: 100%;
|
83
|
+
top: 0;
|
84
|
+
animation: modal-bg-close 300ms ease forwards; }
|
85
|
+
|
86
|
+
@keyframes modal-open {
|
87
|
+
0% {
|
88
|
+
left: 50%;
|
89
|
+
z-index: 10;
|
90
|
+
transform: scale(0.5);
|
91
|
+
opacity: 0; }
|
92
|
+
100% {
|
93
|
+
left: 50%;
|
94
|
+
z-index: 10;
|
95
|
+
transform: scale(1);
|
96
|
+
opacity: 1; } }
|
97
|
+
@keyframes modal-close {
|
98
|
+
0% {
|
99
|
+
left: 50%;
|
100
|
+
z-index: 10;
|
101
|
+
transform: scale(1);
|
102
|
+
opacity: 1; }
|
103
|
+
99% {
|
104
|
+
left: 50%;
|
105
|
+
z-index: 10;
|
106
|
+
transform: scale(0.5);
|
107
|
+
opacity: 0; }
|
108
|
+
100% {
|
109
|
+
left: -99999px;
|
110
|
+
z-index: 10;
|
111
|
+
transform: scale(0.5);
|
112
|
+
opacity: 0; } }
|
113
|
+
@keyframes modal-bg-open {
|
114
|
+
0% {
|
115
|
+
z-index: 5;
|
116
|
+
left: 0;
|
117
|
+
opacity: 0; }
|
118
|
+
100% {
|
119
|
+
z-index: 5;
|
120
|
+
left: 0;
|
121
|
+
opacity: 1; } }
|
122
|
+
@keyframes modal-bg-close {
|
123
|
+
0% {
|
124
|
+
z-index: 5;
|
125
|
+
left: 0;
|
126
|
+
opacity: 1; }
|
127
|
+
99% {
|
128
|
+
z-index: 5;
|
129
|
+
left: 0;
|
130
|
+
opacity: 0; }
|
131
|
+
100% {
|
132
|
+
z-index: -10;
|
133
|
+
left: -99999px;
|
134
|
+
opacity: 0; } }
|
@@ -133,15 +133,33 @@
|
|
133
133
|
.form .radio-teal input[type="radio"]:checked + label .radio--icon .circle-bottom {
|
134
134
|
opacity: 1;
|
135
135
|
transition: opacity .2s ease; }
|
136
|
-
.form .radio-gray.radio--stacked,
|
137
|
-
.form .radio-teal.radio--stacked
|
136
|
+
.form .radio-gray.radio--stacked, .form .radio-gray.radio--buttons,
|
137
|
+
.form .radio-teal.radio--stacked,
|
138
|
+
.form .radio-teal.radio--buttons {
|
138
139
|
display: block;
|
139
140
|
height: auto; }
|
140
|
-
.form .radio-gray.radio--stacked li,
|
141
|
-
.form .radio-teal.radio--stacked li
|
141
|
+
.form .radio-gray.radio--stacked li, .form .radio-gray.radio--buttons li,
|
142
|
+
.form .radio-teal.radio--stacked li,
|
143
|
+
.form .radio-teal.radio--buttons li {
|
142
144
|
display: block;
|
143
145
|
margin-right: 0px;
|
144
146
|
margin-bottom: 10px; }
|
147
|
+
.form .radio-gray.radio--buttons li,
|
148
|
+
.form .radio-teal.radio--buttons li {
|
149
|
+
height: auto !important; }
|
150
|
+
.form .radio-gray.radio--buttons li label,
|
151
|
+
.form .radio-teal.radio--buttons li label {
|
152
|
+
padding: 10px;
|
153
|
+
min-height: 58px; }
|
154
|
+
.form .radio-gray.radio--buttons li .radio--label,
|
155
|
+
.form .radio-gray.radio--buttons li label,
|
156
|
+
.form .radio-teal.radio--buttons li .radio--label,
|
157
|
+
.form .radio-teal.radio--buttons li label {
|
158
|
+
height: auto !important; }
|
159
|
+
.form .radio-gray.radio--buttons li .radio--icon,
|
160
|
+
.form .radio-teal.radio--buttons li .radio--icon {
|
161
|
+
margin-top: 8px;
|
162
|
+
background: white; }
|
145
163
|
.form .radio-gray.radio-teal .circle-top span,
|
146
164
|
.form .radio-teal.radio-teal .circle-top span {
|
147
165
|
background: #22B9B0 !important; }
|
@@ -0,0 +1,18 @@
|
|
1
|
+
.c-tag .c-tag--button {
|
2
|
+
z-index: 1; }
|
3
|
+
.c-tag .icon-x-white {
|
4
|
+
position: absolute;
|
5
|
+
right: 0;
|
6
|
+
top: 0;
|
7
|
+
z-index: 0;
|
8
|
+
opacity: 0;
|
9
|
+
border-top-left-radius: 0px;
|
10
|
+
border-bottom-left-radius: 0px;
|
11
|
+
transition: right 500ms cubic-bezier(0.19, 1, 0.22, 1), opacity 300ms ease; }
|
12
|
+
.c-tag.is-hover .c-tag--button {
|
13
|
+
border-top-right-radius: 0px;
|
14
|
+
border-bottom-right-radius: 0px;
|
15
|
+
background-color: #22B9B0 !important; }
|
16
|
+
.c-tag.is-hover .icon-x-white {
|
17
|
+
opacity: 1;
|
18
|
+
right: -38px; }
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: vhx-quartz
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.9.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Scott Robertson, Courtney Burton, Steven Bone, David Gonzalez
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-09-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: railties
|
@@ -97,12 +97,14 @@ files:
|
|
97
97
|
- vendor/assets/javascripts/vhx-quartz.filter.js
|
98
98
|
- vendor/assets/javascripts/vhx-quartz.header.js
|
99
99
|
- vendor/assets/javascripts/vhx-quartz.load_more.js
|
100
|
+
- vendor/assets/javascripts/vhx-quartz.modal.js
|
100
101
|
- vendor/assets/javascripts/vhx-quartz.radio.js
|
101
102
|
- vendor/assets/javascripts/vhx-quartz.scope.js
|
102
103
|
- vendor/assets/javascripts/vhx-quartz.search_input.js
|
103
104
|
- vendor/assets/javascripts/vhx-quartz.select.js
|
104
105
|
- vendor/assets/javascripts/vhx-quartz.sidebar.js
|
105
106
|
- vendor/assets/javascripts/vhx-quartz.sizes.js
|
107
|
+
- vendor/assets/javascripts/vhx-quartz.tag.js
|
106
108
|
- vendor/assets/stylesheets/vhx-quartz.autosuggest.css
|
107
109
|
- vendor/assets/stylesheets/vhx-quartz.avatar.css
|
108
110
|
- vendor/assets/stylesheets/vhx-quartz.checkbox.css
|
@@ -266,10 +268,12 @@ files:
|
|
266
268
|
- vendor/assets/stylesheets/vhx-quartz.icons-ui-white.css
|
267
269
|
- vendor/assets/stylesheets/vhx-quartz.icons-ui.css
|
268
270
|
- vendor/assets/stylesheets/vhx-quartz.min.css
|
271
|
+
- vendor/assets/stylesheets/vhx-quartz.modal.css
|
269
272
|
- vendor/assets/stylesheets/vhx-quartz.radio.css
|
270
273
|
- vendor/assets/stylesheets/vhx-quartz.search_input.css
|
271
274
|
- vendor/assets/stylesheets/vhx-quartz.select.css
|
272
275
|
- vendor/assets/stylesheets/vhx-quartz.sidebar.css
|
276
|
+
- vendor/assets/stylesheets/vhx-quartz.tag.css
|
273
277
|
homepage: http://github.com/vhx/quartz-rails
|
274
278
|
licenses:
|
275
279
|
- MIT
|