forked from gurayyarar/AdminBSBMaterialDesign
-
Notifications
You must be signed in to change notification settings - Fork 0
/
_panels.scss
127 lines (106 loc) · 2.48 KB
/
_panels.scss
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
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
.panel-group {
@each $key, $val in $colors {
.panel-col-#{$key} {
border: 1px solid $val;
.panel-title {
background-color: $val !important;
color: #fff;
}
.panel-body {
border-top-color: transparent !important;
}
}
}
.panel {
@include border-radius(0);
.panel-title {
.material-icons {
float: left;
line-height: 16px;
margin-right: 8px;
}
}
.panel-heading {
padding: 0;
@include border-radius(0);
a {
display: block;
padding: 10px 15px;
&:hover,
&:focus,
&:active {
text-decoration: none;
}
}
}
.panel-body {
color: #555;
}
}
.panel-primary {
border: 1px solid #1f91f3;
.panel-title {
background-color: #1f91f3;
}
}
.panel-success {
border: 1px solid #2b982b;
.panel-title {
background-color: #2b982b;
color: #fff;
}
}
.panel-warning {
border: 1px solid #ff9600;
.panel-title {
background-color: #ff9600;
color: #fff;
}
}
.panel-danger {
border: 1px solid #fb483a;
.panel-title {
background-color: #fb483a;
color: #fff;
}
}
}
.full-body {
@each $key, $val in $colors {
.panel-col-#{$key} {
.panel-body {
border-top-color: #fff !important;
background-color: $val;
color: #fff;
}
}
}
.panel-primary {
.panel-body {
border-top-color: #fff !important;
background-color: #1f91f3;
color: #fff;
}
}
.panel-success {
.panel-body {
border-top-color: #fff !important;
background-color: #2b982b;
color: #fff;
}
}
.panel-warning {
.panel-body {
border-top-color: #fff !important;
background-color: #ff9600;
color: #fff;
}
}
.panel-danger {
.panel-body {
border-top-color: #fff !important;
background-color: #fb483a;
color: #fff;
}
}
}