dvl-flashes 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b9628d4e2fb13c1af198f10ac0b72e38b28f1bc8
4
- data.tar.gz: 2b909df8016c192d5c1e13529e9143a09dbee4dc
3
+ metadata.gz: d97748038582edd84c1e451ef03b35b90079bdf7
4
+ data.tar.gz: 805bfdb179e9989b53ca927501322a853b5b6725
5
5
  SHA512:
6
- metadata.gz: 29ee7797cf386a886e4771ba10eff663f782357351b662f7ee1538652bb67a157196b098fe114a095a250a2b53268f9e1d275f369b2211943f783c205c86a367
7
- data.tar.gz: a459639d04d87fac5dce3bce86db771f74b8975a9f24921b4b569549dba735c60ac69a999d6754e2e4c22c18aa4cc3a87eb6e6fbb759f2bd1eab388ee9d1bcbd
6
+ metadata.gz: fa9b1f9f567e7cbb03889610979376592f3c559193dc88a29bda8c096cda5787a9182f1ffcb59384defee0d6875b8d6104d9bacf80c231788170a82e03ec9028
7
+ data.tar.gz: 4e087f0210621d19eea0b77133568d718624c12dcc2e6a6ce36c885193b3bc241820525c3e25a5a6f4c27be9d8ad7cf1f63bcadb83fd0a6c28fe9fd1d5b1745f
@@ -1,5 +1,5 @@
1
1
  module Dvl
2
2
  module Flashes
3
- VERSION = '0.0.2'
3
+ VERSION = '0.0.3'
4
4
  end
5
5
  end
@@ -1,4 +1,5 @@
1
1
  $dvlFlashZIndex: 1031 !default; // above modal
2
+ $dvlFlashDefaultColor: #2886A8 !default;
2
3
 
3
4
  // Remove when we add `based` as a package
4
5
  $radius: 3px;
@@ -21,11 +22,11 @@ $successColor: #2aa828;
21
22
  width: 95%;
22
23
  margin: 1rem 2.5% 0;
23
24
  z-index: $dvlFlashZIndex;
24
- background: $lighterGray;
25
+ background: $dvlFlashDefaultColor;
25
26
  border-radius: $radius;
26
27
  padding: 0.75rem 1rem;
27
28
  font-size: 0.9rem;
28
- color: #333;
29
+ color: $white;
29
30
  box-shadow: 0 1px 0 rgba(#000,0.2);
30
31
  line-height: 1rem;
31
32
  span {
@@ -34,6 +35,7 @@ $successColor: #2aa828;
34
35
  }
35
36
  a {
36
37
  text-decoration: underline;
38
+ color: $white;
37
39
  }
38
40
  &.is_visible {
39
41
  opacity: 1;
@@ -46,27 +48,15 @@ $successColor: #2aa828;
46
48
  right: 1rem;
47
49
  top: 0;
48
50
  font-weight: bold;
49
- color: $darkGray;
51
+ color: $lightGray;
50
52
  &:hover {
51
- color: $darkerGray;
53
+ color: $white;
52
54
  text-decoration: none;
53
55
  }
54
56
  }
55
57
  }
56
58
 
57
59
  // Colors
58
- .flash_error, .flash_success {
59
- color: $white;
60
- a {
61
- color: $white;
62
- }
63
- .flash_close {
64
- color: $lightGray;
65
- &:hover {
66
- color: $white;
67
- }
68
- }
69
- }
70
60
 
71
61
  .flash_error {
72
62
  background: $errorColor;
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dvl-flashes
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Adam Becker
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-09-22 00:00:00.000000000 Z
11
+ date: 2014-10-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport