dlegr250_material_design 0.2.30 → 0.2.31
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: b9f5dbdf92f99a236c8278ab06f078b87ae058ca
|
4
|
+
data.tar.gz: d3189d9c9c385e7e19a265c812768a827b8488cf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ed27e1d3ba7e520f77de641d8d7c3939c425c8465a66eb7a25b44202c4444b9057c2d9fff4a351fdab9e7e4ee57172f24477f84e3acd4d92f936ce83039d3ade
|
7
|
+
data.tar.gz: 98872ceae667d31021f7a8d6d3b8cb58768c139f484df82a0e30923bc7f0c01ddcf761e74519aae8f257d8a035f58b0c3880fff009dcf85c20cfccccc2493efb
|
@@ -2,16 +2,29 @@
|
|
2
2
|
// Extends .list and .list-item in order to keep code DRY.
|
3
3
|
//======================================================================
|
4
4
|
|
5
|
+
// Box - base
|
6
|
+
//----------------------------------------------------------------------
|
7
|
+
|
5
8
|
.box {
|
6
9
|
border: 1px solid color("divider");
|
7
10
|
@extend .list-item;
|
8
11
|
@include rounded-corners;
|
9
12
|
}
|
10
13
|
|
14
|
+
// Box - icon
|
15
|
+
//----------------------------------------------------------------------
|
16
|
+
|
11
17
|
.box-icon {
|
12
18
|
@extend .list-item-icon;
|
13
19
|
}
|
14
20
|
|
21
|
+
.box-icon-circle {
|
22
|
+
@extend .list-item-icon-circle;
|
23
|
+
}
|
24
|
+
|
25
|
+
// Box - primary
|
26
|
+
//----------------------------------------------------------------------
|
27
|
+
|
15
28
|
.box-primary {
|
16
29
|
@extend .list-item-primary;
|
17
30
|
}
|
@@ -20,119 +33,37 @@
|
|
20
33
|
@extend .list-item-primary-subtext;
|
21
34
|
}
|
22
35
|
|
36
|
+
// Box - custom boxes
|
37
|
+
//----------------------------------------------------------------------
|
38
|
+
|
23
39
|
.box-info {
|
24
40
|
border-left: 4px solid color("primary");
|
41
|
+
|
42
|
+
.box-icon-circle {
|
43
|
+
background-color: color("primary");
|
44
|
+
}
|
25
45
|
}
|
26
46
|
|
27
47
|
.box-warning {
|
28
48
|
border-left: 4px solid color("amber");
|
49
|
+
|
50
|
+
.box-icon-circle {
|
51
|
+
background-color: color("amber");
|
52
|
+
}
|
29
53
|
}
|
30
54
|
|
31
55
|
.box-error {
|
32
56
|
border-left: 4px solid color("red");
|
57
|
+
|
58
|
+
.box-icon-circle {
|
59
|
+
background-color: color("red");
|
60
|
+
}
|
33
61
|
}
|
34
62
|
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
// //======================================================================
|
43
|
-
//
|
44
|
-
// // Boxes - base
|
45
|
-
// //----------------------------------------------------------------------
|
46
|
-
//
|
47
|
-
// .box {
|
48
|
-
// border: 1px solid transparent;
|
49
|
-
// box-sizing: border-box;
|
50
|
-
// text-align: left;
|
51
|
-
// @include flex-parent-row();
|
52
|
-
// @include rounded-corners();
|
53
|
-
// }
|
54
|
-
//
|
55
|
-
// .box-icon,
|
56
|
-
// .box-primary {
|
57
|
-
// box-sizing: border-box;
|
58
|
-
// padding-bottom: $spacing-normal;
|
59
|
-
// padding-top: $spacing-normal;
|
60
|
-
// }
|
61
|
-
//
|
62
|
-
// .box-icon {
|
63
|
-
// font-size: $font-size-icon;
|
64
|
-
// padding: $spacing-normal;
|
65
|
-
// text-align: center;
|
66
|
-
// width: $list-item-icon-width;
|
67
|
-
// }
|
68
|
-
//
|
69
|
-
// .box-icon-circle {
|
70
|
-
// background-color: color("grey");
|
71
|
-
// color: color("white");
|
72
|
-
// display: inline-block;
|
73
|
-
// font-size: $font-size-normal;
|
74
|
-
// height: 24px;
|
75
|
-
// line-height: 24px;
|
76
|
-
// text-align: center;
|
77
|
-
// width: 24px;
|
78
|
-
// @include rounded-corners(50%);
|
79
|
-
// }
|
80
|
-
//
|
81
|
-
// .box-primary {
|
82
|
-
// flex: 1;
|
83
|
-
// padding-left: $spacing-normal;
|
84
|
-
// padding-right: $spacing-normal;
|
85
|
-
// }
|
86
|
-
//
|
87
|
-
// .box-primary-subtext {
|
88
|
-
// color: color("helper");
|
89
|
-
// font-size: $font-size-small;
|
90
|
-
// padding-top: $spacing-xsmall;
|
91
|
-
// }
|
92
|
-
//
|
93
|
-
// // Boxes - colored boxes
|
94
|
-
// //----------------------------------------------------------------------
|
95
|
-
//
|
96
|
-
// @each $color-name, $color in $colors {
|
97
|
-
// .box-background-#{$color-name} {
|
98
|
-
// background-color: $color;
|
99
|
-
// border-color: darken($color, 10%);
|
100
|
-
//
|
101
|
-
// @if ($color-name == "hover") or ($color-name == "white") or ($color-name == "highlight") {
|
102
|
-
// color: color("text");
|
103
|
-
// } @else {
|
104
|
-
// color: color("white");
|
105
|
-
// }
|
106
|
-
// }
|
107
|
-
// }
|
108
|
-
//
|
109
|
-
// // Boxes - custom styles
|
110
|
-
// //----------------------------------------------------------------------
|
111
|
-
//
|
112
|
-
// .box-success {
|
113
|
-
// background-color: color("white");
|
114
|
-
// border-color: color("divider");
|
115
|
-
// border-left: 4px solid color("green");
|
116
|
-
// color: color("text");
|
117
|
-
// }
|
118
|
-
//
|
119
|
-
// // Blue box
|
120
|
-
// .box-info {
|
121
|
-
// background-color: #e6f6fc;
|
122
|
-
// border: 1px solid #b8e5f7;
|
123
|
-
// color: #008fc6;
|
124
|
-
// }
|
125
|
-
//
|
126
|
-
// // Yellow box
|
127
|
-
// .box-warning {
|
128
|
-
// background-color: color("highlight");
|
129
|
-
// border: 1px solid color("dark-highlight");
|
130
|
-
// color: color("text");
|
131
|
-
// }
|
132
|
-
//
|
133
|
-
// // Red box
|
134
|
-
// .box-error {
|
135
|
-
// background-color: #fdf2ec;
|
136
|
-
// border: 1px solid #f8daca;
|
137
|
-
// color: #e36b2b;
|
138
|
-
// }
|
63
|
+
.box-success {
|
64
|
+
border-left: 4px solid color("green");
|
65
|
+
|
66
|
+
.box-icon-circle {
|
67
|
+
background-color: color("green");
|
68
|
+
}
|
69
|
+
}
|
@@ -121,21 +121,26 @@ ol {
|
|
121
121
|
.list-item-icon {
|
122
122
|
color: color("icon");
|
123
123
|
font-size: $font-size-icon;
|
124
|
-
|
124
|
+
height: $list-item-icon-width;
|
125
|
+
line-height: $list-item-icon-width;
|
126
|
+
margin-left: $spacing-normal;
|
127
|
+
padding: 0;
|
125
128
|
text-align: center;
|
126
129
|
width: $list-item-icon-width;
|
130
|
+
|
131
|
+
.icon {
|
132
|
+
color: color("icon");
|
133
|
+
font-size: $font-size-icon;
|
134
|
+
}
|
127
135
|
}
|
128
136
|
|
129
137
|
.list-item-icon-circle {
|
130
|
-
background-color: color("
|
131
|
-
color: color("white");
|
132
|
-
display: inline-block;
|
133
|
-
font-size: $font-size-normal;
|
134
|
-
height: 24px;
|
135
|
-
line-height: 24px;
|
136
|
-
text-align: center;
|
137
|
-
width: 24px;
|
138
|
+
background-color: color("icon");
|
138
139
|
@include rounded-corners(50%);
|
140
|
+
|
141
|
+
.icon {
|
142
|
+
color: color("white");
|
143
|
+
}
|
139
144
|
}
|
140
145
|
|
141
146
|
// Lists - list item primary
|