vhx-quartz 0.9.6 → 0.10.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -27,25 +27,15 @@
27
27
  ..................................... */
28
28
  /* helper function for margin and padding
29
29
  ......................................*/
30
- /*
31
- Mithril Chosen-like Dropdown w/ Search styles
32
- See app/assets/javascripts/_shared/components/select/select.ui.js for markup
33
- */
34
- .c-select--container {
35
- position: relative; }
36
-
37
30
  .c-select--dropdown {
38
31
  position: absolute;
39
32
  max-height: 282px;
40
33
  top: 55px;
41
34
  left: 0;
42
- width: 100%;
43
- background-color: #fff;
44
- background: #ffffff;
45
35
  z-index: 2147483600;
46
- border: 1px solid #D7DDE1;
47
- border-radius: 5px;
48
36
  display: none; }
37
+ .c-select--dropdown.has-trigger {
38
+ top: 35px; }
49
39
  .c-select--dropdown.is-open {
50
40
  display: block; }
51
41
 
@@ -72,41 +62,25 @@
72
62
  border-width: 9px; }
73
63
 
74
64
  .c-select--input-container {
75
- position: absolute;
76
- width: 100%;
77
- border-radius: 5px;
78
65
  z-index: 2;
79
- background: #fff; }
66
+ position: absolute; }
80
67
 
81
68
  .c-select--container.has-search .c-select--dropdown {
82
69
  min-height: 150px; }
83
70
  .c-select--container.has-search .c-select--options {
84
- margin-top: 70px; }
71
+ margin-top: 80px; }
85
72
 
86
73
  .c-select--options {
87
74
  margin-top: 15px;
88
75
  margin-bottom: 15px;
89
76
  overflow-y: auto;
90
77
  max-height: 210px; }
91
- .c-select--options.is-loading {
92
- background-position: center center;
93
- background-size: 40px;
94
- background-repeat: no-repeat;
95
- background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg%20version%3D%221.1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%20x%3D%220px%22%20y%3D%220px%22%0D%0A%20%20viewBox%3D%220%200%2040%2040%22%20xml%3Aspace%3D%22preserve%22%3E%0D%0A%3Cpath%20opacity%3D%220.2%22%20fill%3D%22%237a878e%22%20d%3D%22M20.201%2C5.169c-8.254%2C0-14.946%2C6.692-14.946%2C14.946c0%2C8.255%2C6.692%2C14.946%2C14.946%2C14.946%0D%0A%20%20s14.946-6.691%2C14.946-14.946C35.146%2C11.861%2C28.455%2C5.169%2C20.201%2C5.169z%20M20.201%2C31.749c-6.425%2C0-11.634-5.208-11.634-11.634%0D%0A%20%20c0-6.425%2C5.209-11.634%2C11.634-11.634c6.425%2C0%2C11.633%2C5.209%2C11.633%2C11.634C31.834%2C26.541%2C26.626%2C31.749%2C20.201%2C31.749z%22%2F%3E%0D%0A%3Cpath%20fill%3D%22%237a878e%22%20d%3D%22M26.013%2C10.047l1.654-2.866c-2.198-1.272-4.743-2.012-7.466-2.012h0v3.312h0%0D%0A%20%20C22.32%2C8.481%2C24.301%2C9.057%2C26.013%2C10.047z%22%3E%0D%0A%20%20%3CanimateTransform%20attributeType%3D%22xml%22%0D%0A%20%20%20%20attributeName%3D%22transform%22%0D%0A%20%20%20%20type%3D%22rotate%22%0D%0A%20%20%20%20from%3D%220%2020%2020%22%0D%0A%20%20%20%20to%3D%22360%2020%2020%22%0D%0A%20%20%20%20dur%3D%220.5s%22%0D%0A%20%20%20%20repeatCount%3D%22indefinite%22%2F%3E%0D%0A%20%20%3C%2Fpath%3E%0D%0A%3C%2Fsvg%3E"); }
96
- .c-select--options.is-loading li {
97
- opacity: 0; }
98
78
 
99
79
  .c-select--option {
100
80
  color: #233741; }
101
81
  .c-select--option.is-selected {
102
82
  cursor: pointer;
103
83
  background-color: #F0F2F4; }
104
- .c-select--option.padding-horizontal-large {
105
- padding-left: 25px !important;
106
- padding-right: 25px !important; }
107
- .c-select--option.padding-vertical-small {
108
- padding-top: 0.3125rem !important;
109
- padding-bottom: 0.3125rem !important; }
110
84
 
111
85
  .c-select--item-label {
112
86
  max-width: 80%;
@@ -114,3 +88,39 @@
114
88
  overflow: hidden;
115
89
  text-overflow: ellipsis;
116
90
  display: inline-block; }
91
+
92
+ .c-media-item--container {
93
+ transition: background-color .2s ease-out; }
94
+ .c-media-item--container:hover, .c-media-item--container.is-selected {
95
+ cursor: pointer;
96
+ background-color: rgba(34, 185, 176, 0.1); }
97
+ .c-media-item--container:hover .c-item-toggle, .c-media-item--container.is-selected .c-item-toggle {
98
+ opacity: 1; }
99
+
100
+ .c-item-toggle {
101
+ opacity: 0;
102
+ width: 32px;
103
+ height: 32px;
104
+ border-radius: 50%;
105
+ background-position: center;
106
+ background-color: #22B9B0;
107
+ transform: translateY(8px);
108
+ transition: opacity .2s ease-out; }
109
+ .c-item-toggle.is-selected {
110
+ background-color: #ffffff;
111
+ opacity: 1; }
112
+
113
+ .c-select--footer .btn-teal {
114
+ border-top-left-radius: 0px;
115
+ border-top-right-radius: 0px; }
116
+ .c-select--footer .btn-teal:link,
117
+ .c-select--footer .btn-teal:visited {
118
+ background-color: white;
119
+ border-color: white;
120
+ color: #22B9B0; }
121
+ .c-select--footer .btn-teal:hover,
122
+ .c-select--footer .btn-teal:active,
123
+ .c-select--footer .btn-teal.is-loading {
124
+ background-color: #22B9B0;
125
+ border-color: #22B9B0;
126
+ color: #ffffff; }
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.9.6
4
+ version: 0.10.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-09-16 00:00:00.000000000 Z
11
+ date: 2016-09-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: railties