forked from olton/metroui
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmisc.less
72 lines (66 loc) · 1.39 KB
/
misc.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
.example {
.clearfix;
padding: 20px 40px 20px 60px;
border: 1px #ccc solid;
position: relative;
margin: 0 0 10px 0;
background-color: lighten(@gray, 66%) !important;
min-height: 100px;
&:before {
position: absolute;
content: "example";
left: -21px;
top: 21px;
//background: @grayLighter;
color: @grayLight !important;
//padding: 5px 10px;
margin: 5px 10px;
.item-title-secondary;
.rotate(-90deg);
}
}
code, .code {
.code-text;
display: inline-block;
padding: 3px 5px;
margin: 0;
background-color: @grayLighter;
color: @red;
border: 1px lighten(@gray, 50%) solid;
font-size: 90%;
line-height: 90%;
}
.label {
display: inline-block;
padding: 3px 5px;
margin: 0;
font-size: 90%;
font-weight: normal !important;
line-height: 90%;
background: @grayLighter;
color: @gray;
.text-bold;
&.alert, &.error {
background-color: @red;
color: @white
}
&.important, &.warning {
background-color: @orange;
color: @white
}
&.success {
background-color: @darkGreen;
color: @white
}
&.info {
background-color: @cyan;
color: @white;
}
}
hr {
height: 1px;
margin: 20px 0;
border: 0;
color: @grayLighter;
background-color: @grayLighter;
}