dlegr250_material_design 0.2.12 → 0.2.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a0c87c561126b2e2a68b84b10f711750fae950c2
|
4
|
+
data.tar.gz: 31265acb78ed00e0c6972e5ee1386a23fb439f88
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7a3e367edeb817d4a43859ddd2f5234f5180bd89fd6ff82630589be7c72f6db818aca88c85cd80088184da87749c0f0604d7c87d4885bcf0253e5fab9c24908d
|
7
|
+
data.tar.gz: fb542c2e86c82037c62de9d06ed43465bfe7a9add9f00a16bdf8f92136397a87ace56caf556f86aabbde5167aee0ba85aa40874b8026e63383feb34f45c7363f
|
@@ -15,6 +15,18 @@ jQuery.extend jQuery.fn,
|
|
15
15
|
element.css("top", ($(document).height() - element.height()) / 2)
|
16
16
|
element
|
17
17
|
|
18
|
+
horizontalCenter: ->
|
19
|
+
@each ->
|
20
|
+
element = $(this)
|
21
|
+
element.css("left", ($(document).width() - element.width()) / 2)
|
22
|
+
element
|
23
|
+
|
24
|
+
verticalCenter: ->
|
25
|
+
@each ->
|
26
|
+
element = $(this)
|
27
|
+
element.css("top", ($(document).height() - element.height()) / 2)
|
28
|
+
element
|
29
|
+
|
18
30
|
# Change content of element to be centered spinner
|
19
31
|
#----------------------------------------------------------------------
|
20
32
|
|
@@ -10,14 +10,13 @@
|
|
10
10
|
bottom: 0;
|
11
11
|
color: color("white");
|
12
12
|
cursor: pointer;
|
13
|
-
left: 0;
|
14
13
|
overflow: hidden;
|
15
14
|
padding: $spacing-normal;
|
16
15
|
position: absolute;
|
17
16
|
pointer-events: none;
|
18
|
-
right: 0;
|
19
17
|
will-change: transform;
|
20
18
|
z-index: $layout-depth + 1;
|
19
|
+
@include full-width();
|
21
20
|
@include transform(translateY(200%));
|
22
21
|
@include transition(transform 0.15s cubic-bezier(0, 0, 0.3, 1));
|
23
22
|
|
@@ -40,12 +39,10 @@
|
|
40
39
|
|
41
40
|
@media (min-width: $medium-width) {
|
42
41
|
#snackbar {
|
43
|
-
|
44
|
-
margin-bottom: 20px;
|
42
|
+
margin: auto;
|
45
43
|
max-width: 568px;
|
46
44
|
min-width: 288px;
|
47
45
|
right: auto;
|
48
|
-
width: auto;
|
49
46
|
@include rounded-corners();
|
50
47
|
}
|
51
48
|
|