alert_message 1.0.2 → 1.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bb9558898e61bb173fa12e563ba400efc8b5fa61
|
4
|
+
data.tar.gz: 396c42426917894a5e4f181ecbc1bc2216d09e93
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b3f4c0352d8c95b88173562ea1311b7488936ef341148f956f95a249c1c17447d6153fa71f164e1b3ec31065ea9d8f5416c1f19b5dfae389dd318f963ed3829c
|
7
|
+
data.tar.gz: 408abbb825827ec522987bec8d7d02ca824cc65b3fa5b795f3e8a81f78900c3f90be285c80791bb0941d05bbca436aba10bcaa07835828f2499bff14eba7c113
|
@@ -0,0 +1,57 @@
|
|
1
|
+
// alert
|
2
|
+
$text-1: #FFFFFF; // branco
|
3
|
+
$alert-success: #27ae60; // verde
|
4
|
+
$alert-danger: #e74c3c; // vermelho
|
5
|
+
$alert-notice: #2980b9; // azul
|
6
|
+
|
7
|
+
// box sizing
|
8
|
+
@mixin box-sizing($boxmodel){
|
9
|
+
-webkit-box-sizing: $boxmodel;
|
10
|
+
-moz-box-sizing: $boxmodel;
|
11
|
+
box-sizing: $boxmodel;
|
12
|
+
}
|
13
|
+
|
14
|
+
.alert {
|
15
|
+
cursor: pointer;
|
16
|
+
@include box-sizing(border-box);
|
17
|
+
|
18
|
+
position: absolute;
|
19
|
+
|
20
|
+
width: 100%;
|
21
|
+
|
22
|
+
color: $text-1;
|
23
|
+
font-size: 1.4em;
|
24
|
+
text-align: center;
|
25
|
+
|
26
|
+
padding: 10px;
|
27
|
+
|
28
|
+
.close {
|
29
|
+
outline: none;
|
30
|
+
@include box-sizing(border-box);
|
31
|
+
|
32
|
+
position: absolute;
|
33
|
+
top: 0;
|
34
|
+
right: 0;
|
35
|
+
|
36
|
+
width: 42px;
|
37
|
+
height: 42px;
|
38
|
+
line-height: 42px;
|
39
|
+
|
40
|
+
font-size: 1.4em;
|
41
|
+
|
42
|
+
border: 0;
|
43
|
+
background: none;
|
44
|
+
}
|
45
|
+
}
|
46
|
+
|
47
|
+
.alert-success {
|
48
|
+
background: $alert-success;
|
49
|
+
}
|
50
|
+
|
51
|
+
.alert-danger {
|
52
|
+
background: $alert-danger;
|
53
|
+
}
|
54
|
+
|
55
|
+
.alert-notice {
|
56
|
+
background: $alert-success;
|
57
|
+
}
|
data/lib/version/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: alert_message
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Luiz Picolo
|
@@ -56,6 +56,8 @@ files:
|
|
56
56
|
- lib/alert_message.rb
|
57
57
|
- lib/generators/alert_message/install_generator.rb
|
58
58
|
- lib/generators/alert_message/templates/_alerts.html.erb
|
59
|
+
- lib/generators/alert_message/templates/alerts.css.scss
|
60
|
+
- lib/generators/alert_message/templates/alerts.js
|
59
61
|
- lib/version/version.rb
|
60
62
|
homepage: https://github.com/luizpicolo/alert_message
|
61
63
|
licenses:
|