Sassifaction 0.0.2 → 0.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/Sassifaction.rb +6 -0
- data/sass/_Sassifaction.scss +1 -0
- data/sass/_variables.scss +91 -0
- data/sass/base/_bizarro.scss +248 -0
- data/sass/base/_debug.scss +170 -0
- data/sass/base/_fonts.scss +20 -0
- data/sass/base/_helpers.scss +60 -0
- data/sass/base/_mixins.scss +18 -0
- data/sass/base/_print.scss +75 -0
- data/sass/base/mixins/_BEM.scss +16 -0
- data/sass/base/mixins/_IE7-padding.scss +31 -0
- data/sass/base/mixins/_border-radius.scss +32 -0
- data/sass/base/mixins/_children-of-ie.scss +11 -0
- data/sass/base/mixins/_colors.scss +58 -0
- data/sass/base/mixins/_maths.scss +34 -0
- data/sass/base/mixins/_media-queries.scss +67 -0
- data/sass/base/mixins/_misc.scss +40 -0
- data/sass/base/mixins/_placeholder.scss +14 -0
- data/sass/base/mixins/_rwd-padding-margin.scss +52 -0
- data/sass/base/mixins/_shapes.scss +24 -0
- data/sass/base/mixins/_tint-and-shade.scss +39 -0
- data/sass/base/mixins/_triangles.scss +23 -0
- data/sass/base/mixins/_typography.scss +91 -0
- data/sass/partials/buttons/_buttons.scss +137 -0
- data/sass/partials/colors/_colors.scss +58 -0
- data/sass/partials/components/_alerts.scss +59 -0
- data/sass/partials/components/_horizontal-rules.scss +46 -0
- data/sass/partials/components/_labels.scss +53 -0
- data/sass/partials/components/_tooltips.scss +0 -0
- data/sass/partials/components/_wells.scss +20 -0
- data/sass/partials/forms/_big-form.scss +125 -0
- data/sass/partials/forms/_search-form.scss +35 -0
- data/sass/partials/images/_base64.scss +17 -0
- data/sass/partials/images/_figure.scss +23 -0
- data/sass/partials/images/_images.scss +25 -0
- data/sass/partials/layout/_aside.scss +12 -0
- data/sass/partials/layout/_base.scss +22 -0
- data/sass/partials/layout/_footer.scss +12 -0
- data/sass/partials/layout/_grids.scss +8 -0
- data/sass/partials/layout/_header.scss +12 -0
- data/sass/partials/layout/_main.scss +12 -0
- data/sass/partials/lists/_dl.scss +26 -0
- data/sass/partials/lists/_ol.scss +34 -0
- data/sass/partials/lists/_ul.scss +35 -0
- data/sass/partials/media-object/_media-object.scss +34 -0
- data/sass/partials/modules/_modules.scss +8 -0
- data/sass/partials/modules/_skipnav.scss +21 -0
- data/sass/partials/navigation/_breadcrumbs.scss +30 -0
- data/sass/partials/navigation/_nav.scss +43 -0
- data/sass/partials/navigation/_pagination.scss +32 -0
- data/sass/partials/site-specific/_scratch.scss +8 -0
- data/sass/partials/site-specific/_shame.scss +29 -0
- data/sass/partials/tables/_table.scss +51 -0
- data/sass/partials/typography/_blockquotes.scss +25 -0
- data/sass/partials/typography/_body-copy.scss +24 -0
- data/sass/partials/typography/_code.scss +24 -0
- data/sass/partials/typography/_copy-classes.scss +37 -0
- data/sass/partials/typography/_headings.scss +41 -0
- data/sass/partials/typography/_links.scss +30 -0
- data/sass/partials/typography/_misc.scss +54 -0
- data/sass/partials/typography/_scoped.scss +55 -0
- data/sass/partials/widgets/_widgets.scss +8 -0
- data/sass/styles.scss +122 -0
- metadata +80 -3
@@ -0,0 +1,34 @@
|
|
1
|
+
/*
|
2
|
+
|
3
|
+
## Ordered Lists
|
4
|
+
```
|
5
|
+
<ol>
|
6
|
+
<li>An unordered list item</li>
|
7
|
+
<li>An unordered list item</li>
|
8
|
+
<li>An unordered list item</li>
|
9
|
+
<li>An unordered list item</li>
|
10
|
+
<ol>
|
11
|
+
<li>An unordered list item</li>
|
12
|
+
<li>An unordered list item</li>
|
13
|
+
<li>An unordered list item</li>
|
14
|
+
<li>An unordered list item</li>
|
15
|
+
</ol>
|
16
|
+
</ol>
|
17
|
+
```
|
18
|
+
*/
|
19
|
+
|
20
|
+
ol {
|
21
|
+
|
22
|
+
}
|
23
|
+
|
24
|
+
ol > li {
|
25
|
+
|
26
|
+
}
|
27
|
+
|
28
|
+
ol ol {
|
29
|
+
|
30
|
+
}
|
31
|
+
|
32
|
+
ol ol li {
|
33
|
+
|
34
|
+
}
|
@@ -0,0 +1,35 @@
|
|
1
|
+
/*
|
2
|
+
|
3
|
+
Unordered Lists
|
4
|
+
===============
|
5
|
+
|
6
|
+
<ul>
|
7
|
+
<li>An unordered list item</li>
|
8
|
+
<li>An unordered list item</li>
|
9
|
+
<li>An unordered list item</li>
|
10
|
+
<li>An unordered list item</li>
|
11
|
+
<ul>
|
12
|
+
<li>An unordered list item</li>
|
13
|
+
<li>An unordered list item</li>
|
14
|
+
<li>An unordered list item</li>
|
15
|
+
<li>An unordered list item</li>
|
16
|
+
</ul>
|
17
|
+
</ul>
|
18
|
+
|
19
|
+
*/
|
20
|
+
|
21
|
+
ul {
|
22
|
+
|
23
|
+
}
|
24
|
+
|
25
|
+
ul > li {
|
26
|
+
|
27
|
+
}
|
28
|
+
|
29
|
+
ul ul {
|
30
|
+
|
31
|
+
}
|
32
|
+
|
33
|
+
ul ul li {
|
34
|
+
|
35
|
+
}
|
@@ -0,0 +1,34 @@
|
|
1
|
+
/*
|
2
|
+
|
3
|
+
Media Objects
|
4
|
+
=============
|
5
|
+
|
6
|
+
<div class="media">
|
7
|
+
<a class="" href="">
|
8
|
+
<img class="media-object" src="" alt="">
|
9
|
+
</a>
|
10
|
+
<div class="media-body">
|
11
|
+
<h4 class="media-heading"></h4>
|
12
|
+
<p></p>
|
13
|
+
</div>
|
14
|
+
</div>
|
15
|
+
|
16
|
+
*/
|
17
|
+
|
18
|
+
.media {
|
19
|
+
|
20
|
+
}
|
21
|
+
|
22
|
+
.media-object {
|
23
|
+
|
24
|
+
}
|
25
|
+
|
26
|
+
.media-body {
|
27
|
+
> p {
|
28
|
+
|
29
|
+
}
|
30
|
+
}
|
31
|
+
|
32
|
+
.media-heading {
|
33
|
+
|
34
|
+
}
|
@@ -0,0 +1,21 @@
|
|
1
|
+
|
2
|
+
.skipnav {
|
3
|
+
text-align: left;
|
4
|
+
display: none;
|
5
|
+
}
|
6
|
+
.skipnav a {
|
7
|
+
position: absolute;
|
8
|
+
left: -10000px;
|
9
|
+
width: 1px;
|
10
|
+
height: 1px;
|
11
|
+
overflow: hidden;
|
12
|
+
}
|
13
|
+
.skipnav a:focus,
|
14
|
+
.skipnav a:active {
|
15
|
+
position: static;
|
16
|
+
left: 0;
|
17
|
+
width: auto;
|
18
|
+
height: auto;
|
19
|
+
overflow: visible;
|
20
|
+
text-decoration: underline;
|
21
|
+
}
|
@@ -0,0 +1,30 @@
|
|
1
|
+
/*
|
2
|
+
|
3
|
+
Breadcrumb Navigation
|
4
|
+
=====================
|
5
|
+
|
6
|
+
<ol class="breadcrumb">
|
7
|
+
<li><a href="#">Home</a></li>
|
8
|
+
<li><a href="#">Categories</a></li>
|
9
|
+
<li class="active">Animals</li>
|
10
|
+
</ol>
|
11
|
+
|
12
|
+
*/
|
13
|
+
|
14
|
+
.breadcrumb {
|
15
|
+
|
16
|
+
& > li {
|
17
|
+
|
18
|
+
}
|
19
|
+
|
20
|
+
& > li > a {
|
21
|
+
|
22
|
+
&:hover {
|
23
|
+
|
24
|
+
}
|
25
|
+
}
|
26
|
+
|
27
|
+
& > .active {
|
28
|
+
|
29
|
+
}
|
30
|
+
}
|
@@ -0,0 +1,43 @@
|
|
1
|
+
/*
|
2
|
+
|
3
|
+
Main Navigation
|
4
|
+
===============
|
5
|
+
|
6
|
+
<nav class="main-nav" role="navigation">
|
7
|
+
<ul class="main-nav-list">
|
8
|
+
<li class="main-nav-item"><a class="main-nav-link" href="">A main link</a></li>
|
9
|
+
<li class="main-nav-item"><a class="main-nav-link" href="">A main link</a></li>
|
10
|
+
<li class="main-nav-item"><a class="main-nav-link" href="">A main link</a></li>
|
11
|
+
<li class="main-nav-item"><a class="main-nav-link" href="">A main link</a></li>
|
12
|
+
</ul>
|
13
|
+
</nav>
|
14
|
+
|
15
|
+
*/
|
16
|
+
|
17
|
+
nav[role="navigation"] {
|
18
|
+
> ul {
|
19
|
+
|
20
|
+
}
|
21
|
+
li {
|
22
|
+
|
23
|
+
}
|
24
|
+
a {
|
25
|
+
|
26
|
+
}
|
27
|
+
}
|
28
|
+
|
29
|
+
.main-nav {
|
30
|
+
|
31
|
+
}
|
32
|
+
|
33
|
+
.main-nav-list {
|
34
|
+
|
35
|
+
}
|
36
|
+
|
37
|
+
.main-nav-item {
|
38
|
+
|
39
|
+
}
|
40
|
+
|
41
|
+
.main-nav-link {
|
42
|
+
|
43
|
+
}
|
@@ -0,0 +1,32 @@
|
|
1
|
+
/*
|
2
|
+
|
3
|
+
Pagination Navigation
|
4
|
+
=====================
|
5
|
+
|
6
|
+
<ul class="pagination">
|
7
|
+
<li><a href="#">«</a></li>
|
8
|
+
<li><a href="#">1</a></li>
|
9
|
+
<li><a href="#">2</a></li>
|
10
|
+
<li><a href="#">3</a></li>
|
11
|
+
<li><a href="#">4</a></li>
|
12
|
+
<li><a href="#">5</a></li>
|
13
|
+
<li><a href="#">»</a></li>
|
14
|
+
</ul>
|
15
|
+
|
16
|
+
*/
|
17
|
+
|
18
|
+
.pagination {
|
19
|
+
|
20
|
+
& > li {
|
21
|
+
|
22
|
+
}
|
23
|
+
|
24
|
+
& > li > a {
|
25
|
+
|
26
|
+
&:hover {
|
27
|
+
|
28
|
+
}
|
29
|
+
|
30
|
+
}
|
31
|
+
|
32
|
+
}
|
@@ -0,0 +1,29 @@
|
|
1
|
+
/*
|
2
|
+
Shame CSS
|
3
|
+
This is not a dumping ground. It is a staging area for hacks that are
|
4
|
+
intended to be fixed and resolved so as not to sully our
|
5
|
+
production-ready codebase. Hacks are necessary, but they are not
|
6
|
+
permanent, nor are they acceptable long-term. You are not done when
|
7
|
+
you've moved your selector and rules here.
|
8
|
+
|
9
|
+
This is not intended to be an easy fix, or a simple way out. You will
|
10
|
+
spend time writing out your shame, and you will make it known that
|
11
|
+
you indeed had to resort to a hack with your next commit
|
12
|
+
|
13
|
+
Rules:
|
14
|
+
1) Your documentation should be written in block comment format so
|
15
|
+
that your shame is publically visible in the compiled stylesheet
|
16
|
+
(also helpful for debugging)
|
17
|
+
|
18
|
+
2) Name yourself so we can all scorn your lack of front-end prowess
|
19
|
+
(or talk to you about any questions we have)
|
20
|
+
|
21
|
+
3) Name the location your code would go were it not such a horrible
|
22
|
+
travesty to the name of stylesheet.
|
23
|
+
|
24
|
+
4) Give the motive behind your sociopathic manipulation of CSS, what
|
25
|
+
areas are affected, what this solves, and most importantly...
|
26
|
+
|
27
|
+
5) How would you go about rectifying the horrible crimes you have
|
28
|
+
committed given more time.
|
29
|
+
*/
|
@@ -0,0 +1,51 @@
|
|
1
|
+
/*
|
2
|
+
|
3
|
+
Tables
|
4
|
+
======
|
5
|
+
|
6
|
+
Styles for the tables
|
7
|
+
|
8
|
+
<table>
|
9
|
+
<thead>
|
10
|
+
<tr>
|
11
|
+
<th></th>
|
12
|
+
</tr>
|
13
|
+
<tr>
|
14
|
+
<th></th>
|
15
|
+
</tr>
|
16
|
+
</thead>
|
17
|
+
<tbody>
|
18
|
+
<tr>
|
19
|
+
<th></th>
|
20
|
+
</tr>
|
21
|
+
<tr>
|
22
|
+
<td></td>
|
23
|
+
</tr>
|
24
|
+
</tbody>
|
25
|
+
</table>
|
26
|
+
|
27
|
+
*/
|
28
|
+
table {
|
29
|
+
|
30
|
+
}
|
31
|
+
|
32
|
+
thead {
|
33
|
+
|
34
|
+
tr {
|
35
|
+
|
36
|
+
}
|
37
|
+
th {
|
38
|
+
|
39
|
+
}
|
40
|
+
}
|
41
|
+
|
42
|
+
tbody {
|
43
|
+
tr {
|
44
|
+
|
45
|
+
}
|
46
|
+
th {
|
47
|
+
|
48
|
+
}
|
49
|
+
}
|
50
|
+
|
51
|
+
|
@@ -0,0 +1,25 @@
|
|
1
|
+
/*
|
2
|
+
|
3
|
+
Blockquotes
|
4
|
+
===========
|
5
|
+
|
6
|
+
<blockquote>
|
7
|
+
<p>You can put a cat in an oven, but that don't make it a biscuit.</p>
|
8
|
+
</blockquote>
|
9
|
+
|
10
|
+
*/
|
11
|
+
|
12
|
+
blockquote {
|
13
|
+
|
14
|
+
&:before {
|
15
|
+
|
16
|
+
}
|
17
|
+
|
18
|
+
&:after {
|
19
|
+
|
20
|
+
}
|
21
|
+
|
22
|
+
> p {
|
23
|
+
|
24
|
+
}
|
25
|
+
}
|