shibui 0.0.1.1 → 0.0.2.alpha
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +4 -3
- data/Readme.md +11 -44
- data/lib/shibui/version.rb +2 -2
- data/shibui.gemspec +1 -0
- data/stylesheets/_shibui.scss +7 -0
- data/stylesheets/shibui/_config.scss +19 -0
- data/stylesheets/shibui/_fonts.scss +52 -32
- data/stylesheets/shibui/_init.scss +1 -0
- data/stylesheets/shibui/_typography.scss +136 -0
- metadata +22 -13
- data/stylesheets/_shibui.sass +0 -13
- data/stylesheets/shibui/_base.sass +0 -89
- data/stylesheets/shibui/_buttons.sass +0 -30
- data/stylesheets/shibui/_components.sass +0 -8
- data/stylesheets/shibui/_forms.sass +0 -23
- data/stylesheets/shibui/_shared.sass +0 -8
data/.gitignore
CHANGED
@@ -4,15 +4,16 @@
|
|
4
4
|
.config
|
5
5
|
.sass-cache
|
6
6
|
.yardoc
|
7
|
-
Gemfile.lock
|
8
|
-
InstalledFiles
|
9
7
|
_yardoc
|
10
8
|
coverage
|
11
9
|
doc/
|
10
|
+
Gemfile.lock
|
11
|
+
InstalledFiles
|
12
12
|
lib/bundler/man
|
13
13
|
pkg
|
14
14
|
rdoc
|
15
|
+
shibui-deprecated
|
15
16
|
spec/reports
|
16
17
|
test/tmp
|
17
18
|
test/version_tmp
|
18
|
-
tmp
|
19
|
+
tmp
|
data/Readme.md
CHANGED
@@ -1,52 +1,19 @@
|
|
1
|
-
Shibui
|
2
|
-
|
1
|
+
Shibui — Compass Plugin
|
2
|
+
=======================
|
3
|
+
|
4
|
+
The Heroku CSS styleguide as a Compass extension.
|
3
5
|
|
4
6
|
To create your first project, you'll need to have the [Shibui](http://en.wikipedia.org/wiki/Shibui) gem installed, this will include all the necessary dependencies.
|
5
7
|
|
6
|
-
|
7
|
-
|
8
|
+
Install
|
9
|
+
-------
|
8
10
|
|
9
11
|
In Terminal:
|
10
12
|
|
11
|
-
* `
|
12
|
-
* `cd shibui`
|
13
|
-
* `sudo gem build shibui.gemspec`
|
14
|
-
* `sudo gem install shibui-0.0.1.gem`
|
15
|
-
|
16
|
-
To create your first project
|
17
|
-
----------------------------
|
18
|
-
|
19
|
-
* `cd path/to/where-you-want-new-project`
|
20
|
-
* .scss syntax: `compass create <my_project> -r shibui --using shibui --force`
|
21
|
-
* .sass syntax: `compass create <my_project> -r shibui --using shibui --syntax sass --force`
|
22
|
-
|
23
|
-
Now you should have a new project folder created with the Shibui file structure, but with the awesome advantages of having all the css pre-processed with Sass.
|
24
|
-
|
25
|
-
To add Shibui to an existing project
|
26
|
-
------------------------------------
|
27
|
-
|
28
|
-
* `cd path/to/your-compass-ready-project`
|
29
|
-
* `require "shibui"`
|
30
|
-
* `compass install shibui`
|
31
|
-
|
32
|
-
To work on Shibui
|
33
|
-
-----------------
|
34
|
-
|
35
|
-
If you want to make changes to the Shibui plugin and see the effects locally follow these steps:
|
36
|
-
|
37
|
-
* `mkdir shibui-dojo`
|
38
|
-
* `cd shibui-dojo`
|
39
|
-
* `git clone git@github.com:heroku/shibui.git`
|
40
|
-
* `compass create sample-project -l shibui`
|
41
|
-
* `cd sample-project`
|
42
|
-
* `compass watch`
|
43
|
-
|
44
|
-
Shibui development with LiveReload
|
45
|
-
----------------------------------
|
46
|
-
|
47
|
-
[LiveReload](http://livereload.com/) is a great way to have your browser automagically refresh when changes to your project are made. Unfortunately LiveReload will not recognize changes to partials within a Compass extension. As a workaround:
|
13
|
+
* `sudo gem install shibui`
|
48
14
|
|
49
|
-
|
50
|
-
|
15
|
+
Create a Shibui-based Compass Project
|
16
|
+
-------------------------------------
|
51
17
|
|
52
|
-
|
18
|
+
* .scss syntax: `compass create <project-name> -r shibui -u shibui`
|
19
|
+
* .sass syntax: `compass create <project-name> -r shibui -u shibui --syntax sass`
|
data/lib/shibui/version.rb
CHANGED
@@ -1,3 +1,3 @@
|
|
1
1
|
module Shibui
|
2
|
-
VERSION = "0.0.
|
3
|
-
end
|
2
|
+
VERSION = "0.0.2.alpha"
|
3
|
+
end
|
data/shibui.gemspec
CHANGED
@@ -0,0 +1,19 @@
|
|
1
|
+
// Compass
|
2
|
+
|
3
|
+
$default-border-radius: 3px;
|
4
|
+
|
5
|
+
// Colors
|
6
|
+
|
7
|
+
$shibui-base-text-color: #8487af !default;
|
8
|
+
// $shibui-base-text-color: #888 !default;
|
9
|
+
$shibui-heading-text-color: #fff !default;
|
10
|
+
$shibui-link-text-color: #9782ff !default;
|
11
|
+
|
12
|
+
$shibui-body-background-color: #1B1B24 !default;
|
13
|
+
$shibui-content-background-color: #282936 !default;
|
14
|
+
// $shibui-content-background-color: #1B1B24 !default;
|
15
|
+
|
16
|
+
// Typography
|
17
|
+
|
18
|
+
$base-font-size: 13px !default;
|
19
|
+
$base-line-height: 18px !default;
|
@@ -1,64 +1,84 @@
|
|
1
|
-
$heroku-font-host: "https://statics.herokuapp.com
|
1
|
+
$heroku-font-host: "https://statics.herokuapp.com";
|
2
2
|
|
3
3
|
@mixin font-face-src($filename, $svg-key) {
|
4
|
-
src: url("#{$heroku-font-host}/#{$filename}.eot?") format("eot"),
|
5
|
-
url("#{$heroku-font-host}/#{$filename}.woff") format("woff"),
|
6
|
-
url("#{$heroku-font-host}/#{$filename}.ttf") format("truetype"),
|
7
|
-
url("#{$heroku-font-host}/#{$filename}.svg##{$svg-key}") format("svg");
|
4
|
+
src: url("#{$heroku-font-host}/fonts/#{$filename}.eot?") format("eot"),
|
5
|
+
url("#{$heroku-font-host}/fonts/#{$filename}.woff") format("woff"),
|
6
|
+
url("#{$heroku-font-host}/fonts/#{$filename}.ttf") format("truetype"),
|
7
|
+
url("#{$heroku-font-host}/fonts/#{$filename}.svg##{$svg-key}") format("svg");
|
8
8
|
}
|
9
9
|
|
10
10
|
@font-face {
|
11
|
-
font-family: "
|
12
|
-
font-weight:
|
11
|
+
font-family: "corbel";
|
12
|
+
font-weight: 400;
|
13
13
|
font-style: normal;
|
14
|
-
@include font-face-src(corbel-webfont,
|
14
|
+
@include font-face-src(corbel-webfont, webfontO0rfJpd7);
|
15
15
|
}
|
16
16
|
|
17
17
|
@font-face {
|
18
|
-
font-family: "
|
19
|
-
font-weight:
|
18
|
+
font-family: "corbel";
|
19
|
+
font-weight: 700;
|
20
20
|
font-style: normal;
|
21
|
-
@include font-face-src(
|
21
|
+
@include font-face-src(corbelbold-webfont, webfontlZZPxZYu);
|
22
22
|
}
|
23
23
|
|
24
24
|
@font-face {
|
25
|
-
font-family: "
|
26
|
-
font-weight:
|
25
|
+
font-family: "hybrea";
|
26
|
+
font-weight: 300;
|
27
27
|
font-style: normal;
|
28
|
-
@include font-face-src(
|
28
|
+
@include font-face-src(hybrealight-webfont, webfontHioEustJ);
|
29
29
|
}
|
30
30
|
|
31
31
|
@font-face {
|
32
|
-
font-family: "
|
33
|
-
font-weight:
|
32
|
+
font-family: "hybrea";
|
33
|
+
font-weight: 400;
|
34
34
|
font-style: normal;
|
35
|
-
@include font-face-src(
|
35
|
+
@include font-face-src(hybrea-webfont, webfonto3DdN6lX);
|
36
36
|
}
|
37
37
|
|
38
38
|
@font-face {
|
39
|
-
font-family: "
|
40
|
-
font-weight:
|
39
|
+
font-family: "meslo";
|
40
|
+
font-weight: 400;
|
41
41
|
font-style: normal;
|
42
|
-
@include font-face-src(
|
42
|
+
@include font-face-src(meslolgs-dz-regular-webfont, MesloLGSDZRegular);
|
43
43
|
}
|
44
44
|
|
45
45
|
@font-face {
|
46
|
-
font-family: "
|
47
|
-
font-weight:
|
48
|
-
font-style:
|
49
|
-
@include font-face-src(
|
46
|
+
font-family: "meslo";
|
47
|
+
font-weight: 400;
|
48
|
+
font-style: italic;
|
49
|
+
@include font-face-src(meslolgs-dz-italic-webfont, MesloLGSDZItalic);
|
50
50
|
}
|
51
51
|
|
52
52
|
@font-face {
|
53
|
-
font-family: "
|
54
|
-
font-weight:
|
53
|
+
font-family: "meslo";
|
54
|
+
font-weight: 700;
|
55
55
|
font-style: normal;
|
56
|
-
@include font-face-src(
|
56
|
+
@include font-face-src(meslolgs-dz-bold-webfont, MesloLGSDZBold);
|
57
57
|
}
|
58
58
|
|
59
|
-
|
60
|
-
font-family: "
|
61
|
-
|
62
|
-
|
63
|
-
|
59
|
+
%helvetica-font-stack {
|
60
|
+
font-family: "helvetica neue", helvetica, arial, geneva, sans-serif;
|
61
|
+
}
|
62
|
+
|
63
|
+
%corbel-font-stack {
|
64
|
+
font-family: corbel, "helvetica neue", helvetica, arial, geneva, sans-serif;
|
65
|
+
}
|
66
|
+
|
67
|
+
%meslo-font-stack {
|
68
|
+
font-family: meslo, monaco, monospace;
|
69
|
+
}
|
70
|
+
|
71
|
+
@mixin shibui-font-size($size) {
|
72
|
+
@if $size == l {
|
73
|
+
@include adjust-font-size-to($base-font-size * 1.3, $lines: 2);
|
74
|
+
}
|
75
|
+
@else if $size == xl {
|
76
|
+
@include adjust-font-size-to($base-font-size * 1.5, $lines: 2);
|
77
|
+
}
|
78
|
+
@else if $size == xxl {
|
79
|
+
@include adjust-font-size-to($base-font-size * 2, $lines: 2);
|
80
|
+
}
|
81
|
+
@else if $size == xxxl {
|
82
|
+
@include adjust-font-size-to($base-font-size * 2.8, $lines: 3);
|
83
|
+
}
|
64
84
|
}
|
@@ -0,0 +1 @@
|
|
1
|
+
@include shibui-typography;
|
@@ -0,0 +1,136 @@
|
|
1
|
+
%shibui-recessed-background {
|
2
|
+
@include box-shadow(0 1px 0 rgba(255, 255, 255, 0.02));
|
3
|
+
background: darken($shibui-content-background-color, 6%);
|
4
|
+
border: 1px solid darken($shibui-content-background-color, 8%);
|
5
|
+
}
|
6
|
+
|
7
|
+
%shibui-code-background {
|
8
|
+
@include border-radius($default-border-radius);
|
9
|
+
@extend %shibui-recessed-background;
|
10
|
+
}
|
11
|
+
|
12
|
+
%shibui-base-typography {
|
13
|
+
@extend %helvetica-font-stack;
|
14
|
+
color: $shibui-base-text-color;
|
15
|
+
font-size: $base-font-size;
|
16
|
+
line-height: $base-line-height;
|
17
|
+
|
18
|
+
#{headings(all)} {
|
19
|
+
@extend %corbel-font-stack;
|
20
|
+
color: $shibui-heading-text-color;
|
21
|
+
}
|
22
|
+
|
23
|
+
a {
|
24
|
+
&:link,
|
25
|
+
&:visited {
|
26
|
+
color: $shibui-link-text-color;
|
27
|
+
text-decoration: none;
|
28
|
+
}
|
29
|
+
|
30
|
+
&:hover,
|
31
|
+
&:active {
|
32
|
+
text-decoration: underline;
|
33
|
+
}
|
34
|
+
}
|
35
|
+
|
36
|
+
strong, b {
|
37
|
+
color: lighten($shibui-base-text-color, 10%);
|
38
|
+
font-weight: bold;
|
39
|
+
}
|
40
|
+
|
41
|
+
em, i {
|
42
|
+
color: lighten($shibui-base-text-color, 10%);
|
43
|
+
font-style: italic;
|
44
|
+
}
|
45
|
+
|
46
|
+
code {
|
47
|
+
@include adjust-font-size-to($base-font-size * 0.9);
|
48
|
+
@extend %meslo-font-stack;
|
49
|
+
@extend %shibui-code-background;
|
50
|
+
color: lighten($shibui-base-text-color, 10%);
|
51
|
+
padding: 0 0.2em;
|
52
|
+
white-space: nowrap;
|
53
|
+
}
|
54
|
+
|
55
|
+
abbr[title] {
|
56
|
+
border-bottom: 1px dotted $shibui-base-text-color;
|
57
|
+
color: lighten($shibui-base-text-color, 10%);
|
58
|
+
cursor: help;
|
59
|
+
}
|
60
|
+
}
|
61
|
+
|
62
|
+
%shibui-reading-typography {
|
63
|
+
h1 {
|
64
|
+
@include shibui-font-size(xxxl);
|
65
|
+
}
|
66
|
+
|
67
|
+
h2 {
|
68
|
+
@include shibui-font-size(xxl);
|
69
|
+
}
|
70
|
+
|
71
|
+
h3 {
|
72
|
+
@include shibui-font-size(xl);
|
73
|
+
}
|
74
|
+
|
75
|
+
h4 {
|
76
|
+
@include shibui-font-size(l);
|
77
|
+
}
|
78
|
+
|
79
|
+
p, ul, ol, dl, pre, hr {
|
80
|
+
@include trailer;
|
81
|
+
|
82
|
+
&:last-child {
|
83
|
+
margin-bottom: 0;
|
84
|
+
}
|
85
|
+
}
|
86
|
+
|
87
|
+
ul, ol {
|
88
|
+
padding-left: 1.2em;
|
89
|
+
}
|
90
|
+
|
91
|
+
ul {
|
92
|
+
list-style: disc;
|
93
|
+
}
|
94
|
+
|
95
|
+
ol {
|
96
|
+
list-style: decimal;
|
97
|
+
}
|
98
|
+
|
99
|
+
dt {
|
100
|
+
color: lighten($shibui-base-text-color, 10%);
|
101
|
+
font-weight: bold;
|
102
|
+
}
|
103
|
+
|
104
|
+
pre {
|
105
|
+
@extend %shibui-code-background;
|
106
|
+
overflow: auto;
|
107
|
+
padding: $base-line-height * 0.5;
|
108
|
+
|
109
|
+
code {
|
110
|
+
@include border-radius(none);
|
111
|
+
@include box-shadow(none);
|
112
|
+
background: transparent;
|
113
|
+
border: none;
|
114
|
+
padding: 0;
|
115
|
+
white-space: pre-wrap;
|
116
|
+
}
|
117
|
+
}
|
118
|
+
|
119
|
+
hr {
|
120
|
+
@extend %shibui-recessed-background;
|
121
|
+
height: 1px;
|
122
|
+
}
|
123
|
+
}
|
124
|
+
|
125
|
+
@mixin shibui-typography($nested: false) {
|
126
|
+
@if $nested {
|
127
|
+
@extend %shibui-base-typography;
|
128
|
+
@extend %shibui-reading-typography;
|
129
|
+
}
|
130
|
+
@else {
|
131
|
+
body {
|
132
|
+
@extend %shibui-base-typography;
|
133
|
+
@extend %shibui-reading-typography;
|
134
|
+
}
|
135
|
+
}
|
136
|
+
}
|
metadata
CHANGED
@@ -1,19 +1,30 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: shibui
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
5
|
-
prerelease:
|
4
|
+
version: 0.0.2.alpha
|
5
|
+
prerelease: 6
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- Maximilian Schoening
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-
|
12
|
+
date: 2012-05-23 00:00:00.000000000Z
|
13
13
|
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
15
|
+
name: sass
|
16
|
+
requirement: &70226566662800 !ruby/object:Gem::Requirement
|
17
|
+
none: false
|
18
|
+
requirements:
|
19
|
+
- - ! '>='
|
20
|
+
- !ruby/object:Gem::Version
|
21
|
+
version: 3.2.0.alpha
|
22
|
+
type: :runtime
|
23
|
+
prerelease: false
|
24
|
+
version_requirements: *70226566662800
|
14
25
|
- !ruby/object:Gem::Dependency
|
15
26
|
name: compass
|
16
|
-
requirement: &
|
27
|
+
requirement: &70226566650360 !ruby/object:Gem::Requirement
|
17
28
|
none: false
|
18
29
|
requirements:
|
19
30
|
- - ! '>='
|
@@ -21,7 +32,7 @@ dependencies:
|
|
21
32
|
version: 0.11.5
|
22
33
|
type: :runtime
|
23
34
|
prerelease: false
|
24
|
-
version_requirements: *
|
35
|
+
version_requirements: *70226566650360
|
25
36
|
description: The Heroku CSS styleguide.
|
26
37
|
email:
|
27
38
|
- max@heroku.com
|
@@ -37,13 +48,11 @@ files:
|
|
37
48
|
- lib/shibui.rb
|
38
49
|
- lib/shibui/version.rb
|
39
50
|
- shibui.gemspec
|
40
|
-
- stylesheets/_shibui.
|
41
|
-
- stylesheets/shibui/
|
42
|
-
- stylesheets/shibui/_buttons.sass
|
43
|
-
- stylesheets/shibui/_components.sass
|
51
|
+
- stylesheets/_shibui.scss
|
52
|
+
- stylesheets/shibui/_config.scss
|
44
53
|
- stylesheets/shibui/_fonts.scss
|
45
|
-
- stylesheets/shibui/
|
46
|
-
- stylesheets/shibui/
|
54
|
+
- stylesheets/shibui/_init.scss
|
55
|
+
- stylesheets/shibui/_typography.scss
|
47
56
|
- templates/project/index.html
|
48
57
|
- templates/project/input-focus-bg.png
|
49
58
|
- templates/project/manifest.rb
|
@@ -63,9 +72,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
63
72
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
64
73
|
none: false
|
65
74
|
requirements:
|
66
|
-
- - ! '
|
75
|
+
- - ! '>'
|
67
76
|
- !ruby/object:Gem::Version
|
68
|
-
version:
|
77
|
+
version: 1.3.1
|
69
78
|
requirements: []
|
70
79
|
rubyforge_project:
|
71
80
|
rubygems_version: 1.8.10
|
data/stylesheets/_shibui.sass
DELETED
@@ -1,13 +0,0 @@
|
|
1
|
-
$base-font-size: 13px !default
|
2
|
-
$base-line-height: 18px !default
|
3
|
-
$relative-font-sizing: false !default
|
4
|
-
|
5
|
-
@import "compass"
|
6
|
-
@import "compass/reset"
|
7
|
-
|
8
|
-
@import "shibui/fonts"
|
9
|
-
@import "shibui/shared"
|
10
|
-
@import "shibui/base"
|
11
|
-
@import "shibui/buttons"
|
12
|
-
@import "shibui/forms"
|
13
|
-
@import "shibui/components"
|
@@ -1,89 +0,0 @@
|
|
1
|
-
@include establish-baseline
|
2
|
-
|
3
|
-
body
|
4
|
-
background: #1b1b24
|
5
|
-
color: #8487af
|
6
|
-
@include helvetica-fontstack
|
7
|
-
font-size: $base-font-size
|
8
|
-
|
9
|
-
p
|
10
|
-
@include trailer
|
11
|
-
|
12
|
-
&:last-child
|
13
|
-
margin-bottom: 0
|
14
|
-
|
15
|
-
#{headings(all)}
|
16
|
-
color: #fff
|
17
|
-
@include corbel-fontstack
|
18
|
-
|
19
|
-
h1
|
20
|
-
@include adjust-font-size-to($base-font-size * 2.8, $lines: 3)
|
21
|
-
|
22
|
-
h2
|
23
|
-
@include adjust-font-size-to($base-font-size * 2, $lines: 2)
|
24
|
-
|
25
|
-
h3
|
26
|
-
@include adjust-font-size-to($base-font-size * 1.5, $lines: 2)
|
27
|
-
|
28
|
-
h4
|
29
|
-
@include adjust-font-size-to($base-font-size * 1.3, $lines: 2)
|
30
|
-
|
31
|
-
h5
|
32
|
-
@include adjust-font-size-to($base-font-size * 1.1, $lines: 1)
|
33
|
-
|
34
|
-
// Missing blockquotes
|
35
|
-
|
36
|
-
ul, ol
|
37
|
-
@include trailer
|
38
|
-
|
39
|
-
&:last-child
|
40
|
-
margin-bottom: 0
|
41
|
-
|
42
|
-
ul
|
43
|
-
list-style: disc
|
44
|
-
padding-left: 16px
|
45
|
-
|
46
|
-
ol
|
47
|
-
list-style: decimal
|
48
|
-
padding-left: 19px
|
49
|
-
|
50
|
-
pre
|
51
|
-
background: #111116
|
52
|
-
@include border-radius(3px)
|
53
|
-
@include box-shadow(0 1px 0 rgba(255, 255, 255, .02), 0 1px 1px rgba(0, 0, 0, .25) inset)
|
54
|
-
overflow: auto
|
55
|
-
padding: $base-line-height
|
56
|
-
@include trailer
|
57
|
-
|
58
|
-
&:last-child
|
59
|
-
margin-bottom: 0
|
60
|
-
|
61
|
-
hr
|
62
|
-
background: #17171e
|
63
|
-
@include box-shadow(0 0 0 1px rgba(255, 255, 255, .02), 0 0 0 1px #101015 inset)
|
64
|
-
border: 0
|
65
|
-
height: 3px
|
66
|
-
@include trailer
|
67
|
-
|
68
|
-
&:last-child
|
69
|
-
margin-bottom: 0
|
70
|
-
|
71
|
-
a
|
72
|
-
&:link,
|
73
|
-
&:visited
|
74
|
-
color: #9782ff
|
75
|
-
text-decoration: none
|
76
|
-
|
77
|
-
&:hover,
|
78
|
-
&:active
|
79
|
-
text-decoration: underline
|
80
|
-
|
81
|
-
em
|
82
|
-
font-style: italic
|
83
|
-
|
84
|
-
strong
|
85
|
-
font-weight: bold
|
86
|
-
|
87
|
-
code
|
88
|
-
@include adjust-font-size-to($base-font-size * .9, $lines: 1)
|
89
|
-
@include meslo-fontstack
|
@@ -1,30 +0,0 @@
|
|
1
|
-
button
|
2
|
-
@include reset-box-model
|
3
|
-
|
4
|
-
a.button,
|
5
|
-
button,
|
6
|
-
input[type="submit"]
|
7
|
-
background: #7b5ae0
|
8
|
-
@include background-image(linear-gradient(top, #9372f7, #6443c9))
|
9
|
-
@include border-radius(40px)
|
10
|
-
@include box-shadow(0 1px 3px rgba(0, 0, 0, .5), 0 1px 2px rgba(255, 255, 255, .2) inset)
|
11
|
-
color: #100f14
|
12
|
-
display: inline-block
|
13
|
-
font-family: inherit
|
14
|
-
font-size: $base-font-size
|
15
|
-
-webkit-font-smoothing: antialiased
|
16
|
-
font-weight: bold
|
17
|
-
line-height: normal
|
18
|
-
padding: .5em 1.5em
|
19
|
-
text-shadow: 0 1px 0 rgba(255, 255, 255, .10)
|
20
|
-
|
21
|
-
&:hover
|
22
|
-
cursor: pointer
|
23
|
-
text-decoration: none
|
24
|
-
|
25
|
-
&.silver
|
26
|
-
background: #0f0e13
|
27
|
-
@include background-image(linear-gradient(top, #e6e7e9, #afb0b4))
|
28
|
-
@include box-shadow(0 1px 1px rgba(0, 0, 0, .5), 0 1px 2px rgba(255, 255, 255, .75) inset)
|
29
|
-
color: #000
|
30
|
-
text-shadow: 0 1px 0 rgba(255, 255, 255, .3)
|
@@ -1,23 +0,0 @@
|
|
1
|
-
input[type="text"],
|
2
|
-
textarea
|
3
|
-
background: #0d0e13
|
4
|
-
border: 1px solid #000
|
5
|
-
@include border-radius(3px)
|
6
|
-
@include box-shadow(0 0 0 1px rgba(255, 255, 255, 0.02))
|
7
|
-
color: #f0f0ff
|
8
|
-
display: block
|
9
|
-
@include helvetica-fontstack
|
10
|
-
font-size: $base-font-size
|
11
|
-
padding: .76923076923077em .61538461538462em
|
12
|
-
|
13
|
-
&::-webkit-input-placeholder
|
14
|
-
color: #494b63
|
15
|
-
|
16
|
-
&:focus
|
17
|
-
@include background(image-url("input-focus-bg.png") bottom repeat-x, linear-gradient(bottom, #253e5c, #070812 50%))
|
18
|
-
border-color: #000
|
19
|
-
color: #a5d1f8
|
20
|
-
outline: none
|
21
|
-
|
22
|
-
&::-webkit-input-placeholder
|
23
|
-
color: #68829d
|
@@ -1,8 +0,0 @@
|
|
1
|
-
@mixin helvetica-fontstack()
|
2
|
-
font-family: "helvetica neue", helvetica, arial, geneva, sans-serif
|
3
|
-
|
4
|
-
@mixin corbel-fontstack()
|
5
|
-
font-family: "CorbelRegular", "helvetica neue", helvetica, arial, geneva, sans-serif
|
6
|
-
|
7
|
-
@mixin meslo-fontstack()
|
8
|
-
font-family: "MesloRegular", monaco, monospace
|