user_notif 0.1.11.2 → 0.1.12

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: bcd1470774886ff747a6c7157e3de8721be97026
4
- data.tar.gz: faa71a7954794b43b70b407fc653f2f674696d89
3
+ metadata.gz: 2e7a9c8ae62d15a6cdda867c3afe77c5e9374577
4
+ data.tar.gz: 3661632cb5dba7adf1942c9cfbdb85c88f262d78
5
5
  SHA512:
6
- metadata.gz: 66ae0ba3381bd7e0d7e8f8360ec0798848a067e81f04adcb68c8915a7d646144391a9e59c5706819c47c16c53510862c84044587c596481830765eb88b41ffd2
7
- data.tar.gz: f05487ae91416aed73fb5431bb0992002e2ac5d05940924bc8ff360f3019f06799eb64e1860f8327bcb2d1ecd60298cf0d0642fb117a5e178aaa2efc38f53087
6
+ metadata.gz: 0697762d2c1aeaa49ff100604b00d0beabbe2d73d20248f8f044cbe9947e47eee832bf5daf6fc4291a9cf6244d9de7dc64b0c9b23ee00457c9d8a978ecfa87bc
7
+ data.tar.gz: 4fd6dc19cf7321a4f50bd7b94318c55ba5eadb89ff403a102b19bc1c91424457e2cdd7d498533f80630cd669d7cfa395157a8221aac800e7b3e9669962ca24e5
@@ -1,3 +1,3 @@
1
1
  module UserNotif
2
- VERSION = '0.1.11.2'
2
+ VERSION = '0.1.12'
3
3
  end
@@ -1,54 +1,55 @@
1
1
  .user-notif-wrapper {
2
- .small-user-notif {
3
- cursor: pointer;
4
- padding: 10px;
5
- color: #333333;
6
- border-bottom: 1px solid lightgrey;
2
+ .small-user-notif, .user-notif {
3
+ padding: 10px;
4
+ color: #333333;
7
5
 
8
- &:last-child {
9
- border-bottom: none
10
- }
6
+ .notif-body {
7
+ display: inline-block;
8
+ vertical-align: middle;
9
+ margin-left: 10px;
10
+ }
11
11
 
12
- &:hover {
13
- background-color: lightgrey;
14
- }
12
+ .notif-title {
13
+ font-weight: bold;
14
+ margin-bottom: 10px;
15
15
 
16
- &:before {
17
- display: inline-block;
18
- vertical-align: middle;
19
- height: 10px;
20
- width: 10px;
21
- border-radius: 50%;
22
- background-color: grey;
23
- content: ''
24
- }
16
+ &:before {
17
+ cursor: pointer;
18
+ margin-left: -15px;
19
+ margin-right: 5px;
20
+ display: inline-block;
21
+ height: 10px;
22
+ width: 10px;
23
+ border-radius: 50%;
24
+ background-color: grey;
25
+ content: ''
26
+ }
27
+ }
25
28
 
26
- &.unread {
27
- &:before {
28
- background-color: #33ce74;
29
- }
30
- }
29
+ .notif-content {
30
+ font-weight: normal;
31
+ }
31
32
 
32
- .notif-body {
33
- display: inline-block;
34
- vertical-align: middle;
35
- margin-left: 10px;
36
- }
33
+ &.unread {
34
+ .notif-title {
35
+ &:before { background-color: #33ce74 }
36
+ }
37
37
  }
38
+ }
38
39
  }
39
40
 
40
41
  .notif-badge {
41
- display: inline-block;
42
- min-width: 10px;
43
- padding: 3px 7px;
44
- font-size: 12px;
45
- font-weight: bold;
46
- color: #fff;
47
- line-height: 1;
48
- vertical-align: middle;
49
- white-space: nowrap;
50
- text-align: center;
51
- border-radius: 10px;
52
- background-color: #e74c3c;
53
- z-index: 10;
42
+ display: inline-block;
43
+ min-width: 10px;
44
+ padding: 3px 7px;
45
+ font-size: 12px;
46
+ font-weight: bold;
47
+ color: #fff;
48
+ line-height: 1;
49
+ vertical-align: middle;
50
+ white-space: nowrap;
51
+ text-align: center;
52
+ border-radius: 10px;
53
+ background-color: #e74c3c;
54
+ z-index: 10;
54
55
  }
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: user_notif
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.11.2
4
+ version: 0.1.12
5
5
  platform: ruby
6
6
  authors:
7
7
  - Terry Raimondo