forked from MarcDiethelm/such.less
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path90-styles.less
65 lines (60 loc) · 1.29 KB
/
90-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
/**
* Define everything project bound that you don't feel to be setup in here
* e.g. global style objects, maybe rich text styles etc.
**/
// DEMO STUFF
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
// Dependencies:
// - 00-variables.less
// grid demo
.demo-grid {
.title {
margin-top: 2em;
padding-top: .5em;
display: block;
border-top: 1px solid lighten(@color-copy, 50%);
}
th {
text-align: left;
padding-right: 3.5em;
vertical-align: top;
}
th, td {
padding-top: .175em;
padding-bottom: .175em;
border-bottom: 1px dotted lighten(@color-copy, 40%);
}
td {
font-weight: bold;
}
th, ._reset {
font-weight: normal;
}
.g-col {
margin-bottom: 1em;
> span:extend(.wf-box) {
display: block;
overflow: hidden;
}
}
._type:after {
content: '@{grid-type}';
}
._max-width:after {
content: '@{max-content-width}';
}
._gutter-width:after {
content: '@{grid-gutter}';
}
._gutter-type:after {
content: '@{gutter-type}';
}
._gutter-width-percent:after {
@grid-gutter-width-percent: round(percentage(@grid-gutter / (@max-content-width + @grid-gutter)), 3);
content: '@{grid-gutter-width-percent}';
}
hr {
border: none;
border-bottom: 1px solid lighten(@color-copy, 50%);
}
}