This repository has been archived by the owner on Jul 17, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
_lib.sass
158 lines (123 loc) · 3.33 KB
/
_lib.sass
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
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
=Layout_Reset
/* CSS RESET */
html, body, div, span, p, a,
h1, h2, h3, h4, h5, h6,
dl, dt, dd, ol, ul, li,
form, fieldset, legend, label, input, textarea, select, button,
table, caption, tbody, tfoot, thead, tr, th, td,
strong, em, b, i,
blockquote, q, pre, code, cite,
abbr, acronym, address, del, dfn, img, hr,
object, iframe,
article, aside, dialog, figure, footer, header, hgroup, nav, section
margin: 0
padding: 0
font-family: inherit
font-size: 100%
font-weight: inherit
font-style: inherit
font-variant: normal
vertical-align: baseline
html, body, div, span, p, a,
h1, h2, h3, h4, h5, h6,
dl, dt, dd, ol, ul, li,
form, fieldset, legend, label,
table, caption, tbody, tfoot, thead, tr, th, td,
strong, em, b, i,
blockquote, q, pre, code, cite,
abbr, acronym, address, del, dfn, img, hr,
object, iframe,
article, aside, dialog, figure, footer, header, hgroup, nav, section
border: 0 none
outline: 0 none
background: none
article, aside, dialog, figure, footer, header, hgroup, nav, section
display: block
table
border-collapse: collapse
border-spacing: 0
caption, th, td
text-align: left
table, td, th
vertical-align: middle
ol, ul, li
list-style: none
blockquote, q
&:before, &:after
content: ''
quotes: none
i, em
font-style: italic
b, strong
font-weight: bold
sup
vertical-align: text-top
sub
vertical-align: text-bottom
body
cursor: default
color: #000
background: #fff
a, label, button
cursor: pointer
acronym, abbr
cursor: help
a, label, button, input, textarea, select
&:focus, &:active
outline: 0 none
=Layout_Helpers
/* CSS Helpers */
div.Clear
display: block !important
clear: both !important
float: none !important
width: 100% !important
height: 1px !important
margin: 0 0 -1px 0 !important
font-size: 0px !important
.Hidden
visibility: hidden !important
.Visible
visibility: visible !important
.None
display: none
/* SASS Mixings */
@mixin round-borders($args)
-moz-border-radius: $args
-khtml-border-radius: $args
-webkit-border-radius: $args
border-radius: $args
@mixin box-shadow($args)
-moz-box-shadow: unquote($args)
-webkit-box-shadow: unquote($args)
box-shadow: unquote($args)
@mixin transform($args)
-moz-transform: $args
-webkit-transform: $args
-o-transform: $args
transform: $args
@mixin transition($args)
-moz-transition: $args
-webkit-transition: $args
-o-transition: $args
@mixin bg-linear-gradient($from, $to)
background: $from
background: -moz-linear-gradient(top, $from, $to)
background: -webkit-gradient(linear, left top, left bottom, from($from), to($to))
background: linear-gradient($from, $to)
@mixin opacity($opacity)
filter: alpha(opacity = $opacity*100)
-moz-opacity: $opacity
-khtml-opacity: $opacity
opacity: $opacity
@mixin box-sizing($args)
box-sizing: $args
-webkit-box-sizing: $args
-moz-box-sizing: $args
@mixin box-sizing-border-box
+box-sizing(border-box)
@mixin ellipsis
overflow: hidden
white-space: nowrap
text-overflow: ellipsis
-o-text-overflow: ellipsis