|
1 | 1 | .notification { |
2 | | - display: block; |
3 | | - border-bottom: 1px solid rgb(238, 238, 238); |
4 | | - padding: 7px 15px 50px 15px; |
| 2 | + display: block; |
| 3 | + border-bottom: 1px solid rgb(238, 238, 238); |
| 4 | + padding: 7px 15px 50px 15px; |
5 | 5 | } |
6 | 6 |
|
7 | 7 | .notification-container { |
8 | | - background-color: white; |
9 | | - display: none; |
10 | | - position: absolute; |
11 | | - right: 50px; |
12 | | - top: 45px; |
13 | | - width: 350px; |
14 | | - min-height: 100px; |
15 | | - max-height: 260px; |
16 | | - border-radius: 0 0 3px 3px; |
17 | | - border: 1px solid rgb(238, 238, 238);; |
| 8 | + background-color: white; |
| 9 | + display: none; |
| 10 | + position: absolute; |
| 11 | + right: 50px; |
| 12 | + top: 45px; |
| 13 | + width: 350px; |
| 14 | + min-height: 100px; |
| 15 | + max-height: 260px; |
| 16 | + border-radius: 0 0 3px 3px; |
| 17 | + border: 1px solid rgb(238, 238, 238);; |
18 | 18 | } |
19 | 19 |
|
20 | 20 | .notification-container .emptycontent h2 { |
21 | | - font-weight: 300; |
22 | | - font-size: 16px; |
| 21 | + font-weight: 300; |
| 22 | + font-size: 16px; |
23 | 23 | } |
24 | 24 |
|
25 | 25 | /* Fill width on mobile */ |
26 | 26 | @media (max-width: 500px) { |
27 | | - .notification-container { |
28 | | - right: 5%; |
29 | | - width: 90%; |
30 | | - } |
| 27 | + .notification-container { |
| 28 | + right: 5%; |
| 29 | + width: 90%; |
| 30 | + } |
31 | 31 | } |
32 | 32 |
|
33 | 33 | .notification { |
34 | | - color: black; |
35 | | - position: relative; |
| 34 | + color: black; |
| 35 | + position: relative; |
36 | 36 | } |
37 | 37 |
|
38 | 38 | .notification .notification-empty { |
39 | | - color: #999; |
| 39 | + color: #999; |
40 | 40 | } |
41 | 41 |
|
42 | 42 | .notification:hover > .notification-delete{ |
43 | | - display: block !important; |
44 | | - position: absolute; |
45 | | - top: 4px; |
46 | | - right: 9px; |
47 | | - opacity: 0.3; |
| 43 | + display: block !important; |
| 44 | + position: absolute; |
| 45 | + top: 4px; |
| 46 | + right: 9px; |
| 47 | + opacity: 0.3; |
48 | 48 | } |
49 | 49 |
|
50 | 50 | .notification:hover { |
51 | | - background-color: #f8f8f8; |
| 51 | + background-color: #f8f8f8; |
52 | 52 | } |
53 | 53 |
|
54 | 54 | .notification-delete:hover { |
55 | | - opacity: 0.8 !important; |
56 | | - cursor: pointer; |
| 55 | + opacity: 0.8 !important; |
| 56 | + cursor: pointer; |
57 | 57 | } |
58 | 58 |
|
59 | 59 | .notification-delete img, .notifications-button img { |
60 | | - cursor: pointer; |
| 60 | + cursor: pointer; |
61 | 61 | } |
62 | 62 |
|
63 | 63 | .notifications-button { |
64 | | - position: relative; |
65 | | - float: right; |
66 | | - width: 21px; |
67 | | - height: 21px; |
68 | | - display: block; |
69 | | - border-radius: 50%; |
70 | | - text-align: center; |
71 | | - padding: 10px; |
72 | | - opacity: 0.7; |
73 | | - cursor: pointer; |
| 64 | + position: relative; |
| 65 | + float: right; |
| 66 | + width: 21px; |
| 67 | + height: 21px; |
| 68 | + display: block; |
| 69 | + border-radius: 50%; |
| 70 | + text-align: center; |
| 71 | + padding: 10px; |
| 72 | + opacity: 0.7; |
| 73 | + cursor: pointer; |
74 | 74 | } |
75 | 75 | .notifications-button.hasNotifications { |
76 | | - opacity: 1 !important; |
| 76 | + opacity: 1 !important; |
77 | 77 | } |
78 | 78 |
|
79 | 79 | .notifications-button:hover { |
80 | | - opacity: 1; |
| 80 | + opacity: 1; |
81 | 81 | } |
82 | 82 |
|
83 | 83 | .notification .button { |
84 | | - border: 1px solid rgba(240,240,240,.9) !important; |
85 | | - padding: 0 10px; |
| 84 | + border: 1px solid rgba(240,240,240,.9) !important; |
| 85 | + padding: 0 10px; |
86 | 86 | box-shadow: none; |
87 | 87 | margin: 0; |
88 | 88 | float: left; |
89 | 89 | } |
90 | 90 |
|
91 | | -.notification .actions { |
92 | | - float:right; |
93 | | - padding: 0; |
| 91 | +.notification .notification-actions { |
| 92 | + float:right; |
| 93 | + padding: 0; |
94 | 94 | } |
95 | 95 |
|
96 | | -.notification .action-button { |
97 | | - color: #555; |
98 | | -} |
99 | | - |
100 | | -.notification .actions:first-child { |
101 | | - margin-left: auto; |
| 96 | +.notification .notification-actions:first-child { |
| 97 | + margin-left: auto; |
102 | 98 | } |
103 | 99 |
|
104 | 100 | .notification .notification-subject { |
105 | | - display: inline-block; |
106 | | - margin-right: 10px; |
| 101 | + display: inline-block; |
| 102 | + margin-right: 10px; |
107 | 103 | } |
108 | 104 |
|
109 | 105 | .notification .notification-message { |
110 | | - line-height: 20px; |
111 | | - padding-bottom: 5px; |
| 106 | + line-height: 20px; |
| 107 | + padding-bottom: 5px; |
112 | 108 | } |
113 | 109 |
|
114 | 110 | .notification-container { |
115 | | - box-shadow: 0 1px 10px rgba(50, 50, 50, .7); |
116 | | - overflow: auto; |
117 | | - overflow-x: hidden; |
| 111 | + box-shadow: 0 1px 10px rgba(50, 50, 50, .7); |
| 112 | + overflow: auto; |
| 113 | + overflow-x: hidden; |
118 | 114 | } |
119 | 115 |
|
120 | 116 | .notifications .emptycontent { |
121 | | - margin: 50px 0; |
| 117 | + margin: 50px 0; |
122 | 118 | } |
0 commit comments