dlegr250_material_design 0.1.57 → 0.1.58
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: 2bed7c79659207a28f9e10e070c216fe4b4f7fc3
|
4
|
+
data.tar.gz: 23ef21cd4db89535d045106a1c006e6e21fc749a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7f2cfbd8f1063521e440c6b2f61421b725769d21c3d0b567c0b581fed01db56ed973f1037f9ebb8e0c3e41cf4b7c346d59d2c50f57f9f6d89dc2db2232cce4b2
|
7
|
+
data.tar.gz: 59d5a6049f67154fc936f2e7e0248754ae7248ad8f20c17be1d7c9229299732c00c50863b37fb243f532bd4d96f624e53d8b0c98ade371e91463bdc8c2ae37c7
|
@@ -1,86 +1,83 @@
|
|
1
|
-
//
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
//
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
//
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
//
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
//
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
//
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
//
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
// cursor: default;
|
85
|
-
// pointer-events: none;
|
86
|
-
// }
|
1
|
+
// Tabs - base
|
2
|
+
//----------------------------------------------------------------------
|
3
|
+
|
4
|
+
.tabs {
|
5
|
+
display: table;
|
6
|
+
height: $tab-height;
|
7
|
+
table-layout: fixed;
|
8
|
+
width: 100%;
|
9
|
+
}
|
10
|
+
|
11
|
+
.tabs.bordered {
|
12
|
+
@include box-shadow(0 1px color("divider"));
|
13
|
+
}
|
14
|
+
|
15
|
+
// Tabs - tab
|
16
|
+
//----------------------------------------------------------------------
|
17
|
+
|
18
|
+
.tab {
|
19
|
+
border-bottom: 2px solid transparent;
|
20
|
+
color: color("helper");
|
21
|
+
cursor: pointer;
|
22
|
+
display: table-cell;
|
23
|
+
font-size: $font-size-normal;
|
24
|
+
font-weight: 600;
|
25
|
+
height: $tab-height - 2px; // Account for 2px bottom border on tab
|
26
|
+
max-width: 264px;
|
27
|
+
min-width: 72px;
|
28
|
+
padding: 0 $spacing-small;
|
29
|
+
text-align: center;
|
30
|
+
text-decoration: none;
|
31
|
+
text-transform: uppercase;
|
32
|
+
vertical-align: middle;
|
33
|
+
@include transition(all 0.30s ease);
|
34
|
+
|
35
|
+
.icon {
|
36
|
+
color: color("helper");
|
37
|
+
font-size: $font-size-icon;
|
38
|
+
}
|
39
|
+
|
40
|
+
&:active {
|
41
|
+
background-color: color("hover");
|
42
|
+
}
|
43
|
+
}
|
44
|
+
|
45
|
+
// Tabs - colored
|
46
|
+
//----------------------------------------------------------------------
|
47
|
+
|
48
|
+
@each $color-name, $color in $colors {
|
49
|
+
.tabs.color-#{$color-name} {
|
50
|
+
.tab {
|
51
|
+
// Hover and click tab
|
52
|
+
&:hover,
|
53
|
+
&:active {
|
54
|
+
border-color: lighten($color, 30%);
|
55
|
+
}
|
56
|
+
|
57
|
+
// Clicking tab
|
58
|
+
&:active {
|
59
|
+
background-color: lighten($color, 40%);
|
60
|
+
}
|
61
|
+
|
62
|
+
// Persistent active tab
|
63
|
+
&.active {
|
64
|
+
border-color: $color;
|
65
|
+
color: $color;
|
66
|
+
|
67
|
+
.icon {
|
68
|
+
color: $color;
|
69
|
+
}
|
70
|
+
}
|
71
|
+
}
|
72
|
+
}
|
73
|
+
}
|
74
|
+
|
75
|
+
// Tabs - disabled
|
76
|
+
//----------------------------------------------------------------------
|
77
|
+
|
78
|
+
.tab:disabled,
|
79
|
+
.tab.disabled {
|
80
|
+
color: color("disabled");
|
81
|
+
cursor: default;
|
82
|
+
pointer-events: none;
|
83
|
+
}
|