forked from richthegeek/phpsass
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmisc.scss
executable file
·103 lines (83 loc) · 1.54 KB
/
misc.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
/* Source: http://code.google.com/p/phamlp/issues/detail?id=117; */
@import url("http://fonts.googleapis.com/css?family=Actor");
/* Source: http://code.google.com/p/phamlp/issues/detail?id=116; */
@import "somefile.css";
/* Source: http://code.google.com/p/phamlp/issues/detail?id=101; */
@mixin nav-boolean {
ol {
li {
input:checked + label { color: red; }
}
}
}
.nav-boolean { @include nav-boolean; }
/* Source: http://code.google.com/p/phamlp/issues/detail?id=100; */
.zero {
margin: 0 0;
padding: 0px;
}
/* Source: http://code.google.com/p/phamlp/issues/detail?id=99; */
/* Variables */
$blue: #3bbfce;
$margin: 16px;
.content-navigation {
border-color: $blue;
color:
darken($blue, 9%);
}
.border {
padding: $margin;
margin: $margin / 2;
border-color: $blue;
}
/* Nesting */
table.hl {
margin: 2em 0;
td.ln {
text-align: right;
}
}
li {
font: {
family: serif;
weight: bold;
size: 1.2em;
}
}
/* Mixins */
@mixin table-base {
th {
text-align: center;
font-weight: bold;
}
td, th {padding: 2px}
}
@mixin left($dist) {
float: left;
margin-left: $dist;
}
#data {
@include left(10px);
@include table-base;
}
/* Selector Inheritance */
.error {
border: 1px red;
background: #ffdddd;
}
.error.intrusion {
font-size: 1.3em;
font-weight: bold;
}
.madError {
@extend .error;
border-width: 3px;
}
git20 {
$fluidGridGutterWidth: 1%;
$gridRowWidth: 60px;
*margin-left: $fluidGridGutterWidth - (0.5 / $gridRowWidth * 100px * 1%);
}
git30 {
width: 30px!important;
}