epyce 0.5.0 → 0.6.0
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +7 -11
- data/VERSION +1 -1
- data/epyce.gemspec +1 -1
- data/lib/epyce/version.rb +2 -1
- data/lib/generators/epyce/template/app/views/layouts/application.html.haml +5 -1
- data/vendor/assets/stylesheets/epyce.css.sass +7 -1
- data/vendor/assets/stylesheets/epyce/ie.css +1 -0
- data/vendor/assets/stylesheets/epyce/mobile.css +1 -0
- data/vendor/assets/stylesheets/epyce/print.css +1 -0
- data/vendor/assets/stylesheets/epyce/reset.css +1 -0
- data/vendor/assets/stylesheets/epyce/screen.css +1 -0
- metadata +11 -9
- data/app/assets/stylesheets/html5S-libs/_core.sass +0 -40
- data/app/assets/stylesheets/html5S-libs/_normal.sass +0 -193
- data/app/assets/stylesheets/html5S-libs/_reset.sass +0 -217
data/README.md
CHANGED
@@ -1,20 +1,20 @@
|
|
1
1
|
Epyce
|
2
2
|
=====
|
3
3
|
|
4
|
-
HTML Epyce is a
|
4
|
+
HTML Epyce is a a rails layout including skeleton, HTML5S and knockout.js
|
5
5
|
|
6
6
|
* skeleton (http://www.getskeleton.com/)
|
7
7
|
support png background for old IE
|
8
|
-
* part of Damian Le Nouaille HTML5S project (https://github.com/damln/Html5S) which take parts of html5 boilerplate (http://html5boilerplate.com)
|
9
|
-
* depends on
|
8
|
+
* part of Damian Le Nouaille HTML5S project (https://github.com/damln/Html5S) which itself take parts of html5 boilerplate (http://html5boilerplate.com)
|
9
|
+
* depends on haml gem (http://haml-lang.com/)
|
10
10
|
|
11
|
-
Provide a
|
11
|
+
Provide a `application.html.haml` layout and some useful files in the public directory such as default icons.
|
12
12
|
|
13
13
|
Epyce include libs in debug mode when running in development environment and with minimal version of libs otherwise.
|
14
14
|
|
15
15
|
Provided libs are :
|
16
16
|
|
17
|
-
* knockout.js (http://knockoutjs.com)
|
17
|
+
* knockout.js (http://knockoutjs.com)
|
18
18
|
Model-View-ViewModel pattern implementation
|
19
19
|
* head.js (http://headjs.com/)
|
20
20
|
html reset and javascript load/run management
|
@@ -26,7 +26,8 @@ Rails Installation
|
|
26
26
|
|
27
27
|
First, make sure the following gems are in your Gemfile
|
28
28
|
|
29
|
-
gem "epyce"
|
29
|
+
gem "epyce", "~> 0.6.0"
|
30
|
+
gem "haml"
|
30
31
|
|
31
32
|
Then run the following
|
32
33
|
|
@@ -48,11 +49,6 @@ Then run the following
|
|
48
49
|
public/crossdomain.xml
|
49
50
|
public/favicon.png
|
50
51
|
|
51
|
-
Documentation
|
52
|
-
=============
|
53
|
-
|
54
|
-
(sorry nothing here yet)
|
55
|
-
|
56
52
|
License
|
57
53
|
=======
|
58
54
|
[http://creativecommons.org/licenses/by/3.0](http://creativecommons.org/licenses/by/3.0)
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.
|
1
|
+
0.6.0
|
data/epyce.gemspec
CHANGED
data/lib/epyce/version.rb
CHANGED
@@ -34,8 +34,12 @@
|
|
34
34
|
= stylesheet_link_tag 'application', :media => 'all'
|
35
35
|
= javascript_include_tag 'application'
|
36
36
|
|
37
|
-
- # use asset manager to include
|
37
|
+
- # use asset manager to include epyce. see vendor/assets
|
38
38
|
= stylesheet_link_tag 'epyce', :media => 'all'
|
39
|
+
<!--[if IE]>
|
40
|
+
= stylesheet_link_tag 'epyce/ie', :media => 'all'
|
41
|
+
<![endif]-->
|
42
|
+
|
39
43
|
- if Rails.env.development?
|
40
44
|
= javascript_include_tag 'epyce-debug'
|
41
45
|
- else
|
@@ -1,4 +1,10 @@
|
|
1
1
|
//# include all files in htm5-epyce folder
|
2
|
+
|
3
|
+
// # ftom HTML5S
|
4
|
+
// = require ./epyce/reset.css
|
5
|
+
// = require ./epyce/screen.css
|
6
|
+
// = require ./epyce/print.css
|
7
|
+
// = require ./epyce/mobile.css
|
8
|
+
|
2
9
|
// = require_tree ./skeleton
|
3
|
-
// = require_tree ./epyce
|
4
10
|
|
@@ -0,0 +1 @@
|
|
1
|
+
.ie6 .container{width:expression(document.body.clientWidth < 600 ? "600px" : document.body.clientWidth > 1000 ? "1000px" : "auto")}hr{margin-top:-0.5em}
|
@@ -0,0 +1 @@
|
|
1
|
+
@media only screen and (max-width: 767px){html{-webkit-text-size-adjust:none;-ms-text-size-adjust:none}body *{width:auto !important;margin:auto !important;padding:auto !important}textarea,table,td,th,code,pre,samp{word-wrap:break-word}code,pre,samp{white-space:pre-line}img,table,td,blockquote,code,pre,textarea,input,iframe,object,embed,video{max-width:100% !important}}
|
@@ -0,0 +1 @@
|
|
1
|
+
*{background:transparent !important;color:#000 !important;text-shadow:none !important;filter:none !important;-ms-filter:none !important}a{color:#444 !important;text-decoration:underline}a:visited{color:#444 !important;text-decoration:underline}a[href]:after{content:" (" attr(href) ")"}abbr[title]:after{content:" (" attr(title) ")"}.ir a:after{content:""}a[href^="javascript:"]:after,a[href^="#"]:after{content:""}pre,blockquote{border:1px solid #999;page-break-inside:avoid}thead{display:table-header-group}tr,img{page-break-inside:avoid}@page{margin:0.5cm}p,h2,h3{orphans:3;widows:3}h2,h3{page-break-after:avoid}
|
@@ -0,0 +1 @@
|
|
1
|
+
html,body,div,span,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,abbr,address,cite,code,del,dfn,em,img,ins,kbd,q,samp,small,strong,sub,sup,var,b,i,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,figcaption,figure,footer,header,hgroup,menu,nav,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;font-size:100%;font:inherit;vertical-align:baseline}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}html{overflow-y:scroll}blockquote,q{quotes:none}blockquote:before,blockquote:after{content:"";content:none}q:before,q:after{content:"";content:none}ins{text-decoration:none}del{text-decoration:line-through}abbr[title],dfn[title]{border:0;cursor:help}table{border-collapse:collapse;border-spacing:0}hr{display:block;background:none;height:0px;border:0;margin:0;padding:0}input,select{vertical-align:middle}select,input,textarea,button{font-size:99%}pre,code,kbd,samp{font-family:monospace,sans-serif}a:hover,a:active{outline:none}ol{list-style-type:decimal}ul,li{margin:0;list-style:none;list-style-image:none}small{font-size:85%}strong,th{font-weight:bold}td,th{vertical-align:top;text-align:left}sub{font-size:75%;line-height:0;position:relative}sup{font-size:75%;line-height:0;position:relative;top:-0.5em}sub{bottom:-0.25em}pre{white-space:pre;white-space:pre-wrap;word-wrap:break-word;padding:15px}address{font-style:normal}textarea{overflow:auto;resize:none}select,option,input,textarea,select:focus{outline:none;font-size:1em}input[type="radio"]{vertical-align:text-bottom}input[type="checkbox"]{vertical-align:bottom}label{cursor:text}input[type="button"],input[type="submit"],input[type="image"],input[type="reset"]{cursor:pointer}button{cursor:pointer}input,button,textarea{padding:0;border:0;margin:0;background:transparent;font:inherit}caption{text-align:left}h1,h2,h3,h4,h5,h6,strong,th{font-weight:normal;font-size:1em}button{width:auto;cursor:pointer;overflow:visible}.ie6 legend,.ie7 legend{margin-left:-7px}.ie7 img{-ms-interpolation-mode:bicubic}.ie7 input[type="checkbox"]{vertical-align:baseline}.ie6 input{vertical-align:text-bottom}.unselectable{-moz-user-select:-moz-none;-khtml-user-select:none;-webkit-user-select:none;user-select:none}.ir{display:block;text-indent:-999em;overflow:hidden;background-repeat:no-repeat;text-align:left;direction:ltr}.hidden{display:none;visibility:hidden}.visuallyhidden{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.visuallyhidden.focusable:active,.visuallyhidden.focusable:focus{clip:auto;height:auto;margin:0;overflow:visible;position:static;width:auto}.invisible{visibility:hidden}.cf{clear:both;zoom:1}.cf:before{content:"\0020";display:block;height:0;overflow:hidden}.cf:after{content:"\0020";display:block;height:0;overflow:hidden;clear:both}body{font:normal 13px "Lucida Grande","Tahoma",sans-serif;*font-size:13px;-webkit-font-smoothing:antialiased}body,select,input,textarea,button{color:#303030}select,input,textarea,button{font:99%}b{font-weight:bold}ins,a,a:hover,a:active{text-decoration:none}a,a:active{color:#636363;font-weight:inherit}a:hover{color:#000}a:link{-webkit-tap-highlight-color:#303030}td,th{border:1px solid #e5e5e5}h1,h2,h3,h4,h5,h6{color:#181818;font-family:"Georgia","Times New Roman",serif;font-weight:normal;line-height:1.3em}h1,h2,h3,h4,h5,h6,p{text-rendering:optimizeLegibility}p{line-height:1.618em}h1{font-size:2.6em;margin:14px 0}h2{font-size:2.2em;margin:10px 0}h3{font-size:1.8em;margin:6px 0}h4{font-size:1.4em;margin:4px 0}h5{font-size:1.1em}ul,ol{margin:20px}ol{list-style:decimal}li{margin-bottom:6px;list-style:square outside}blockquote{color:#636363;font-size:1.2em;line-height:1.3em;font-style:italic;margin:14px 0;padding:9px 20px 0 19px;border-left:1px solid #ddd}blockquote p{font-size:inherit;line-height:inherit;color:inherit;font-style:inherit}blockquote cite{display:block;font-size:0.9em;color:#555}blockquote cite:before{content:"\2014 \0020"}blockquote cite a{color:#555}blockquote cite a:visited{color:#555}input[type='text'],input[type='checkbox'],input[type='radio'],input.type_text,input.type_checkbox,input.type_radio{background:none}input[type='checkbox'],input[type='radio'],input.type_checkbox,input.type_radio{border:0}img.scale{max-width:100%;height:auto}hr{height:1px;padding:0;margin:10px 0;color:#c4c4c4;background-color:#c4c4c4;border:0}input[type='text'],input[type='password'],.type_text,.type_password{color:#444;border:1px solid #ccc;padding:2px;background:#fff;-moz-border-radius:2px;-webkit-border-radius:2px;-o-border-radius:2px;-ms-border-radius:2px;-khtml-border-radius:2px;border-radius:2px}input[type='text']:focus,input[type='password']:focus,.type_text:focus,.type_password:focus{color:inherit;border:1px solid #aaa;-moz-box-shadow:#eeeeee 1px 1px 0;-webkit-box-shadow:#eeeeee 1px 1px 0;-o-box-shadow:#eeeeee 1px 1px 0;box-shadow:#eeeeee 1px 1px 0}a.button,button,input[type='submit'],input[type='reset'],input[type='button'],.type_submit,.type_reset,.type_button{color:#444;border:1px solid #aaa;border-top:1px solid #ccc;border-left:1px solid #ccc;padding:2px 5px;display:inline-block;font-size:0.85em;cursor:pointer;margin-bottom:16px;line-height:15px;background:#eee;-moz-border-radius:3px;-webkit-border-radius:3px;-o-border-radius:3px;-ms-border-radius:3px;-khtml-border-radius:3px;border-radius:3px;text-shadow:rgba(255, 255, 255, 0.75) 0 1px;background-image:-webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #f7f7f7), color-stop(100%, #dddddd));background-image:-webkit-linear-gradient(top, #f7f7f7,#dddddd);background-image:-moz-linear-gradient(top, #f7f7f7,#dddddd);background-image:-o-linear-gradient(top, #f7f7f7,#dddddd);background-image:linear-gradient(top, #f7f7f7,#dddddd);filter:progid:DXImageTransform.Microsoft.gradient(startColorStr=#f7f7f7, endColorStr=#ddd, GradientType=1);-ms-filter:"progid:DXImageTransform.Microsoft.gradient(startColorstr=#f7f7f7, endColorstr=#ddd, GradientType=1)"}a.button:hover,button:hover,input[type='submit']:hover,input[type='reset']:hover,input[type='button']:hover,.type_submit:hover,.type_reset:hover,.type_button:hover{color:#fcfcfc;background:#5499d8;padding:2px 5px;border:1px solid #888;border-top:1px solid #aaa;border-left:1px solid #aaa;text-shadow:none;background-image:-webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #5499d8), color-stop(100%, #2d7dc5));background-image:-webkit-linear-gradient(top, #5499d8,#2d7dc5);background-image:-moz-linear-gradient(top, #5499d8,#2d7dc5);background-image:-o-linear-gradient(top, #5499d8,#2d7dc5);background-image:linear-gradient(top, #5499d8,#2d7dc5);filter:progid:DXImageTransform.Microsoft.gradient(startColorStr=#5499d8, endColorStr=#2d7dc5, GradientType=1);-ms-filter:"progid:DXImageTransform.Microsoft.gradient(startColorstr=#5499d8, endColorstr=#2d7dc5, GradientType=1)"}a.button:active,button:active,input[type='submit']:active,input[type='reset']:active,input[type='button']:active,.type_submit:active,.type_reset:active,.type_button:active{color:#fff;background:#2d7dc5;padding:2px 5px;border:1px solid #888;border-bottom:1px solid #aaa;border-right:1px solid #aaa;text-shadow:none;background-image:-webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #2d7dc5), color-stop(100%, #5499d8));background-image:-webkit-linear-gradient(top, #2d7dc5,#5499d8);background-image:-moz-linear-gradient(top, #2d7dc5,#5499d8);background-image:-o-linear-gradient(top, #2d7dc5,#5499d8);background-image:linear-gradient(top, #2d7dc5,#5499d8);filter:progid:DXImageTransform.Microsoft.gradient(startColorStr=#2d7dc5, endColorStr=#5499d8, GradientType=1);-ms-filter:"progid:DXImageTransform.Microsoft.gradient(startColorstr=#2d7dc5, endColorstr=#5499d8, GradientType=1)";position:relative;top:1px}textarea,textarea:hover,textarea:focus,textarea:active{background:#fff;border:1px solid #e5e5e5}textarea,select{color:inherit;border:1px solid #ccc;width:210px;max-width:100%;display:block;margin-bottom:20px;background:#fff;-moz-border-radius:2px;-webkit-border-radius:2px;-o-border-radius:2px;-ms-border-radius:2px;-khtml-border-radius:2px;border-radius:2px}textarea:focus,select:focus{border:1px solid #aaa;-moz-box-shadow:#eeeeee 2px 2px 0;-webkit-box-shadow:#eeeeee 2px 2px 0;-o-box-shadow:#eeeeee 2px 2px 0;box-shadow:#eeeeee 2px 2px 0}textarea{padding:6px 4px}::-moz-selection{background:#2d7dc5;color:#fff;text-shadow:none}::selection{background:#0bf;color:#fff;text-shadow:none}
|
@@ -0,0 +1 @@
|
|
1
|
+
.container{display:block;margin:0 auto;text-align:left}#page_wrap{display:block;margin:0 auto;text-align:left;width:960px}.no-js body{background:#8a2828}
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: epyce
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.6.0
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,12 +9,12 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2011-07-
|
12
|
+
date: 2011-07-25 00:00:00.000000000 +02:00
|
13
13
|
default_executable:
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: railties
|
17
|
-
requirement: &
|
17
|
+
requirement: &70269122412660 !ruby/object:Gem::Requirement
|
18
18
|
none: false
|
19
19
|
requirements:
|
20
20
|
- - ~>
|
@@ -22,10 +22,10 @@ dependencies:
|
|
22
22
|
version: 3.1.0.rc1
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
|
-
version_requirements: *
|
25
|
+
version_requirements: *70269122412660
|
26
26
|
- !ruby/object:Gem::Dependency
|
27
27
|
name: haml
|
28
|
-
requirement: &
|
28
|
+
requirement: &70269122474660 !ruby/object:Gem::Requirement
|
29
29
|
none: false
|
30
30
|
requirements:
|
31
31
|
- - ! '>='
|
@@ -33,7 +33,7 @@ dependencies:
|
|
33
33
|
version: '0'
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
|
-
version_requirements: *
|
36
|
+
version_requirements: *70269122474660
|
37
37
|
description: define a new layout and change asset manager defaults to get advantage
|
38
38
|
of skeleton (http://www.getskeleton.com/),Damian Le Nouaille HTML5S (https://github.com/damln/Html5S)
|
39
39
|
and knockout (http://knockoutjs.com)
|
@@ -47,9 +47,6 @@ files:
|
|
47
47
|
- README.md
|
48
48
|
- Rakefile
|
49
49
|
- VERSION
|
50
|
-
- app/assets/stylesheets/html5S-libs/_core.sass
|
51
|
-
- app/assets/stylesheets/html5S-libs/_normal.sass
|
52
|
-
- app/assets/stylesheets/html5S-libs/_reset.sass
|
53
50
|
- epyce.gemspec
|
54
51
|
- lib/epyce.rb
|
55
52
|
- lib/epyce/railtie.rb
|
@@ -80,6 +77,11 @@ files:
|
|
80
77
|
- vendor/assets/javascripts/epyce/underscore-min.js
|
81
78
|
- vendor/assets/stylesheets/epyce.css.sass
|
82
79
|
- vendor/assets/stylesheets/epyce/.gitkeep
|
80
|
+
- vendor/assets/stylesheets/epyce/ie.css
|
81
|
+
- vendor/assets/stylesheets/epyce/mobile.css
|
82
|
+
- vendor/assets/stylesheets/epyce/print.css
|
83
|
+
- vendor/assets/stylesheets/epyce/reset.css
|
84
|
+
- vendor/assets/stylesheets/epyce/screen.css
|
83
85
|
- vendor/assets/stylesheets/skeleton/base.css
|
84
86
|
- vendor/assets/stylesheets/skeleton/layout.css
|
85
87
|
- vendor/assets/stylesheets/skeleton/skeleton.css
|
@@ -1,40 +0,0 @@
|
|
1
|
-
/*
|
2
|
-
Author: Damian le Nouaille
|
3
|
-
URL: www.dln.name
|
4
|
-
|
5
|
-
=circle($diam)
|
6
|
-
display: block
|
7
|
-
width: #{$diam}px
|
8
|
-
height: #{$diam}px
|
9
|
-
$rad: #{$diam/2}
|
10
|
-
+border-radius(#{$rad}px)
|
11
|
-
|
12
|
-
=carre($size:200px)
|
13
|
-
display: block
|
14
|
-
width: $size
|
15
|
-
height: $size
|
16
|
-
|
17
|
-
=centerX()
|
18
|
-
display: block
|
19
|
-
margin: 0 auto
|
20
|
-
text-align: left
|
21
|
-
|
22
|
-
=centerXY($width: 100px,$height: 100px)
|
23
|
-
display: block
|
24
|
-
position: absolute
|
25
|
-
width: $width
|
26
|
-
height: $height
|
27
|
-
top: 50%
|
28
|
-
left: 50%
|
29
|
-
margin-top: -$height/2
|
30
|
-
margin-left: -$width/2
|
31
|
-
|
32
|
-
=pressedEffect($top: 1px)
|
33
|
-
position: relative
|
34
|
-
top: #{$top}
|
35
|
-
|
36
|
-
=gradient($top: #222, $bottom: #777)
|
37
|
-
+linear-gradient(color-stops($top, $bottom))
|
38
|
-
filter: progid:DXImageTransform.Microsoft.gradient(startColorStr=#{$top}, endColorStr=#{$bottom}, GradientType=1)
|
39
|
-
-ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#{$top}, endColorstr=#{$bottom}, GradientType=1)"
|
40
|
-
|
@@ -1,193 +0,0 @@
|
|
1
|
-
body
|
2
|
-
font: normal 13px "Lucida Grande", "Tahoma", sans-serif
|
3
|
-
*font-size: 13px
|
4
|
-
-webkit-font-smoothing: antialiased
|
5
|
-
|
6
|
-
body, select, input, textarea, button
|
7
|
-
color: #303030
|
8
|
-
|
9
|
-
select, input, textarea, button
|
10
|
-
font: 99%
|
11
|
-
b
|
12
|
-
font-weight: bold
|
13
|
-
|
14
|
-
ins, a, a:hover, a:active
|
15
|
-
text-decoration: none
|
16
|
-
|
17
|
-
a, a:active
|
18
|
-
color: #636363
|
19
|
-
font-weight: inherit
|
20
|
-
|
21
|
-
a:hover
|
22
|
-
color: #000
|
23
|
-
|
24
|
-
a:link
|
25
|
-
-webkit-tap-highlight-color: #303030
|
26
|
-
|
27
|
-
td, th
|
28
|
-
border: 1px solid #e5e5e5
|
29
|
-
|
30
|
-
h1, h2, h3, h4, h5, h6
|
31
|
-
color: #181818
|
32
|
-
font-family: "Georgia", "Times New Roman", serif
|
33
|
-
font-weight: normal
|
34
|
-
line-height: 1.3em
|
35
|
-
|
36
|
-
h1, h2, h3, h4, h5, h6, p
|
37
|
-
text-rendering: optimizeLegibility
|
38
|
-
|
39
|
-
p
|
40
|
-
line-height: 1.618em
|
41
|
-
|
42
|
-
h1
|
43
|
-
font-size: 2.6em
|
44
|
-
margin: 14px 0
|
45
|
-
|
46
|
-
h2
|
47
|
-
font-size: 2.2em
|
48
|
-
margin: 10px 0
|
49
|
-
|
50
|
-
h3
|
51
|
-
font-size: 1.8em
|
52
|
-
margin: 6px 0
|
53
|
-
|
54
|
-
h4
|
55
|
-
font-size: 1.4em
|
56
|
-
margin: 4px 0
|
57
|
-
|
58
|
-
h5
|
59
|
-
font-size: 1.1em
|
60
|
-
|
61
|
-
ul, ol
|
62
|
-
margin: 20px
|
63
|
-
|
64
|
-
ol
|
65
|
-
list-style: decimal
|
66
|
-
|
67
|
-
li
|
68
|
-
margin-bottom: 6px
|
69
|
-
list-style: square outside
|
70
|
-
|
71
|
-
blockquote
|
72
|
-
color: #636363
|
73
|
-
font-size: 1.2em
|
74
|
-
line-height: 1.3em
|
75
|
-
font-style: italic
|
76
|
-
margin: 14px 0
|
77
|
-
padding: 9px 20px 0 19px
|
78
|
-
border-left: 1px solid #ddd
|
79
|
-
p
|
80
|
-
font-size: inherit
|
81
|
-
line-height: inherit
|
82
|
-
color: inherit
|
83
|
-
font-style: inherit
|
84
|
-
cite
|
85
|
-
display: block
|
86
|
-
font-size: 0.9em
|
87
|
-
color: #555
|
88
|
-
&:before
|
89
|
-
content: "\2014 \0020"
|
90
|
-
a
|
91
|
-
color: #555
|
92
|
-
&:visited
|
93
|
-
color: #555
|
94
|
-
|
95
|
-
input
|
96
|
-
&[type='text'], &[type='checkbox'], &[type='radio'], &.type_text, &.type_checkbox, &.type_radio
|
97
|
-
background: none
|
98
|
-
|
99
|
-
input
|
100
|
-
&[type='checkbox'], &[type='radio'], &.type_checkbox, &.type_radio
|
101
|
-
border: 0
|
102
|
-
|
103
|
-
|
104
|
-
img.scale
|
105
|
-
max-width: 100%
|
106
|
-
height: auto
|
107
|
-
|
108
|
-
hr
|
109
|
-
height: 1px
|
110
|
-
padding: 0
|
111
|
-
margin: 10px 0
|
112
|
-
color: #c4c4c4
|
113
|
-
background-color: #c4c4c4
|
114
|
-
border: 0
|
115
|
-
|
116
|
-
input[type='text'], input[type='password'], .type_text, .type_password
|
117
|
-
color: #444
|
118
|
-
border: 1px solid #ccc
|
119
|
-
padding: 2px
|
120
|
-
background: #fff
|
121
|
-
+border-radius(2px)
|
122
|
-
&:focus
|
123
|
-
color: inherit
|
124
|
-
border: 1px solid #aaa
|
125
|
-
+box-shadow(#eee 1px 1px 0)
|
126
|
-
|
127
|
-
a.button, button, input[type='submit'], input[type='reset'], input[type='button'], .type_submit, .type_reset, .type_button
|
128
|
-
color: #444
|
129
|
-
border: 1px solid #aaa
|
130
|
-
border-top: 1px solid #ccc
|
131
|
-
border-left: 1px solid #ccc
|
132
|
-
padding: 2px 5px
|
133
|
-
display: inline-block
|
134
|
-
font-size: 0.85em
|
135
|
-
cursor: pointer
|
136
|
-
margin-bottom: 16px
|
137
|
-
line-height: 15px
|
138
|
-
background: #eee
|
139
|
-
+border-radius(3px)
|
140
|
-
+text-shadow(rgba(255, 255, 255, 0.75) 0 1px)
|
141
|
-
+gradient(#f7f7f7, #dddddd)
|
142
|
-
|
143
|
-
&:hover
|
144
|
-
color: #fcfcfc
|
145
|
-
background: #5499d8
|
146
|
-
padding: 2px 5px
|
147
|
-
border: 1px solid #888
|
148
|
-
border-top: 1px solid #aaa
|
149
|
-
border-left: 1px solid #aaa
|
150
|
-
+text-shadow(none)
|
151
|
-
+gradient(#5499d8, #2d7dc5)
|
152
|
-
|
153
|
-
&:active
|
154
|
-
color: #fff
|
155
|
-
background: #2d7dc5
|
156
|
-
padding: 2px 5px
|
157
|
-
border: 1px solid #888
|
158
|
-
border-bottom: 1px solid #aaa
|
159
|
-
border-right: 1px solid #aaa
|
160
|
-
+text-shadow(none)
|
161
|
-
+gradient(#2d7dc5, #5499d8)
|
162
|
-
+pressedEffect
|
163
|
-
|
164
|
-
textarea, textarea:hover, textarea:focus, textarea:active
|
165
|
-
background: #fff
|
166
|
-
border: 1px solid #e5e5e5
|
167
|
-
|
168
|
-
textarea, select
|
169
|
-
color: inherit
|
170
|
-
border: 1px solid #ccc
|
171
|
-
width: 210px
|
172
|
-
max-width: 100%
|
173
|
-
display: block
|
174
|
-
margin-bottom: 20px
|
175
|
-
background: #fff
|
176
|
-
+border-radius(2px)
|
177
|
-
&:focus
|
178
|
-
border: 1px solid #aaa
|
179
|
-
+box-shadow(#eee 2px 2px 0)
|
180
|
-
|
181
|
-
textarea
|
182
|
-
padding: 6px 4px
|
183
|
-
|
184
|
-
\::-moz-selection
|
185
|
-
background: #2d7dc5
|
186
|
-
color: #fff
|
187
|
-
+text-shadow(none)
|
188
|
-
|
189
|
-
\::selection
|
190
|
-
background: #00bbff
|
191
|
-
color: #fff
|
192
|
-
+text-shadow(none)
|
193
|
-
|
@@ -1,217 +0,0 @@
|
|
1
|
-
// HTML5 ✰ BOILERPLATE
|
2
|
-
|
3
|
-
html, body, div, span, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, abbr, address, cite, code, del, dfn, em, img, ins, kbd, q, samp, small, strong, sub, sup, var, b, i, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, figcaption, figure, footer, header, hgroup, menu, nav, section, summary, time, mark, audio, video
|
4
|
-
margin: 0
|
5
|
-
padding: 0
|
6
|
-
border: 0
|
7
|
-
font-size: 100%
|
8
|
-
font: inherit
|
9
|
-
vertical-align: baseline
|
10
|
-
|
11
|
-
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section
|
12
|
-
display: block
|
13
|
-
|
14
|
-
html
|
15
|
-
overflow-y: scroll
|
16
|
-
|
17
|
-
blockquote, q
|
18
|
-
quotes: none
|
19
|
-
|
20
|
-
blockquote
|
21
|
-
&:before, &:after
|
22
|
-
content: ""
|
23
|
-
content: none
|
24
|
-
|
25
|
-
q
|
26
|
-
&:before, &:after
|
27
|
-
content: ""
|
28
|
-
content: none
|
29
|
-
|
30
|
-
ins
|
31
|
-
text-decoration: none
|
32
|
-
|
33
|
-
del
|
34
|
-
text-decoration: line-through
|
35
|
-
|
36
|
-
abbr[title], dfn[title]
|
37
|
-
border: 0
|
38
|
-
cursor: help
|
39
|
-
|
40
|
-
table
|
41
|
-
border-collapse: collapse
|
42
|
-
border-spacing: 0
|
43
|
-
|
44
|
-
hr
|
45
|
-
display: block
|
46
|
-
background: none
|
47
|
-
height: 0px
|
48
|
-
border: 0
|
49
|
-
margin: 0
|
50
|
-
padding: 0
|
51
|
-
|
52
|
-
input, select
|
53
|
-
vertical-align: middle
|
54
|
-
|
55
|
-
select, input, textarea, button
|
56
|
-
font-size: 99%
|
57
|
-
|
58
|
-
pre, code, kbd, samp
|
59
|
-
font-family: monospace, sans-serif
|
60
|
-
|
61
|
-
a
|
62
|
-
&:hover, &:active
|
63
|
-
outline: none
|
64
|
-
|
65
|
-
ol
|
66
|
-
list-style-type: decimal
|
67
|
-
|
68
|
-
ul, li
|
69
|
-
margin: 0
|
70
|
-
list-style: none
|
71
|
-
list-style-image: none
|
72
|
-
|
73
|
-
small
|
74
|
-
font-size: 85%
|
75
|
-
|
76
|
-
strong, th
|
77
|
-
font-weight: bold
|
78
|
-
|
79
|
-
td, th
|
80
|
-
vertical-align: top
|
81
|
-
text-align: left
|
82
|
-
|
83
|
-
sub
|
84
|
-
font-size: 75%
|
85
|
-
line-height: 0
|
86
|
-
position: relative
|
87
|
-
|
88
|
-
sup
|
89
|
-
font-size: 75%
|
90
|
-
line-height: 0
|
91
|
-
position: relative
|
92
|
-
top: -0.5em
|
93
|
-
|
94
|
-
sub
|
95
|
-
bottom: -0.25em
|
96
|
-
|
97
|
-
pre
|
98
|
-
white-space: pre
|
99
|
-
white-space: pre-wrap
|
100
|
-
word-wrap: break-word
|
101
|
-
padding: 15px
|
102
|
-
|
103
|
-
address
|
104
|
-
font-style: normal
|
105
|
-
|
106
|
-
textarea
|
107
|
-
overflow: auto
|
108
|
-
resize: none
|
109
|
-
|
110
|
-
// Chrome blue glow :
|
111
|
-
select, option, input, textarea, select:focus
|
112
|
-
outline: none
|
113
|
-
font-size: 1em
|
114
|
-
|
115
|
-
input
|
116
|
-
&[type="radio"]
|
117
|
-
vertical-align: text-bottom
|
118
|
-
&[type="checkbox"]
|
119
|
-
vertical-align: bottom
|
120
|
-
|
121
|
-
label
|
122
|
-
cursor: text
|
123
|
-
|
124
|
-
input
|
125
|
-
&[type="button"], &[type="submit"], &[type="image"], &[type="reset"]
|
126
|
-
cursor: pointer
|
127
|
-
|
128
|
-
button
|
129
|
-
cursor: pointer
|
130
|
-
|
131
|
-
input, button, textarea
|
132
|
-
padding: 0
|
133
|
-
border: 0
|
134
|
-
margin: 0
|
135
|
-
background: transparent
|
136
|
-
font: inherit
|
137
|
-
|
138
|
-
// Firefox bug
|
139
|
-
caption
|
140
|
-
text-align: left
|
141
|
-
|
142
|
-
h1, h2, h3, h4, h5, h6, strong, th
|
143
|
-
font-weight: normal
|
144
|
-
font-size: 1em
|
145
|
-
|
146
|
-
button
|
147
|
-
width: auto
|
148
|
-
cursor: pointer
|
149
|
-
overflow: visible
|
150
|
-
|
151
|
-
// ----------[ IE WORLD ]-------------------
|
152
|
-
.ie6 legend, .ie7 legend
|
153
|
-
margin-left: -7px
|
154
|
-
|
155
|
-
.ie7 img
|
156
|
-
-ms-interpolation-mode: bicubic
|
157
|
-
|
158
|
-
.ie7 input[type="checkbox"]
|
159
|
-
vertical-align: baseline
|
160
|
-
|
161
|
-
.ie6 input
|
162
|
-
vertical-align: text-bottom
|
163
|
-
|
164
|
-
// ----------[ HELPERS ]-----------
|
165
|
-
.unselectable
|
166
|
-
-moz-user-select: -moz-none
|
167
|
-
-khtml-user-select: none
|
168
|
-
-webkit-user-select: none
|
169
|
-
user-select: none
|
170
|
-
|
171
|
-
.ir
|
172
|
-
display: block
|
173
|
-
text-indent: -999em
|
174
|
-
overflow: hidden
|
175
|
-
background-repeat: no-repeat
|
176
|
-
text-align: left
|
177
|
-
direction: ltr
|
178
|
-
|
179
|
-
.hidden
|
180
|
-
display: none
|
181
|
-
visibility: hidden
|
182
|
-
|
183
|
-
.visuallyhidden
|
184
|
-
border: 0
|
185
|
-
clip: rect(0 0 0 0)
|
186
|
-
height: 1px
|
187
|
-
margin: -1px
|
188
|
-
overflow: hidden
|
189
|
-
padding: 0
|
190
|
-
position: absolute
|
191
|
-
width: 1px
|
192
|
-
&.focusable
|
193
|
-
&:active, &:focus
|
194
|
-
clip: auto
|
195
|
-
height: auto
|
196
|
-
margin: 0
|
197
|
-
overflow: visible
|
198
|
-
position: static
|
199
|
-
width: auto
|
200
|
-
|
201
|
-
.invisible
|
202
|
-
visibility: hidden
|
203
|
-
|
204
|
-
.cf
|
205
|
-
clear: both
|
206
|
-
zoom: 1
|
207
|
-
&:before
|
208
|
-
content: "\0020"
|
209
|
-
display: block
|
210
|
-
height: 0
|
211
|
-
overflow: hidden
|
212
|
-
&:after
|
213
|
-
content: "\0020"
|
214
|
-
display: block
|
215
|
-
height: 0
|
216
|
-
overflow: hidden
|
217
|
-
clear: both
|