vital 1.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +27 -0
- data/.ruby-version +1 -0
- data/CHANGELOG.md +18 -0
- data/CONTRIBUTING.md +31 -0
- data/Gemfile +2 -0
- data/Gemfile.lock +42 -0
- data/LICENSE.md +13 -0
- data/README.md +92 -0
- data/Rakefile +41 -0
- data/dist/css/vital.css +1355 -0
- data/dist/css/vital.css.map +7 -0
- data/dist/css/vital.min.css +2 -0
- data/dist/css/vital.min.css.map +7 -0
- data/dist/fonts/icons.eot +0 -0
- data/dist/fonts/icons.svg +50 -0
- data/dist/fonts/icons.ttf +0 -0
- data/dist/fonts/icons.woff +0 -0
- data/fontcustom.yml +24 -0
- data/fonts/icons.eot +0 -0
- data/fonts/icons.svg +50 -0
- data/fonts/icons.ttf +0 -0
- data/fonts/icons.woff +0 -0
- data/lib/vital/engine.rb +10 -0
- data/lib/vital/version.rb +3 -0
- data/lib/vital.rb +57 -0
- data/releases/v1.0.0/fonts/icons.eot +0 -0
- data/releases/v1.0.0/fonts/icons.svg +50 -0
- data/releases/v1.0.0/fonts/icons.ttf +0 -0
- data/releases/v1.0.0/fonts/icons.woff +0 -0
- data/releases/v1.0.0/stylesheets/vital.min.css +1 -0
- data/releases/v1.0.1/fonts/icons.eot +0 -0
- data/releases/v1.0.1/fonts/icons.svg +50 -0
- data/releases/v1.0.1/fonts/icons.ttf +0 -0
- data/releases/v1.0.1/fonts/icons.woff +0 -0
- data/releases/v1.0.1/stylesheets/vital.min.css +1 -0
- data/releases/v1.1.0/fonts/icons.eot +0 -0
- data/releases/v1.1.0/fonts/icons.svg +50 -0
- data/releases/v1.1.0/fonts/icons.ttf +0 -0
- data/releases/v1.1.0/fonts/icons.woff +0 -0
- data/releases/v1.1.0/stylesheets/vital.min.css +1 -0
- data/sass/vital/_all.sass +21 -0
- data/sass/vital/_base.sass +148 -0
- data/sass/vital/_buttons.sass +133 -0
- data/sass/vital/_custom.sass +4 -0
- data/sass/vital/_footer.sass +33 -0
- data/sass/vital/_forms.sass +187 -0
- data/sass/vital/_grid.sass +47 -0
- data/sass/vital/_header.sass +134 -0
- data/sass/vital/_helpers.sass +191 -0
- data/sass/vital/_heroes.sass +35 -0
- data/sass/vital/_icons.sass +80 -0
- data/sass/vital/_loaders.sass +82 -0
- data/sass/vital/_normalize.sass +325 -0
- data/sass/vital/_notice.sass +20 -0
- data/sass/vital/_pagination.sass +32 -0
- data/sass/vital/_sprockets.sass +7 -0
- data/sass/vital/_syntax.sass +159 -0
- data/sass/vital/_tables.sass +40 -0
- data/sass/vital/_tabs.sass +61 -0
- data/sass/vital/_variables.sass +135 -0
- data/sass/vital.css.sass +1 -0
- data/sass/vital.sass +1 -0
- data/vital.gemspec +23 -0
- metadata +164 -0
@@ -0,0 +1,135 @@
|
|
1
|
+
// Variables
|
2
|
+
|
3
|
+
// Fonts
|
4
|
+
|
5
|
+
$vital-sass-asset-helper: false !default
|
6
|
+
|
7
|
+
$font: "Helvetica Neue", Helvetica, Sans-Serif !default
|
8
|
+
$code: "Monaco", Menlo, Courier !default
|
9
|
+
$icons: "icons", helvetica, Sans-Serif !default
|
10
|
+
|
11
|
+
// App Colors
|
12
|
+
|
13
|
+
$header: #FFF !default
|
14
|
+
$notice: #FFE0A3 !default
|
15
|
+
$body: #FAFAFA !default
|
16
|
+
$page: #FFF !default
|
17
|
+
|
18
|
+
// Base Colors
|
19
|
+
|
20
|
+
$white: #FFF !default
|
21
|
+
$gray-lightest: #F9F9F9 !default
|
22
|
+
$gray-lighter: #EEE !default
|
23
|
+
$gray-light: #BBB !default
|
24
|
+
$gray-medium: #999 !default
|
25
|
+
$gray: #666 !default
|
26
|
+
$gray-dark: #333 !default
|
27
|
+
$black: #000 !default
|
28
|
+
$red: #C9282E !default
|
29
|
+
$red-bright: #FF0008 !default
|
30
|
+
$orange: #E16E00 !default
|
31
|
+
$yellow: #D5B778 !default
|
32
|
+
$green: #6BAF56 !default
|
33
|
+
$blue: #5A9FC8 !default
|
34
|
+
|
35
|
+
// Background Colors
|
36
|
+
|
37
|
+
$bg-gray-lgihter: $gray-lighter !default
|
38
|
+
$bg-transparent: rgba(0,0,0,0.1) !default
|
39
|
+
$bg-tab: $gray-light !default
|
40
|
+
|
41
|
+
// Gradated Background Colors
|
42
|
+
|
43
|
+
$bg-red: linear-gradient(to bottom right, #C9282E, #A60052) !default
|
44
|
+
$bg-red-fallback: #A8002D !default
|
45
|
+
|
46
|
+
$bg-black: linear-gradient(to bottom right, #222, #333) !default
|
47
|
+
$bg-black-fallback: #252525 !default
|
48
|
+
|
49
|
+
$bg-green: linear-gradient(to bottom right, #73B558, #45D093) !default
|
50
|
+
$bg-green-fallback: #52BB5C !default
|
51
|
+
|
52
|
+
$bg-gray: linear-gradient(to bottom right, #888, #CCC) !default
|
53
|
+
$bg-gray-fallback: #9A9A9A !default
|
54
|
+
|
55
|
+
$bg-blue: linear-gradient(to bottom right, #25639A, #1F9CEA) !default
|
56
|
+
$bg-blue-fallback: #1C6AB9 !default
|
57
|
+
|
58
|
+
// Hover
|
59
|
+
|
60
|
+
$link: $red !default
|
61
|
+
$hover: $red-bright !default
|
62
|
+
$focus: rgba(255,0,0,0.2) !default
|
63
|
+
|
64
|
+
// Header
|
65
|
+
|
66
|
+
$header-height: 4.25em !default
|
67
|
+
$header-link-hover: #F5F5F5 !default
|
68
|
+
|
69
|
+
// Typography
|
70
|
+
|
71
|
+
$text: #444 !default
|
72
|
+
$bold: 500 !default
|
73
|
+
|
74
|
+
// Transitions
|
75
|
+
|
76
|
+
$standard-animation-speed: 200ms !default
|
77
|
+
$all: all $standard-animation-speed ease-in-out !default
|
78
|
+
$color: color $standard-animation-speed ease-in-out !default
|
79
|
+
|
80
|
+
// GPU Trickery
|
81
|
+
|
82
|
+
$translate: translateZ(0) !default
|
83
|
+
|
84
|
+
// Radius
|
85
|
+
|
86
|
+
$radius: 0.15em !default
|
87
|
+
$round: 99em !default
|
88
|
+
|
89
|
+
// Grid
|
90
|
+
|
91
|
+
$grid-padding: 2% !default
|
92
|
+
|
93
|
+
// Loaders
|
94
|
+
|
95
|
+
$loader-large: 48px !default
|
96
|
+
$loader: 32px !default
|
97
|
+
$loader-small: 16px !default
|
98
|
+
$loader-smallest: 9px !default
|
99
|
+
|
100
|
+
// Forms
|
101
|
+
|
102
|
+
$size: 1em !default
|
103
|
+
$border-width: 1px !default
|
104
|
+
$input-left-right-padding: 0.5em !default
|
105
|
+
$input-checkbox-checked: $link !default
|
106
|
+
$input-background-color: #FFF !default
|
107
|
+
$input-height: 2.7em !default
|
108
|
+
|
109
|
+
// Breakpoints
|
110
|
+
|
111
|
+
$desktop-large: 1680px !default
|
112
|
+
$desktop: 1440px !default
|
113
|
+
$laptop: 1280px !default
|
114
|
+
$tablet: 1080px !default
|
115
|
+
$phablet: 860px !default
|
116
|
+
$phablet-handheld: 780px !default
|
117
|
+
$handheld: 667px !default
|
118
|
+
$handheld-portrait: 334px !default
|
119
|
+
|
120
|
+
// Characters
|
121
|
+
|
122
|
+
$non-breaking-space: '\00a0' !default
|
123
|
+
|
124
|
+
// Mixins
|
125
|
+
|
126
|
+
@mixin appearance-none
|
127
|
+
-moz-appearance: none
|
128
|
+
-o-appearance: none
|
129
|
+
-ms-appearance: none
|
130
|
+
-webkit-appearance: none
|
131
|
+
appearance: none
|
132
|
+
|
133
|
+
// Vectors
|
134
|
+
|
135
|
+
$svg-arrow-updown: 'data:image/svg+xml;utf8,<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="512px" height="512px" viewBox="0 0 512 512" style="enable-background:new 0 0 512 512;" xml:space="preserve"><polyline points="114.3,212.8 388,212.8 251.1,0 114.3,212.8 "/><polyline points="388,297.9 114.3,297.9 251.1,510.7 388,297.9 "/></svg>'
|
data/sass/vital.css.sass
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
@import vital/all
|
data/sass/vital.sass
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
@import vital/all
|
data/vital.gemspec
ADDED
@@ -0,0 +1,23 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
lib = File.expand_path('../lib', __FILE__)
|
3
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
|
+
require 'vital/version'
|
5
|
+
|
6
|
+
Gem::Specification.new do |spec|
|
7
|
+
spec.name = 'vital'
|
8
|
+
spec.version = Vital::VERSION
|
9
|
+
spec.authors = ['Body Taing', 'Fabio Rehm']
|
10
|
+
spec.email = ['btaing@doximity.com', 'frehm@doximity.com']
|
11
|
+
|
12
|
+
spec.summary = 'A minimally invasive CSS framework for modern web applications.'
|
13
|
+
spec.homepage = 'https://doximity.github.io/vital/'
|
14
|
+
|
15
|
+
spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features|docs|icons)/}) }
|
16
|
+
spec.require_paths = ['lib']
|
17
|
+
|
18
|
+
spec.add_dependency 'sass', '>= 3.4'
|
19
|
+
|
20
|
+
spec.add_development_dependency 'bundler', '~> 1.11'
|
21
|
+
spec.add_development_dependency 'fontcustom', '>= 1.3'
|
22
|
+
spec.add_development_dependency 'rake', '~> 10.0'
|
23
|
+
end
|
metadata
ADDED
@@ -0,0 +1,164 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: vital
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 1.2.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Body Taing
|
8
|
+
- Fabio Rehm
|
9
|
+
autorequire:
|
10
|
+
bindir: bin
|
11
|
+
cert_chain: []
|
12
|
+
date: 2016-08-05 00:00:00.000000000 Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
15
|
+
name: sass
|
16
|
+
requirement: !ruby/object:Gem::Requirement
|
17
|
+
requirements:
|
18
|
+
- - ">="
|
19
|
+
- !ruby/object:Gem::Version
|
20
|
+
version: '3.4'
|
21
|
+
type: :runtime
|
22
|
+
prerelease: false
|
23
|
+
version_requirements: !ruby/object:Gem::Requirement
|
24
|
+
requirements:
|
25
|
+
- - ">="
|
26
|
+
- !ruby/object:Gem::Version
|
27
|
+
version: '3.4'
|
28
|
+
- !ruby/object:Gem::Dependency
|
29
|
+
name: bundler
|
30
|
+
requirement: !ruby/object:Gem::Requirement
|
31
|
+
requirements:
|
32
|
+
- - "~>"
|
33
|
+
- !ruby/object:Gem::Version
|
34
|
+
version: '1.11'
|
35
|
+
type: :development
|
36
|
+
prerelease: false
|
37
|
+
version_requirements: !ruby/object:Gem::Requirement
|
38
|
+
requirements:
|
39
|
+
- - "~>"
|
40
|
+
- !ruby/object:Gem::Version
|
41
|
+
version: '1.11'
|
42
|
+
- !ruby/object:Gem::Dependency
|
43
|
+
name: fontcustom
|
44
|
+
requirement: !ruby/object:Gem::Requirement
|
45
|
+
requirements:
|
46
|
+
- - ">="
|
47
|
+
- !ruby/object:Gem::Version
|
48
|
+
version: '1.3'
|
49
|
+
type: :development
|
50
|
+
prerelease: false
|
51
|
+
version_requirements: !ruby/object:Gem::Requirement
|
52
|
+
requirements:
|
53
|
+
- - ">="
|
54
|
+
- !ruby/object:Gem::Version
|
55
|
+
version: '1.3'
|
56
|
+
- !ruby/object:Gem::Dependency
|
57
|
+
name: rake
|
58
|
+
requirement: !ruby/object:Gem::Requirement
|
59
|
+
requirements:
|
60
|
+
- - "~>"
|
61
|
+
- !ruby/object:Gem::Version
|
62
|
+
version: '10.0'
|
63
|
+
type: :development
|
64
|
+
prerelease: false
|
65
|
+
version_requirements: !ruby/object:Gem::Requirement
|
66
|
+
requirements:
|
67
|
+
- - "~>"
|
68
|
+
- !ruby/object:Gem::Version
|
69
|
+
version: '10.0'
|
70
|
+
description:
|
71
|
+
email:
|
72
|
+
- btaing@doximity.com
|
73
|
+
- frehm@doximity.com
|
74
|
+
executables: []
|
75
|
+
extensions: []
|
76
|
+
extra_rdoc_files: []
|
77
|
+
files:
|
78
|
+
- ".gitignore"
|
79
|
+
- ".ruby-version"
|
80
|
+
- CHANGELOG.md
|
81
|
+
- CONTRIBUTING.md
|
82
|
+
- Gemfile
|
83
|
+
- Gemfile.lock
|
84
|
+
- LICENSE.md
|
85
|
+
- README.md
|
86
|
+
- Rakefile
|
87
|
+
- dist/css/vital.css
|
88
|
+
- dist/css/vital.css.map
|
89
|
+
- dist/css/vital.min.css
|
90
|
+
- dist/css/vital.min.css.map
|
91
|
+
- dist/fonts/icons.eot
|
92
|
+
- dist/fonts/icons.svg
|
93
|
+
- dist/fonts/icons.ttf
|
94
|
+
- dist/fonts/icons.woff
|
95
|
+
- fontcustom.yml
|
96
|
+
- fonts/icons.eot
|
97
|
+
- fonts/icons.svg
|
98
|
+
- fonts/icons.ttf
|
99
|
+
- fonts/icons.woff
|
100
|
+
- lib/vital.rb
|
101
|
+
- lib/vital/engine.rb
|
102
|
+
- lib/vital/version.rb
|
103
|
+
- releases/v1.0.0/fonts/icons.eot
|
104
|
+
- releases/v1.0.0/fonts/icons.svg
|
105
|
+
- releases/v1.0.0/fonts/icons.ttf
|
106
|
+
- releases/v1.0.0/fonts/icons.woff
|
107
|
+
- releases/v1.0.0/stylesheets/vital.min.css
|
108
|
+
- releases/v1.0.1/fonts/icons.eot
|
109
|
+
- releases/v1.0.1/fonts/icons.svg
|
110
|
+
- releases/v1.0.1/fonts/icons.ttf
|
111
|
+
- releases/v1.0.1/fonts/icons.woff
|
112
|
+
- releases/v1.0.1/stylesheets/vital.min.css
|
113
|
+
- releases/v1.1.0/fonts/icons.eot
|
114
|
+
- releases/v1.1.0/fonts/icons.svg
|
115
|
+
- releases/v1.1.0/fonts/icons.ttf
|
116
|
+
- releases/v1.1.0/fonts/icons.woff
|
117
|
+
- releases/v1.1.0/stylesheets/vital.min.css
|
118
|
+
- sass/vital.css.sass
|
119
|
+
- sass/vital.sass
|
120
|
+
- sass/vital/_all.sass
|
121
|
+
- sass/vital/_base.sass
|
122
|
+
- sass/vital/_buttons.sass
|
123
|
+
- sass/vital/_custom.sass
|
124
|
+
- sass/vital/_footer.sass
|
125
|
+
- sass/vital/_forms.sass
|
126
|
+
- sass/vital/_grid.sass
|
127
|
+
- sass/vital/_header.sass
|
128
|
+
- sass/vital/_helpers.sass
|
129
|
+
- sass/vital/_heroes.sass
|
130
|
+
- sass/vital/_icons.sass
|
131
|
+
- sass/vital/_loaders.sass
|
132
|
+
- sass/vital/_normalize.sass
|
133
|
+
- sass/vital/_notice.sass
|
134
|
+
- sass/vital/_pagination.sass
|
135
|
+
- sass/vital/_sprockets.sass
|
136
|
+
- sass/vital/_syntax.sass
|
137
|
+
- sass/vital/_tables.sass
|
138
|
+
- sass/vital/_tabs.sass
|
139
|
+
- sass/vital/_variables.sass
|
140
|
+
- vital.gemspec
|
141
|
+
homepage: https://doximity.github.io/vital/
|
142
|
+
licenses: []
|
143
|
+
metadata: {}
|
144
|
+
post_install_message:
|
145
|
+
rdoc_options: []
|
146
|
+
require_paths:
|
147
|
+
- lib
|
148
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
149
|
+
requirements:
|
150
|
+
- - ">="
|
151
|
+
- !ruby/object:Gem::Version
|
152
|
+
version: '0'
|
153
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
154
|
+
requirements:
|
155
|
+
- - ">="
|
156
|
+
- !ruby/object:Gem::Version
|
157
|
+
version: '0'
|
158
|
+
requirements: []
|
159
|
+
rubyforge_project:
|
160
|
+
rubygems_version: 2.4.5.1
|
161
|
+
signing_key:
|
162
|
+
specification_version: 4
|
163
|
+
summary: A minimally invasive CSS framework for modern web applications.
|
164
|
+
test_files: []
|