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,59 @@
|
|
1
|
+
/*
|
2
|
+
|
3
|
+
Alerts
|
4
|
+
=====================
|
5
|
+
|
6
|
+
<div class="alert alert-success">
|
7
|
+
<p><strong>Well done!</strong> You successfully read this important alert message.</p>
|
8
|
+
</div>
|
9
|
+
|
10
|
+
<div class="alert alert-info">
|
11
|
+
<p><strong>Heads up!</strong> This alert needs your attention, but it's not super important.</p>
|
12
|
+
</div>
|
13
|
+
|
14
|
+
<div class="alert alert-warning">
|
15
|
+
<p><strong>Warning!</strong> Best check yo self, you're not looking too good.</p>
|
16
|
+
</div>
|
17
|
+
|
18
|
+
<div class="alert alert-danger">
|
19
|
+
<p><strong>Oh snap!</strong> Change a few things up and try submitting again.</p>
|
20
|
+
</div>
|
21
|
+
|
22
|
+
*/
|
23
|
+
|
24
|
+
.alert {
|
25
|
+
@include remit(margin-bottom, $doc-line-height);
|
26
|
+
|
27
|
+
border: 1px solid rgba(0, 0, 0, 0);
|
28
|
+
border-radius: $radius-sml;
|
29
|
+
padding: $doc-font-size;
|
30
|
+
}
|
31
|
+
|
32
|
+
.alert-success {
|
33
|
+
background-color: $success-color;
|
34
|
+
|
35
|
+
& > p {
|
36
|
+
color: darken($success-color, 30%);
|
37
|
+
}
|
38
|
+
}
|
39
|
+
.alert-info {
|
40
|
+
background-color: $info-color;
|
41
|
+
|
42
|
+
& > p {
|
43
|
+
color: darken($info-color, 30%);
|
44
|
+
}
|
45
|
+
}
|
46
|
+
.alert-warning {
|
47
|
+
background-color: $warning-color;
|
48
|
+
|
49
|
+
& > p {
|
50
|
+
color: darken($warning-color, 30%);
|
51
|
+
}
|
52
|
+
}
|
53
|
+
.alert-danger {
|
54
|
+
background-color: $danger-color;
|
55
|
+
|
56
|
+
& > p {
|
57
|
+
color: darken($danger-color, 30%);
|
58
|
+
}
|
59
|
+
}
|
@@ -0,0 +1,46 @@
|
|
1
|
+
/*
|
2
|
+
|
3
|
+
Horizontal Rules
|
4
|
+
=====================
|
5
|
+
|
6
|
+
<hr class="rule">
|
7
|
+
<hr class="rule rule--dotted">
|
8
|
+
<hr class="rule rule--dashed">
|
9
|
+
<hr class="rule rule--ornament">
|
10
|
+
|
11
|
+
*/
|
12
|
+
|
13
|
+
.rule{
|
14
|
+
@include remit(margin-bottom, $doc-line-height);
|
15
|
+
|
16
|
+
border:none;
|
17
|
+
border-bottom-width:1px;
|
18
|
+
border-bottom-style:solid;
|
19
|
+
color: pink;
|
20
|
+
}
|
21
|
+
|
22
|
+
.rule--dotted{
|
23
|
+
border-bottom-style:dotted;
|
24
|
+
}
|
25
|
+
|
26
|
+
.rule--dashed{
|
27
|
+
border-bottom-style:dashed;
|
28
|
+
}
|
29
|
+
|
30
|
+
.rule--ornament{
|
31
|
+
position:relative;
|
32
|
+
|
33
|
+
&:after{
|
34
|
+
content:"\00A7";
|
35
|
+
left: 0;
|
36
|
+
line-height:0;
|
37
|
+
position:absolute;
|
38
|
+
right: 0;
|
39
|
+
top: 0;
|
40
|
+
text-align:center;
|
41
|
+
}
|
42
|
+
|
43
|
+
&[data-ornament]:after{
|
44
|
+
content:attr(data-ornament);
|
45
|
+
}
|
46
|
+
}
|
@@ -0,0 +1,53 @@
|
|
1
|
+
/*
|
2
|
+
|
3
|
+
Labels
|
4
|
+
======
|
5
|
+
|
6
|
+
<h3>Example heading <span class="label label-default">New</span></h3>
|
7
|
+
|
8
|
+
<span class="label label-default">Default</span>
|
9
|
+
<span class="label label-primary">Primary</span>
|
10
|
+
<span class="label label-success">Success</span>
|
11
|
+
<span class="label label-info">Info</span>
|
12
|
+
<span class="label label-warning">Warning</span>
|
13
|
+
<span class="label label-danger">Danger</span>
|
14
|
+
|
15
|
+
*/
|
16
|
+
|
17
|
+
.label {
|
18
|
+
border-radius: $radius-sml;
|
19
|
+
color: #FFF;
|
20
|
+
display: inline;
|
21
|
+
font-size: 75%;
|
22
|
+
font-weight: bold;
|
23
|
+
line-height: 1;
|
24
|
+
padding: .2em .6em .3em;
|
25
|
+
text-align: center;
|
26
|
+
vertical-align: baseline;
|
27
|
+
white-space: nowrap;
|
28
|
+
|
29
|
+
}
|
30
|
+
|
31
|
+
.label-default {
|
32
|
+
background-color: $default-color;
|
33
|
+
}
|
34
|
+
|
35
|
+
.label-primary {
|
36
|
+
background-color: $primary-color;
|
37
|
+
}
|
38
|
+
|
39
|
+
.label-success {
|
40
|
+
background-color: $success-color;
|
41
|
+
}
|
42
|
+
|
43
|
+
.label-info {
|
44
|
+
background-color: $info-color;
|
45
|
+
}
|
46
|
+
|
47
|
+
.label-warning {
|
48
|
+
background-color: $warning-color;
|
49
|
+
}
|
50
|
+
|
51
|
+
.label-danger {
|
52
|
+
background-color: $danger-color;
|
53
|
+
}
|
File without changes
|
@@ -0,0 +1,20 @@
|
|
1
|
+
/*
|
2
|
+
|
3
|
+
Wells
|
4
|
+
=====
|
5
|
+
|
6
|
+
<div class="well">
|
7
|
+
<p>This is a well</p>
|
8
|
+
</div>
|
9
|
+
|
10
|
+
*/
|
11
|
+
|
12
|
+
.well {
|
13
|
+
@include remit(margin-bottom, $doc-line-height);
|
14
|
+
|
15
|
+
background-color: $white;
|
16
|
+
border: 1px solid $black;
|
17
|
+
border-radius: $radius-sml;
|
18
|
+
box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05);
|
19
|
+
padding: $doc-font-size;
|
20
|
+
}
|
@@ -0,0 +1,125 @@
|
|
1
|
+
/*
|
2
|
+
|
3
|
+
Forms
|
4
|
+
=====
|
5
|
+
|
6
|
+
<form action="/">
|
7
|
+
<fieldset>
|
8
|
+
<label for="name">Name</label>
|
9
|
+
<input type="text" id="name" class="form-text" />
|
10
|
+
<p class="form-help">This is help text under the form field.</p>
|
11
|
+
<label for="email">Email</label>
|
12
|
+
<input type="email" id="email" class="form-text" />
|
13
|
+
</fieldset>
|
14
|
+
<fieldset>
|
15
|
+
<label for="gender">Gender</label>
|
16
|
+
<select id="gender">
|
17
|
+
<option>Male</option>
|
18
|
+
<option>Female</option>
|
19
|
+
<option>Cylon</option>
|
20
|
+
</select>
|
21
|
+
</fieldset>
|
22
|
+
<fieldset class="radio">
|
23
|
+
<label for="notifications">Notifications</label>
|
24
|
+
<ul>
|
25
|
+
<li><label><input type="radio" name="notifications" /> Send me email</label></li>
|
26
|
+
<li><label><input type="radio" name="notifications" /> Don't send me email</label></li>
|
27
|
+
<li><label><input type="radio" name="notifications" /> Send me flowers</label></li>
|
28
|
+
</ul>
|
29
|
+
</fieldset>
|
30
|
+
<fieldset>
|
31
|
+
<label for="url">URL</label>
|
32
|
+
<input type="url" id="url" class="form-text" placeholder="http://yourdomain.com" />
|
33
|
+
</fieldset>
|
34
|
+
<fieldset>
|
35
|
+
<label for="bio">Bio</label>
|
36
|
+
<textarea id="bio"></textarea>
|
37
|
+
</fieldset>
|
38
|
+
<fieldset class="check">
|
39
|
+
<label><input type="checkbox" /> I accept the terms of service and lorem ipsum.</label>
|
40
|
+
</fieldset>
|
41
|
+
<fieldset class="form-actions">
|
42
|
+
<button type="submit">Submit</button>
|
43
|
+
</fieldset>
|
44
|
+
</form>
|
45
|
+
|
46
|
+
*/
|
47
|
+
|
48
|
+
|
49
|
+
form {
|
50
|
+
|
51
|
+
}
|
52
|
+
|
53
|
+
fieldset {
|
54
|
+
|
55
|
+
}
|
56
|
+
|
57
|
+
label {
|
58
|
+
|
59
|
+
}
|
60
|
+
input {
|
61
|
+
|
62
|
+
}
|
63
|
+
input[type="text"] {
|
64
|
+
|
65
|
+
}
|
66
|
+
input[type="email"] {
|
67
|
+
|
68
|
+
}
|
69
|
+
input[type="checkbox"] {
|
70
|
+
|
71
|
+
}
|
72
|
+
input[type="radio"] {
|
73
|
+
|
74
|
+
}
|
75
|
+
|
76
|
+
select {
|
77
|
+
|
78
|
+
}
|
79
|
+
|
80
|
+
option {
|
81
|
+
|
82
|
+
}
|
83
|
+
textarea {
|
84
|
+
|
85
|
+
}
|
86
|
+
|
87
|
+
.radio {
|
88
|
+
> ul {
|
89
|
+
|
90
|
+
}
|
91
|
+
|
92
|
+
> ul > li {
|
93
|
+
|
94
|
+
}
|
95
|
+
|
96
|
+
label {
|
97
|
+
|
98
|
+
}
|
99
|
+
|
100
|
+
input {
|
101
|
+
|
102
|
+
}
|
103
|
+
}
|
104
|
+
.check {
|
105
|
+
label {
|
106
|
+
|
107
|
+
}
|
108
|
+
|
109
|
+
input {
|
110
|
+
|
111
|
+
}
|
112
|
+
}
|
113
|
+
.form-actions {
|
114
|
+
button {
|
115
|
+
|
116
|
+
&:hover, &:focus {
|
117
|
+
|
118
|
+
}
|
119
|
+
|
120
|
+
&:active {
|
121
|
+
|
122
|
+
}
|
123
|
+
}
|
124
|
+
}
|
125
|
+
|
@@ -0,0 +1,35 @@
|
|
1
|
+
/*
|
2
|
+
|
3
|
+
Search Forms
|
4
|
+
============
|
5
|
+
|
6
|
+
<form action="/" class="search">
|
7
|
+
<fieldset>
|
8
|
+
<input type="text" placeholder="Search" />
|
9
|
+
<button type="submit">Go!</button>
|
10
|
+
</fieldset>
|
11
|
+
</form>
|
12
|
+
|
13
|
+
*/
|
14
|
+
|
15
|
+
.search {
|
16
|
+
|
17
|
+
}
|
18
|
+
|
19
|
+
.search fieldset {
|
20
|
+
|
21
|
+
}
|
22
|
+
|
23
|
+
.search input[type="text"] {
|
24
|
+
|
25
|
+
}
|
26
|
+
|
27
|
+
.search button {
|
28
|
+
|
29
|
+
&:hover, &:focus {
|
30
|
+
|
31
|
+
}
|
32
|
+
&:active {
|
33
|
+
|
34
|
+
}
|
35
|
+
}
|
@@ -0,0 +1,17 @@
|
|
1
|
+
/*
|
2
|
+
|
3
|
+
Base64 Images
|
4
|
+
==============
|
5
|
+
|
6
|
+
This file is to include placeholder selectors just for Base64 images
|
7
|
+
|
8
|
+
*/
|
9
|
+
|
10
|
+
%icon {
|
11
|
+
&:before {
|
12
|
+
background-position: center center;
|
13
|
+
background-repeat: no-repeat;
|
14
|
+
content: '';
|
15
|
+
position: absolute;
|
16
|
+
}
|
17
|
+
}
|
@@ -0,0 +1,23 @@
|
|
1
|
+
/*
|
2
|
+
|
3
|
+
Figure & Figcaption
|
4
|
+
===================
|
5
|
+
|
6
|
+
<figure>
|
7
|
+
<img alt="" src="img/tmp/rock-hammer-1.jpg">
|
8
|
+
<figcaption>Figure caption</figcaption>
|
9
|
+
</figure>
|
10
|
+
|
11
|
+
*/
|
12
|
+
|
13
|
+
figure {
|
14
|
+
|
15
|
+
}
|
16
|
+
|
17
|
+
figure > img {
|
18
|
+
|
19
|
+
}
|
20
|
+
|
21
|
+
figcaption {
|
22
|
+
|
23
|
+
}
|
@@ -0,0 +1,25 @@
|
|
1
|
+
/*
|
2
|
+
|
3
|
+
Images
|
4
|
+
======
|
5
|
+
|
6
|
+
<img alt="" class="img-rounded" src="http://fillmurray.com/300/300" />
|
7
|
+
<img alt="" class="img-circle" src="http://fillmurray.com/300/300" />
|
8
|
+
<img alt="" class="img-polaroid" src="http://fillmurray.com/300/300" />
|
9
|
+
|
10
|
+
*/
|
11
|
+
|
12
|
+
.img-rounded {
|
13
|
+
border-radius: 4px;
|
14
|
+
}
|
15
|
+
|
16
|
+
.img-circle {
|
17
|
+
border-radius: 50%;
|
18
|
+
}
|
19
|
+
|
20
|
+
.img-polaroid {
|
21
|
+
background-color: $white;
|
22
|
+
border: 1px solid lighten($black, 90%);
|
23
|
+
box-shadow: 0 1px 3px rgba(0,0,3px,0.2);
|
24
|
+
padding: 12px;
|
25
|
+
}
|