-
Notifications
You must be signed in to change notification settings - Fork 0
/
Panel.scss
127 lines (122 loc) · 3.85 KB
/
Panel.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
@import "../node_modules/tinper-bee-core/scss/minxin-variables";
@import "../node_modules/tinper-bee-core/scss/minxin-mixins";
@import "../node_modules/bee-transition/src/Transition.scss";
.u-panel{
font-family: Roboto,sans-serif;
font-size: 14px;
line-height: 1.57142857;
color: #757575;
position: relative;
margin-bottom: 15px;
border-width: 0;
-webkit-box-shadow: 0 1px 4px 0 rgba(0,0,0,.1);
box-shadow: 0 1px 4px 0 rgba(0,0,0,.1);
background-color: #fff;
border: 1px solid transparent;
border-radius: 4px;
.u-panel-heading{
border-top-left-radius: 3px;
border-top-right-radius: 3px;
position: relative;
padding: 10px 15px;
border-bottom: 1px solid transparent;
}
h4,h3{
font-family: Roboto,sans-serif;
font-weight: 600;
line-height: 1.2;
color: #424242;
font-size: 18px;
text-shadow: rgba(0,0,0,.15) 0 0 1px;
}
.u-panel-footer{
padding: 10px 15px;
background-color: #f5f5f5;
border-top: 1px solid #ddd;
border-bottom-right-radius: 3px;
border-bottom-left-radius: 3px;
}
}
.u-panel-default{
border-color: #ddd;
.u-panel-heading{
background-color: #f5f5f5;
border-color: #ddd;
color: #333;
}
}
.u-panel-title {
margin-top: 0;
margin-bottom: 0;
display: block;
font-size: 18px;
color: #424242;
.small{
color:#757575;
}
}
.u-panel-body {
padding: 15px 15px;
position: relative;
}
.u-panel-heading+.u-panel-body{
//padding-top:0;
}
.u-panel-bordered{
.u-panel-heading{
border-bottom: 1px solid #e0e0e0;
.panel-title{
padding-bottom: 20px;
}
}
.u-panel-body{
padding-top: 30px;
}
.u-panel-footer{
border-top: 1px solid #e0e0e0;
padding: 0 30px 15px;
background-color: transparent;
border-bottom-right-radius: 3px;
border-bottom-left-radius: 3px;
padding-top: 15px;
}
}
.u-panel>:not(.panel-loading):not(.collapsing){
-webkit-transition: opacity .3s;
-o-transition: opacity .3s;
transition: opacity .3s;
}
.btn-group-vertical>.btn-group:after, .btn-group-vertical>.btn-group:before, .btn-toolbar:after, .btn-toolbar:before, .clearfix:after, .clearfix:before, .u-container-fluid:after, .container-fluid:before, .u-container:after, .u-container:before, .dl-horizontal dd:after, .dl-horizontal dd:before, .form-horizontal .form-group:after, .form-horizontal .form-group:before, .u-modal-footer:after, .u-modal-footer:before, .u-modal-header:after, .u-modal-header:before, .nav:after, .nav:before, .navbar-collapse:after, .navbar-collapse:before, .navbar-header:after, .navbar-header:before, .navbar:after, .navbar:before, .pager:after, .pager:before, .u-panel-body:after, .u-panel-body:before, .row:after, .row:before{
display: table;
content: " ";
}
.u-panel-body .h1:first-child, .u-panel-body .h2:first-child, .u-panel-body .h3:first-child, .u-panel-body .h4:first-child, .u-panel-body .h5:first-child, .u-panel-body .h6:first-child, .u-panel-body h1:first-child, .u-panel-body h2:first-child, .u-panel-body h3:first-child, .u-panel-body h4:first-child, .u-panel-body h5:first-child, .u-panel-body h6:first-child{
margin-top:0;
}
.u-panel-group {
margin-bottom: 20px;
.u-panel {
margin-bottom: 0;
border-radius: 4px;
}
.u-panel+.u-panel {
margin-top: 5px;
}
.u-panel-heading {
border-bottom: 0;
}
.u-panel-heading+.u-panel-collapse>.list-group, .u-panel-group .u-panel-heading+.u-panel-collapse>.u-panel-body {
border-top: 1px solid #ddd;
}
}
@media (max-width: 768px){
.u-panel .u-panel-heading{
padding: 3px 5px;
}
.u-panel .u-panel-body{
padding: 5px 5px;
}
.u-panel .u-panel-footer{
padding: 3px 5px;
}
}