/
styles.less
108 lines (95 loc) · 2.16 KB
/
styles.less
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
// Import bootstrap and font awesome stylesheets
@import "../../libs/bootstrap/less/bootstrap.less";
@import "../../libs/font-awesome/less/font-awesome.less";
@import (inline) "../../libs/guanlecoja-ui/styles.css";
// Import colors and animation stylesheet
@import "animations.less";
@import "colors.less";
/* base css for angular, dont display anything until angular is running */
[ng\:cloak], [ng-cloak], [data-ng-cloak], [x-ng-cloak], .ng-cloak, .x-ng-cloak {
display: none !important;
}
/* modal dialog customizations */
@media screen {
.modal-dialog {
width: 90%;
}
/* border-radius looks strange for navbar,
on lower screen sizes it is 0 by default */
.navbar-static-top {
border-radius: 0;
}
}
/* hack to make modal work with ng-animate */
.modal {
display: block !important;
}
/* button bar inside the breadcrum, used for forcesched buttons */
.breadcrumb .btn {
height: 29px;
margin-top: -5px;
padding-top: 4px;
}
.breadcrumb > li + li.pull-right:before {
content: " ";
padding: 0 2px;
}
/* status badge */
.badge-status {
display: inline-block;
min-width: 10px;
padding: 3px 7px;
font-size: @font-size-small;
font-weight: @badge-font-weight;
line-height: @badge-line-height;
vertical-align: baseline;
white-space: nowrap;
text-align: center;
border-radius: @badge-border-radius;
transition: all 100ms cubic-bezier(0.250, 0.250, 0.750, 0.750);
&:hover,
&:focus {
-webkit-transform: scale(1.3);
transform: scale(1.3);
}
}
.no-select {
-webkit-touch-callout: none;
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
.avatar {
background-size: 32px 32px;
border-radius: 50%;
display: block;
margin: -10px;
height: 40px;
width: 40px;
overflow: hidden;
img {
height: 40px;
width: 40px;
background-color: #ccc
}
}
.change-avatar {
background-size: 16px 16px;
border-radius: 50%;
display: inline-block;
margin-bottom: -3px;
margin-right: 10px;
height: 20px;
width: 20px;
overflow: hidden;
img {
height: 20px;
width: 20px;
background-color: #ccc
}
}
.bbradio {
margin-right: 20px;
}