vision 0.0.1.alpha1
Sign up to get free protection for your applications and to get access to all the features.
- data/MIT-LICENSE +20 -0
- data/README.md +5 -0
- data/Rakefile +40 -0
- data/app/assets/images/vision/sort-arrows-down.png +0 -0
- data/app/assets/images/vision/sort-arrows-up.png +0 -0
- data/app/assets/javascripts/redactor-rails/config.js +16 -0
- data/app/assets/javascripts/redactor-rails/ru.js +69 -0
- data/app/assets/javascripts/vision/application.js +18 -0
- data/app/assets/stylesheets/vision/admin.css.less +0 -0
- data/app/assets/stylesheets/vision/application.css +24 -0
- data/app/assets/stylesheets/vision/bootstrap_and_overrides.css.less +63 -0
- data/app/assets/stylesheets/vision/bootstrap_theme/bootstrap-responsive.min.css.less +9 -0
- data/app/assets/stylesheets/vision/bootstrap_theme/bootstrap.css.less +5616 -0
- data/app/assets/stylesheets/vision/bootstrap_theme/bootswatch.css.less +412 -0
- data/app/assets/stylesheets/vision/bootstrap_theme/variables.less +301 -0
- data/app/controllers/redactor_rails/pictures_controller.rb +22 -0
- data/app/controllers/vision/application_controller.rb +9 -0
- data/app/controllers/vision/resource_controller.rb +57 -0
- data/app/controllers/vision/responder.rb +4 -0
- data/app/helpers/vision/application_helper.rb +42 -0
- data/app/helpers/vision/application_helper.rb~ +8 -0
- data/app/helpers/vision/resource_helper.rb +10 -0
- data/app/helpers/vision/resource_helper.rb~ +10 -0
- data/app/models/ability.rb +7 -0
- data/app/models/redactor_rails/asset.rb +6 -0
- data/app/models/redactor_rails/picture.rb +7 -0
- data/app/uploaders/redactor_rails_picture_uploader.rb +53 -0
- data/app/views/layouts/vision/application.html.haml +25 -0
- data/app/views/shared/_pagination.html.haml +2 -0
- data/app/views/vision/application/_user_bar.html.haml +8 -0
- data/app/views/vision/resource/_form.html.haml +6 -0
- data/app/views/vision/resource/_index.html.haml +16 -0
- data/app/views/vision/resource/_search.html.haml +4 -0
- data/app/views/vision/resource/edit.html.haml +9 -0
- data/app/views/vision/resource/index.html.haml +9 -0
- data/app/views/vision/resource/new.html.haml +5 -0
- data/app/views/vision/resource/show.html.haml +10 -0
- data/config/initializers/simple_form.rb +142 -0
- data/config/initializers/simple_form_bootstrap.rb +45 -0
- data/config/routes.rb +3 -0
- data/lib/generators/install_generator.rb~ +7 -0
- data/lib/generators/templates/resource/_form.html.haml +6 -0
- data/lib/generators/templates/resource/_index.html.haml +16 -0
- data/lib/generators/templates/resource/_search.html.haml +4 -0
- data/lib/generators/templates/resource/edit.html.haml +9 -0
- data/lib/generators/templates/resource/index.html.haml +9 -0
- data/lib/generators/templates/resource/new.html.haml +5 -0
- data/lib/generators/templates/resource/show.html.haml +10 -0
- data/lib/generators/templates/resource_controller.rb.erb +12 -0
- data/lib/generators/templates/vision.rb +2 -0
- data/lib/generators/templates/vision_navigation.rb +13 -0
- data/lib/generators/vision/install_generator.rb +21 -0
- data/lib/generators/vision/install_generator.rb~ +6 -0
- data/lib/generators/vision/resource_generator.rb +22 -0
- data/lib/generators/vision/views_generator.rb +12 -0
- data/lib/tasks/vision_tasks.rake +4 -0
- data/lib/vision.rb +33 -0
- data/lib/vision/engine.rb +4 -0
- data/lib/vision/engine.rb~ +5 -0
- data/lib/vision/version.rb +3 -0
- data/test/dummy/README.rdoc +261 -0
- data/test/dummy/Rakefile +7 -0
- data/test/dummy/app/assets/javascripts/application.js +15 -0
- data/test/dummy/app/assets/stylesheets/application.css +13 -0
- data/test/dummy/app/controllers/application_controller.rb +3 -0
- data/test/dummy/app/controllers/vision/users_controller.rb +12 -0
- data/test/dummy/app/helpers/application_helper.rb +2 -0
- data/test/dummy/app/models/user.rb +11 -0
- data/test/dummy/app/views/layouts/application.html.erb +14 -0
- data/test/dummy/config.ru +4 -0
- data/test/dummy/config/application.rb +59 -0
- data/test/dummy/config/boot.rb +10 -0
- data/test/dummy/config/database.yml +25 -0
- data/test/dummy/config/environment.rb +5 -0
- data/test/dummy/config/environments/development.rb +37 -0
- data/test/dummy/config/environments/production.rb +67 -0
- data/test/dummy/config/environments/test.rb +37 -0
- data/test/dummy/config/initializers/backtrace_silencers.rb +7 -0
- data/test/dummy/config/initializers/devise.rb +240 -0
- data/test/dummy/config/initializers/inflections.rb +15 -0
- data/test/dummy/config/initializers/mime_types.rb +5 -0
- data/test/dummy/config/initializers/secret_token.rb +7 -0
- data/test/dummy/config/initializers/session_store.rb +8 -0
- data/test/dummy/config/initializers/vision.rb +2 -0
- data/test/dummy/config/initializers/wrap_parameters.rb +14 -0
- data/test/dummy/config/locales/devise.en.yml +59 -0
- data/test/dummy/config/locales/en.yml +5 -0
- data/test/dummy/config/routes.rb +66 -0
- data/test/dummy/config/vision_navigation.rb +13 -0
- data/test/dummy/db/development.sqlite3 +0 -0
- data/test/dummy/db/migrate/20130211073237_devise_create_users.rb +46 -0
- data/test/dummy/db/schema.rb +34 -0
- data/test/dummy/db/test.sqlite3 +0 -0
- data/test/dummy/log/development.log +1544 -0
- data/test/dummy/public/404.html +26 -0
- data/test/dummy/public/422.html +26 -0
- data/test/dummy/public/500.html +25 -0
- data/test/dummy/public/favicon.ico +0 -0
- data/test/dummy/script/rails +6 -0
- data/test/dummy/test/fixtures/users.yml +11 -0
- data/test/dummy/test/unit/user_test.rb +7 -0
- data/test/dummy/tmp/cache/assets/BFD/BE0/sprockets%2F7750d34d5ab84713536684084175b777 +0 -0
- data/test/dummy/tmp/cache/assets/C0D/930/sprockets%2F57ada54e11211525881db12657063262 +0 -0
- data/test/dummy/tmp/cache/assets/C22/760/sprockets%2F01391319c77618e63259d5172da3c087 +0 -0
- data/test/dummy/tmp/cache/assets/C61/E30/sprockets%2F7cc7480787c36cb33f8958a018908621 +0 -0
- data/test/dummy/tmp/cache/assets/C64/2A0/sprockets%2F134c13b9bd41169120f00f41d229a058 +0 -0
- data/test/dummy/tmp/cache/assets/C83/BE0/sprockets%2F07d225b2971966fcc599b7001056e44d +0 -0
- data/test/dummy/tmp/cache/assets/CAB/EE0/sprockets%2F93064e70efa31924ce83d518222ba718 +0 -0
- data/test/dummy/tmp/cache/assets/CB8/880/sprockets%2F870390941fc4f61d24bc06c257f58a78 +0 -0
- data/test/dummy/tmp/cache/assets/CC5/DB0/sprockets%2F185b16e33c6e5952c63fe56e65d80787 +0 -0
- data/test/dummy/tmp/cache/assets/CCF/C50/sprockets%2F235f6e18294ffe4e969e1852c84f0893 +0 -0
- data/test/dummy/tmp/cache/assets/CD1/B10/sprockets%2F26e034c4229e35b5280e372090ca7acf +0 -0
- data/test/dummy/tmp/cache/assets/CD8/370/sprockets%2F357970feca3ac29060c1e3861e2c0953 +0 -0
- data/test/dummy/tmp/cache/assets/CDE/F80/sprockets%2Fab0f6cb3198d15258990f645d46b161a +0 -0
- data/test/dummy/tmp/cache/assets/CE0/200/sprockets%2Fa9c2101de170df66d9c80861d89042d6 +0 -0
- data/test/dummy/tmp/cache/assets/CE3/4D0/sprockets%2F6381f9fd192014c42dfc274e83c9a650 +0 -0
- data/test/dummy/tmp/cache/assets/CEA/6B0/sprockets%2F575d96d2842a1d2deec19fe881033089 +0 -0
- data/test/dummy/tmp/cache/assets/CEE/180/sprockets%2Fc5ce9c764b20d7176d70584d76a764e4 +0 -0
- data/test/dummy/tmp/cache/assets/CF2/540/sprockets%2F5c1c7a9d6a79855f609fae58f5505513 +0 -0
- data/test/dummy/tmp/cache/assets/CF9/8B0/sprockets%2F6580899d8cc41372d92d8a5e8ab78c73 +0 -0
- data/test/dummy/tmp/cache/assets/CFB/640/sprockets%2F2a4d6aba04a724d2792087832bd3a0b8 +0 -0
- data/test/dummy/tmp/cache/assets/D01/870/sprockets%2F975c929398c5770978a8eb96aac660af +0 -0
- data/test/dummy/tmp/cache/assets/D02/B10/sprockets%2F33f4d4d4552a4ae5b172b26c0716c39d +0 -0
- data/test/dummy/tmp/cache/assets/D08/980/sprockets%2Fb70493dfb381aae06c270b4965b451f6 +0 -0
- data/test/dummy/tmp/cache/assets/D08/9E0/sprockets%2Fbd1b5d382eb7585ef2311f0e8a144185 +0 -0
- data/test/dummy/tmp/cache/assets/D12/C80/sprockets%2F6ad24bf08272a07cdd957e174b964b73 +0 -0
- data/test/dummy/tmp/cache/assets/D1B/3E0/sprockets%2F77c391e536f4b5060992b74d7fbebc09 +0 -0
- data/test/dummy/tmp/cache/assets/D1E/250/sprockets%2Ff976c60140c7662f9d86d9b3048c5dda +0 -0
- data/test/dummy/tmp/cache/assets/D21/D90/sprockets%2F976738f91218aa8bfc0e679cf3f3f061 +0 -0
- data/test/dummy/tmp/cache/assets/D26/3A0/sprockets%2F89ad96fb04e98d506546aed21b918d79 +0 -0
- data/test/dummy/tmp/cache/assets/D30/9A0/sprockets%2F7f9ae14760822ff7b8978a67d6fe36e4 +0 -0
- data/test/dummy/tmp/cache/assets/D32/A10/sprockets%2F13fe41fee1fe35b49d145bcc06610705 +0 -0
- data/test/dummy/tmp/cache/assets/D3B/5C0/sprockets%2F40ae394bdc18dce154393aed80a27576 +0 -0
- data/test/dummy/tmp/cache/assets/D3F/5B0/sprockets%2F6557d14727823bddeba2822eb4fcc951 +0 -0
- data/test/dummy/tmp/cache/assets/D45/5A0/sprockets%2Fed747866979a368aef7d8fee884b2789 +0 -0
- data/test/dummy/tmp/cache/assets/D4A/880/sprockets%2Fcc23ed71c73788a938e1357d11ca78ef +0 -0
- data/test/dummy/tmp/cache/assets/D4D/EF0/sprockets%2F05a24a46916881e9d38ee2e0c8d9f5fb +0 -0
- data/test/dummy/tmp/cache/assets/D4E/1B0/sprockets%2Ff7cbd26ba1d28d48de824f0e94586655 +0 -0
- data/test/dummy/tmp/cache/assets/D50/730/sprockets%2F084ff5f6ea3f368a543911339e9dfe2e +0 -0
- data/test/dummy/tmp/cache/assets/D55/740/sprockets%2F6bfb0414e9f0de2e909917674dbe9f95 +0 -0
- data/test/dummy/tmp/cache/assets/D5A/EA0/sprockets%2Fd771ace226fc8215a3572e0aa35bb0d6 +0 -0
- data/test/dummy/tmp/cache/assets/D60/8A0/sprockets%2F1aaf8a80a707722d04cd8e53a971b1be +0 -0
- data/test/dummy/tmp/cache/assets/D69/DB0/sprockets%2F217c932a66b36e34ed25ced07f9e0be0 +0 -0
- data/test/dummy/tmp/cache/assets/D71/370/sprockets%2F19dac330438dea0771e8395b86eddf1c +0 -0
- data/test/dummy/tmp/cache/assets/D94/4C0/sprockets%2Fabaa1497cede72926b760ddef110144f +0 -0
- data/test/dummy/tmp/cache/assets/DA0/280/sprockets%2Fe2a91fe4ce8ef0c54b515145f44dde82 +0 -0
- data/test/dummy/tmp/cache/assets/DA8/F80/sprockets%2F97cf03aa7e0ff76969bab9206da267cd +0 -0
- data/test/dummy/tmp/cache/assets/DAC/2F0/sprockets%2Fc630da1a0c4bb5a2529e034ba2c7cdb6 +0 -0
- data/test/dummy/tmp/cache/assets/DB3/3A0/sprockets%2F6fce069886bdd665c59c2455edf01efd +0 -0
- data/test/dummy/tmp/cache/assets/DBB/030/sprockets%2F3ad40a6ab1a1bd6a4b0efee48168c367 +0 -0
- data/test/dummy/tmp/cache/assets/DBC/510/sprockets%2Fc49b6ed55fefd850e586e0f77ac958a7 +0 -0
- data/test/dummy/tmp/cache/assets/DCF/000/sprockets%2Fd0dfcf6a2f21043e23cf879aa9b81d9e +0 -0
- data/test/dummy/tmp/cache/assets/DCF/EE0/sprockets%2Fb4b66c49e5d32ce05fff1ff1397a50db +0 -0
- data/test/dummy/tmp/cache/assets/DDC/400/sprockets%2Fcffd775d018f68ce5dba1ee0d951a994 +0 -0
- data/test/dummy/tmp/cache/assets/DE1/6C0/sprockets%2F6cd864830694d6acbef4f69cd0c88dae +0 -0
- data/test/dummy/tmp/cache/assets/DEE/430/sprockets%2Fdfcd51eae6f3a2a51c058c27ee0d750a +0 -0
- data/test/dummy/tmp/cache/assets/E02/F00/sprockets%2Fa5845e8c36cf9e160fccfadf0a2db837 +0 -0
- data/test/dummy/tmp/cache/assets/E04/890/sprockets%2F2f5173deea6c795b8fdde723bb4b63af +0 -0
- data/test/dummy/tmp/cache/assets/E09/6D0/sprockets%2Fcbdb4fef8b144c0fd37dc8ad96926e64 +0 -0
- data/test/dummy/tmp/cache/assets/E0A/210/sprockets%2F05aadb4dc0b849fe9c3dd7788f28c5eb +0 -0
- data/test/dummy/tmp/cache/assets/E17/BC0/sprockets%2Ff206319de0be2dd9adcaaa314ecf132f +0 -0
- data/test/dummy/tmp/cache/assets/E1A/BD0/sprockets%2F5baeff0d2da03cd0e93a561e71b5aac9 +0 -0
- data/test/dummy/tmp/cache/assets/E2D/070/sprockets%2Fc4744f83de73cd2bbd645dabffd16b4c +0 -0
- data/test/dummy/tmp/cache/assets/E30/850/sprockets%2Fb6e723da1e4c9dab751ccd5ec295a9fe +0 -0
- data/test/integration/navigation_test.rb +10 -0
- data/test/test_helper.rb +15 -0
- data/test/vision_test.rb +7 -0
- metadata +658 -0
@@ -0,0 +1,412 @@
|
|
1
|
+
body {
|
2
|
+
padding-top: 80px;
|
3
|
+
padding-bottom: 20px;
|
4
|
+
}
|
5
|
+
|
6
|
+
.navbar a > i {
|
7
|
+
opacity: 0.5;
|
8
|
+
}
|
9
|
+
|
10
|
+
.navbar a:hover > i {
|
11
|
+
opacity: 1;
|
12
|
+
}
|
13
|
+
|
14
|
+
section {
|
15
|
+
margin-top: 100px;
|
16
|
+
}
|
17
|
+
|
18
|
+
.subhead {
|
19
|
+
padding-bottom: 0;
|
20
|
+
margin-bottom: 9px;
|
21
|
+
}
|
22
|
+
|
23
|
+
.subhead h1 {
|
24
|
+
font-size: 54px;
|
25
|
+
}
|
26
|
+
|
27
|
+
.subnav {
|
28
|
+
margin-bottom: 60px;
|
29
|
+
width: 100%;
|
30
|
+
height: 36px;
|
31
|
+
background-color: #eeeeee; /* Old browsers */
|
32
|
+
background-repeat: repeat-x; /* Repeat the gradient */
|
33
|
+
background-image: -moz-linear-gradient(top, #f5f5f5 0%, #eeeeee 100%); /* FF3.6+ */
|
34
|
+
background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#f5f5f5), color-stop(100%,#eeeeee)); /* Chrome,Safari4+ */
|
35
|
+
background-image: -webkit-linear-gradient(top, #f5f5f5 0%,#eeeeee 100%); /* Chrome 10+,Safari 5.1+ */
|
36
|
+
background-image: -ms-linear-gradient(top, #f5f5f5 0%,#eeeeee 100%); /* IE10+ */
|
37
|
+
background-image: -o-linear-gradient(top, #f5f5f5 0%,#eeeeee 100%); /* Opera 11.10+ */
|
38
|
+
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f5f5f5', endColorstr='#eeeeee',GradientType=0 ); /* IE6-9 */
|
39
|
+
background-image: linear-gradient(top, #f5f5f5 0%,#eeeeee 100%); /* W3C */
|
40
|
+
border: 1px solid #e5e5e5;
|
41
|
+
-webkit-border-radius: 4px;
|
42
|
+
-moz-border-radius: 4px;
|
43
|
+
border-radius: 4px;
|
44
|
+
}
|
45
|
+
|
46
|
+
.subnav .nav {
|
47
|
+
margin-bottom: 0;
|
48
|
+
}
|
49
|
+
|
50
|
+
.subnav .nav > li > a {
|
51
|
+
margin: 0;
|
52
|
+
padding-top: 11px;
|
53
|
+
padding-bottom: 11px;
|
54
|
+
border-left: 1px solid #f5f5f5;
|
55
|
+
border-right: 1px solid #e5e5e5;
|
56
|
+
-webkit-border-radius: 0;
|
57
|
+
-moz-border-radius: 0;
|
58
|
+
border-radius: 0;
|
59
|
+
}
|
60
|
+
|
61
|
+
.subnav .nav > .active > a,
|
62
|
+
.subnav .nav > .active > a:hover {
|
63
|
+
padding-left: 13px;
|
64
|
+
color: #777;
|
65
|
+
background-color: #e9e9e9;
|
66
|
+
border-right-color: #ddd;
|
67
|
+
border-left: 0;
|
68
|
+
-webkit-box-shadow: inset 0 3px 5px rgba(0,0,0,.05);
|
69
|
+
-moz-box-shadow: inset 0 3px 5px rgba(0,0,0,.05);
|
70
|
+
box-shadow: inset 0 3px 5px rgba(0,0,0,.05);
|
71
|
+
}
|
72
|
+
|
73
|
+
.subnav .nav > .active > a .caret,
|
74
|
+
.subnav .nav > .active > a:hover .caret {
|
75
|
+
border-top-color: #777;
|
76
|
+
}
|
77
|
+
|
78
|
+
.subnav .nav > li:first-child > a,
|
79
|
+
.subnav .nav > li:first-child > a:hover {
|
80
|
+
border-left: 0;
|
81
|
+
padding-left: 12px;
|
82
|
+
-webkit-border-radius: 4px 0 0 4px;
|
83
|
+
-moz-border-radius: 4px 0 0 4px;
|
84
|
+
border-radius: 4px 0 0 4px;
|
85
|
+
}
|
86
|
+
|
87
|
+
.subnav .nav > li:last-child > a {
|
88
|
+
border-right: 0;
|
89
|
+
}
|
90
|
+
|
91
|
+
.subnav .dropdown-menu {
|
92
|
+
-webkit-border-radius: 0 0 4px 4px;
|
93
|
+
-moz-border-radius: 0 0 4px 4px;
|
94
|
+
border-radius: 0 0 4px 4px;
|
95
|
+
}
|
96
|
+
|
97
|
+
.tooltip-inner {
|
98
|
+
max-width: 500px;
|
99
|
+
}
|
100
|
+
|
101
|
+
.hero-unit {
|
102
|
+
margin-bottom: 10px;
|
103
|
+
text-align: center;
|
104
|
+
}
|
105
|
+
|
106
|
+
.hero-unit h1,
|
107
|
+
.hero-unit p {
|
108
|
+
margin-bottom: 15px;
|
109
|
+
}
|
110
|
+
|
111
|
+
#social {
|
112
|
+
display: inline-block;
|
113
|
+
margin-top: 45px;
|
114
|
+
text-align: center;
|
115
|
+
}
|
116
|
+
|
117
|
+
#gh-star {
|
118
|
+
margin-right: 10px;
|
119
|
+
}
|
120
|
+
|
121
|
+
.twitter-follow-button {
|
122
|
+
width: 60px !important;
|
123
|
+
}
|
124
|
+
|
125
|
+
.twitter-share-button {
|
126
|
+
margin-right: 15px;
|
127
|
+
}
|
128
|
+
|
129
|
+
.rss-button {
|
130
|
+
width: 40px;
|
131
|
+
height: 14px;
|
132
|
+
font-size: 11px;
|
133
|
+
line-height: 14px;
|
134
|
+
font-weight: bold;
|
135
|
+
margin: 0 0 10px;
|
136
|
+
padding: 2px 5px 2px 4px;
|
137
|
+
}
|
138
|
+
|
139
|
+
.icon-rss {
|
140
|
+
background: url(../img/rss-icons.png) no-repeat 0 0;
|
141
|
+
opacity: .65;
|
142
|
+
width: 16px;
|
143
|
+
}
|
144
|
+
|
145
|
+
#ticker {
|
146
|
+
margin-bottom: 40px;
|
147
|
+
}
|
148
|
+
|
149
|
+
.about {
|
150
|
+
margin-top: 20px;
|
151
|
+
}
|
152
|
+
|
153
|
+
.about > div {
|
154
|
+
margin-bottom: 20px;
|
155
|
+
}
|
156
|
+
|
157
|
+
.about h3 {
|
158
|
+
margin: 0 0 5px 35px;
|
159
|
+
}
|
160
|
+
|
161
|
+
.about img {
|
162
|
+
float: left;
|
163
|
+
margin-top: 5px;
|
164
|
+
opacity: 0.7;
|
165
|
+
}
|
166
|
+
|
167
|
+
#gallery {
|
168
|
+
margin: 45px 0 30px 0;
|
169
|
+
padding-right: 20px;
|
170
|
+
text-align: center;
|
171
|
+
}
|
172
|
+
|
173
|
+
.thumbnail {
|
174
|
+
margin-bottom: 20px;
|
175
|
+
background-color: rgba(0, 0, 0, 0.05);
|
176
|
+
}
|
177
|
+
|
178
|
+
.thumbnail img {
|
179
|
+
width: 100%;
|
180
|
+
-webkit-border-radius: 7px;
|
181
|
+
-moz-border-radius: 7px;
|
182
|
+
border-radius: 7px;
|
183
|
+
}
|
184
|
+
|
185
|
+
.thumbnail .caption {
|
186
|
+
color: inherit !important;
|
187
|
+
}
|
188
|
+
|
189
|
+
.thumbnail h3 {
|
190
|
+
margin-bottom: 0;
|
191
|
+
}
|
192
|
+
|
193
|
+
.thumbnail .btn-toolbar {
|
194
|
+
margin-top: 15px;
|
195
|
+
text-align: right;
|
196
|
+
}
|
197
|
+
|
198
|
+
.links {
|
199
|
+
margin-bottom: 20px;
|
200
|
+
}
|
201
|
+
|
202
|
+
.links > a {
|
203
|
+
margin-right: 10px;
|
204
|
+
}
|
205
|
+
|
206
|
+
div.one .bsa_it_ad {
|
207
|
+
padding: 25px 25px 15px 25px;
|
208
|
+
}
|
209
|
+
|
210
|
+
div.one .bsa_it_p {
|
211
|
+
display: none;
|
212
|
+
}
|
213
|
+
|
214
|
+
.bsa {
|
215
|
+
float: right;
|
216
|
+
max-width: 400px;
|
217
|
+
padding: 0;
|
218
|
+
}
|
219
|
+
|
220
|
+
body .one .bsa_it_ad {
|
221
|
+
margin-bottom: -10px;
|
222
|
+
background: none;
|
223
|
+
border: none;
|
224
|
+
font-family: inherit;
|
225
|
+
color: inherit;
|
226
|
+
}
|
227
|
+
|
228
|
+
body .one .bsa_it_ad .bsa_it_t,
|
229
|
+
body .one .bsa_it_ad .bsa_it_d {
|
230
|
+
color: inherit;
|
231
|
+
font-size: inherit;
|
232
|
+
}
|
233
|
+
|
234
|
+
body .one .bsa_it_p {
|
235
|
+
display: none;
|
236
|
+
}
|
237
|
+
|
238
|
+
#bsap_aplink {
|
239
|
+
float: right;
|
240
|
+
position: relative;
|
241
|
+
right: 10px;
|
242
|
+
height: 0;
|
243
|
+
font-size: 11px;
|
244
|
+
}
|
245
|
+
|
246
|
+
.links {
|
247
|
+
margin-bottom: 20px;
|
248
|
+
}
|
249
|
+
|
250
|
+
.links > a {
|
251
|
+
margin-right: 10px;
|
252
|
+
}
|
253
|
+
|
254
|
+
@media (max-width: 480px) {
|
255
|
+
|
256
|
+
.hero-unit {
|
257
|
+
padding: 20px 20px 0;
|
258
|
+
margin: 0 0 20px;
|
259
|
+
}
|
260
|
+
|
261
|
+
.hero-unit h1 {
|
262
|
+
font-size: 36px;
|
263
|
+
}
|
264
|
+
|
265
|
+
.hero-unit iframe {
|
266
|
+
margin-right: 0 !important;
|
267
|
+
}
|
268
|
+
|
269
|
+
#social {
|
270
|
+
margin-top: 0px;
|
271
|
+
margin-bottom: 20px;
|
272
|
+
}
|
273
|
+
|
274
|
+
#social > span {
|
275
|
+
display: block;
|
276
|
+
}
|
277
|
+
|
278
|
+
.about {
|
279
|
+
margin-top: 0;
|
280
|
+
}
|
281
|
+
|
282
|
+
.about h3 {
|
283
|
+
margin-top: 20px;
|
284
|
+
}
|
285
|
+
|
286
|
+
.about p {
|
287
|
+
margin-bottom: 0;
|
288
|
+
}
|
289
|
+
|
290
|
+
.modal {
|
291
|
+
position: fixed !important;
|
292
|
+
top: 25% !important;
|
293
|
+
}
|
294
|
+
}
|
295
|
+
|
296
|
+
/* Landscape phone to portrait tablet */
|
297
|
+
@media (min-width: 481px) and (max-width: 767px) {
|
298
|
+
|
299
|
+
.hero-unit {
|
300
|
+
margin-top: 0;
|
301
|
+
padding: 30px;
|
302
|
+
}
|
303
|
+
|
304
|
+
.about {
|
305
|
+
margin-top: 0;
|
306
|
+
}
|
307
|
+
}
|
308
|
+
|
309
|
+
@media (max-width: 767px) {
|
310
|
+
|
311
|
+
body {
|
312
|
+
padding-top: 0;
|
313
|
+
}
|
314
|
+
|
315
|
+
.subnav {
|
316
|
+
position: static;
|
317
|
+
top: auto;
|
318
|
+
z-index: auto;
|
319
|
+
width: auto;
|
320
|
+
height: auto;
|
321
|
+
background: #fff; /* whole background property since we use a background-image for gradient */
|
322
|
+
-webkit-box-shadow: none;
|
323
|
+
-moz-box-shadow: none;
|
324
|
+
box-shadow: none;
|
325
|
+
}
|
326
|
+
|
327
|
+
.subnav .nav > li {
|
328
|
+
float: none;
|
329
|
+
}
|
330
|
+
|
331
|
+
.subnav .nav > li > a {
|
332
|
+
border: 0;
|
333
|
+
}
|
334
|
+
|
335
|
+
.subnav .nav > li + li > a {
|
336
|
+
border-top: 1px solid #e5e5e5;
|
337
|
+
}
|
338
|
+
|
339
|
+
.subnav .nav > li:first-child > a,
|
340
|
+
.subnav .nav > li:first-child > a:hover {
|
341
|
+
-webkit-border-radius: 4px 4px 0 0;
|
342
|
+
-moz-border-radius: 4px 4px 0 0;
|
343
|
+
border-radius: 4px 4px 0 0;
|
344
|
+
}
|
345
|
+
|
346
|
+
.bsa {
|
347
|
+
float: none;
|
348
|
+
}
|
349
|
+
}
|
350
|
+
|
351
|
+
/* Portrait tablet to landscape and desktop */
|
352
|
+
@media (min-width: 768px) and (max-width: 979px) {
|
353
|
+
|
354
|
+
.hero-unit {
|
355
|
+
margin-top: 0;
|
356
|
+
}
|
357
|
+
|
358
|
+
.thumbnail p {
|
359
|
+
font-size: 12px;
|
360
|
+
}
|
361
|
+
|
362
|
+
.thumbnail .btn {
|
363
|
+
padding: 8px 12px;
|
364
|
+
font-size: 12px;
|
365
|
+
}
|
366
|
+
}
|
367
|
+
|
368
|
+
/* Fixed subnav on scroll, but only for 980px and up (sorry IE!) */
|
369
|
+
@media (min-width: 980px) {
|
370
|
+
.subnav-fixed {
|
371
|
+
position: fixed;
|
372
|
+
top: 40px;
|
373
|
+
left: 0;
|
374
|
+
right: 0;
|
375
|
+
z-index: 1020; /* 10 less than .navbar-fixed to prevent any overlap */
|
376
|
+
border-color: #d5d5d5;
|
377
|
+
border-width: 0 0 1px; /* drop the border on the fixed edges */
|
378
|
+
-webkit-border-radius: 0;
|
379
|
+
-moz-border-radius: 0;
|
380
|
+
border-radius: 0;
|
381
|
+
-webkit-box-shadow: inset 0 1px 0 #fff, 0 1px 5px rgba(0,0,0,.1);
|
382
|
+
-moz-box-shadow: inset 0 1px 0 #fff, 0 1px 5px rgba(0,0,0,.1);
|
383
|
+
box-shadow: inset 0 1px 0 #fff, 0 1px 5px rgba(0,0,0,.1);
|
384
|
+
filter: progid:DXImageTransform.Microsoft.gradient(enabled=false); /* IE6-9 */
|
385
|
+
}
|
386
|
+
.subnav-fixed .nav {
|
387
|
+
width: 938px;
|
388
|
+
margin: 0 auto;
|
389
|
+
padding: 0 1px;
|
390
|
+
}
|
391
|
+
.subnav .nav > li:first-child > a,
|
392
|
+
.subnav .nav > li:first-child > a:hover {
|
393
|
+
-webkit-border-radius: 0;
|
394
|
+
-moz-border-radius: 0;
|
395
|
+
border-radius: 0;
|
396
|
+
}
|
397
|
+
}
|
398
|
+
|
399
|
+
@media (min-width: 768px) and (max-width: 979px) {
|
400
|
+
|
401
|
+
/* Remove any padding from the body */
|
402
|
+
body {
|
403
|
+
padding-top: 0;
|
404
|
+
}
|
405
|
+
}
|
406
|
+
|
407
|
+
@media (min-width: 1210px) {
|
408
|
+
|
409
|
+
.subnav-fixed .nav {
|
410
|
+
width: 1168px; /* 2px less to account for left/right borders being removed when in fixed mode */
|
411
|
+
}
|
412
|
+
}
|
@@ -0,0 +1,301 @@
|
|
1
|
+
// Cosmo 2.2.2
|
2
|
+
// Variables
|
3
|
+
// --------------------------------------------------
|
4
|
+
|
5
|
+
|
6
|
+
// Global values
|
7
|
+
// --------------------------------------------------
|
8
|
+
|
9
|
+
|
10
|
+
// Grays
|
11
|
+
// -------------------------
|
12
|
+
@black: #000;
|
13
|
+
@grayDarker: #080808;
|
14
|
+
@grayDark: #999;
|
15
|
+
@gray: #bbb;
|
16
|
+
@grayLight: #dfdfdf;
|
17
|
+
@grayLighter: #eee;
|
18
|
+
@white: #fff;
|
19
|
+
|
20
|
+
|
21
|
+
// Accent colors
|
22
|
+
// -------------------------
|
23
|
+
@blue: #007FFF;
|
24
|
+
@blueDark: #1F26B6;
|
25
|
+
@green: #3FB618;
|
26
|
+
@red: #FF0039;
|
27
|
+
@yellow: #FFA500;
|
28
|
+
@orange: #FF7518;
|
29
|
+
@pink: #E671B8;
|
30
|
+
@purple: #9954BB;
|
31
|
+
|
32
|
+
|
33
|
+
// Scaffolding
|
34
|
+
// -------------------------
|
35
|
+
@bodyBackground: @white;
|
36
|
+
@textColor: #555;
|
37
|
+
|
38
|
+
|
39
|
+
// Links
|
40
|
+
// -------------------------
|
41
|
+
@linkColor: @blue;
|
42
|
+
@linkColorHover: darken(@linkColor, 10%);
|
43
|
+
|
44
|
+
|
45
|
+
// Typography
|
46
|
+
// -------------------------
|
47
|
+
@sansFontFamily: "Open Sans", Calibri, Candara, Arial, sans-serif;
|
48
|
+
@serifFontFamily: Georgia, "Times New Roman", Times, serif;
|
49
|
+
@monoFontFamily: Monaco, Menlo, Consolas, "Courier New", monospace;
|
50
|
+
|
51
|
+
@baseFontSize: 14px;
|
52
|
+
@baseFontFamily: @sansFontFamily;
|
53
|
+
@baseLineHeight: 20px;
|
54
|
+
@altFontFamily: @serifFontFamily;
|
55
|
+
|
56
|
+
@headingsFontFamily: inherit; // empty to use BS default, @baseFontFamily
|
57
|
+
@headingsFontWeight: 300; // instead of browser default, bold
|
58
|
+
@headingsColor: @grayDarker; // empty to use BS default, @textColor
|
59
|
+
|
60
|
+
|
61
|
+
// Component sizing
|
62
|
+
// -------------------------
|
63
|
+
// Based on 14px font-size and 20px line-height
|
64
|
+
|
65
|
+
@fontSizeLarge: @baseFontSize * 1.25; // ~18px
|
66
|
+
@fontSizeSmall: @baseFontSize * 0.85; // ~12px
|
67
|
+
@fontSizeMini: @baseFontSize * 0.75; // ~11px
|
68
|
+
|
69
|
+
@paddingLarge: 22px 30px; // 66px
|
70
|
+
@paddingSmall: 2px 10px; // 26px
|
71
|
+
@paddingMini: 2px 6px; // 24px
|
72
|
+
|
73
|
+
@baseBorderRadius: 0px;
|
74
|
+
@borderRadiusLarge: 0px;
|
75
|
+
@borderRadiusSmall: 0px;
|
76
|
+
|
77
|
+
|
78
|
+
// Tables
|
79
|
+
// -------------------------
|
80
|
+
@tableBackground: transparent; // overall background-color
|
81
|
+
@tableBackgroundAccent: #f9f9f9; // for striping
|
82
|
+
@tableBackgroundHover: #E8F8FD; // for hover
|
83
|
+
@tableBorder: #ddd; // table and cell border
|
84
|
+
|
85
|
+
// Buttons
|
86
|
+
// -------------------------
|
87
|
+
@btnBackground: @grayLighter;
|
88
|
+
@btnBackgroundHighlight: darken(@grayLighter, 15%);
|
89
|
+
@btnBorder: #bbb;
|
90
|
+
|
91
|
+
@btnPrimaryBackground: lighten(@blue, 5%);
|
92
|
+
@btnPrimaryBackgroundHighlight: darken(@blue, 5%);
|
93
|
+
|
94
|
+
@btnInfoBackground: lighten(@purple, 5%);
|
95
|
+
@btnInfoBackgroundHighlight: darken(@purple, 5%);
|
96
|
+
|
97
|
+
@btnSuccessBackground: lighten(@green, 5%);
|
98
|
+
@btnSuccessBackgroundHighlight: darken(@green, 5%);
|
99
|
+
|
100
|
+
@btnWarningBackground: lighten(@orange, 5%);
|
101
|
+
@btnWarningBackgroundHighlight: darken(@orange, 5%);
|
102
|
+
|
103
|
+
@btnDangerBackground: lighten(@red, 5%);
|
104
|
+
@btnDangerBackgroundHighlight: darken(@red, 5%);
|
105
|
+
|
106
|
+
@btnInverseBackground: lighten(@black, 5%);
|
107
|
+
@btnInverseBackgroundHighlight: darken(@black, 5%);
|
108
|
+
|
109
|
+
|
110
|
+
// Forms
|
111
|
+
// -------------------------
|
112
|
+
@inputBackground: @white;
|
113
|
+
@inputBorder: @gray;
|
114
|
+
@inputBorderRadius: @baseBorderRadius;
|
115
|
+
@inputDisabledBackground: @grayLighter;
|
116
|
+
@formActionsBackground: #f5f5f5;
|
117
|
+
@inputHeight: @baseLineHeight + 10px; // base line-height + 8px vertical padding + 2px top/bottom border
|
118
|
+
|
119
|
+
|
120
|
+
// Dropdowns
|
121
|
+
// -------------------------
|
122
|
+
@dropdownBackground: @white;
|
123
|
+
@dropdownBorder: rgba(0,0,0,.2);
|
124
|
+
@dropdownDividerTop: #e5e5e5;
|
125
|
+
@dropdownDividerBottom: @white;
|
126
|
+
|
127
|
+
@dropdownLinkColor: @grayDark;
|
128
|
+
@dropdownLinkColorHover: @white;
|
129
|
+
@dropdownLinkColorActive: @white;
|
130
|
+
|
131
|
+
@dropdownLinkBackgroundActive: @blue;
|
132
|
+
@dropdownLinkBackgroundHover: @dropdownLinkBackgroundActive;
|
133
|
+
|
134
|
+
|
135
|
+
|
136
|
+
// COMPONENT VARIABLES
|
137
|
+
// --------------------------------------------------
|
138
|
+
|
139
|
+
|
140
|
+
// Z-index master list
|
141
|
+
// -------------------------
|
142
|
+
// Used for a bird's eye view of components dependent on the z-axis
|
143
|
+
// Try to avoid customizing these :)
|
144
|
+
@zindexDropdown: 1000;
|
145
|
+
@zindexPopover: 1010;
|
146
|
+
@zindexTooltip: 1030;
|
147
|
+
@zindexFixedNavbar: 1030;
|
148
|
+
@zindexModalBackdrop: 1040;
|
149
|
+
@zindexModal: 1050;
|
150
|
+
|
151
|
+
|
152
|
+
// Sprite icons path
|
153
|
+
// -------------------------
|
154
|
+
@iconSpritePath: "../img/glyphicons-halflings.png";
|
155
|
+
@iconWhiteSpritePath: "../img/glyphicons-halflings-white.png";
|
156
|
+
|
157
|
+
|
158
|
+
// Input placeholder text color
|
159
|
+
// -------------------------
|
160
|
+
@placeholderText: @gray;
|
161
|
+
|
162
|
+
|
163
|
+
// Hr border color
|
164
|
+
// -------------------------
|
165
|
+
@hrBorder: @grayLighter;
|
166
|
+
|
167
|
+
|
168
|
+
// Horizontal forms & lists
|
169
|
+
// -------------------------
|
170
|
+
@horizontalComponentOffset: 180px;
|
171
|
+
|
172
|
+
|
173
|
+
// Wells
|
174
|
+
// -------------------------
|
175
|
+
@wellBackground: @grayLighter;
|
176
|
+
|
177
|
+
|
178
|
+
// Navbar
|
179
|
+
// -------------------------
|
180
|
+
@navbarCollapseWidth: 979px;
|
181
|
+
@navbarCollapseDesktopWidth: @navbarCollapseWidth + 1;
|
182
|
+
|
183
|
+
@navbarHeight: 50px;
|
184
|
+
@navbarBackgroundHighlight: @navbarBackground;
|
185
|
+
@navbarBackground: @grayDarker;
|
186
|
+
@navbarBorder: transparent;
|
187
|
+
|
188
|
+
@navbarText: @white;
|
189
|
+
@navbarLinkColor: @white;
|
190
|
+
@navbarLinkColorHover: @gray;
|
191
|
+
@navbarLinkColorActive: @white;
|
192
|
+
@navbarLinkBackgroundHover: rgba(0, 0, 0, 0.05);
|
193
|
+
@navbarLinkBackgroundActive: transparent;
|
194
|
+
|
195
|
+
@navbarBrandColor: @navbarLinkColor;
|
196
|
+
|
197
|
+
// Inverted navbar
|
198
|
+
@navbarInverseBackground: @blue;
|
199
|
+
@navbarInverseBackgroundHighlight: @navbarInverseBackground;
|
200
|
+
@navbarInverseBorder: transparent;
|
201
|
+
|
202
|
+
@navbarInverseText: @white;
|
203
|
+
@navbarInverseLinkColor: @white;
|
204
|
+
@navbarInverseLinkColorHover: @white;
|
205
|
+
@navbarInverseLinkColorActive: @navbarInverseLinkColorHover;
|
206
|
+
@navbarInverseLinkBackgroundHover: rgba(0, 0, 0, 0.05);
|
207
|
+
@navbarInverseLinkBackgroundActive: @navbarInverseBackground;
|
208
|
+
|
209
|
+
@navbarInverseSearchBackground: lighten(@navbarInverseBackground, 25%);
|
210
|
+
@navbarInverseSearchBackgroundFocus: @white;
|
211
|
+
@navbarInverseSearchBorder: @navbarInverseBackground;
|
212
|
+
@navbarInverseSearchPlaceholderColor: @grayDark;
|
213
|
+
|
214
|
+
@navbarInverseBrandColor: @navbarInverseLinkColor;
|
215
|
+
|
216
|
+
|
217
|
+
// Pagination
|
218
|
+
// -------------------------
|
219
|
+
@paginationBackground: @grayLight;
|
220
|
+
@paginationBorder: transparent;
|
221
|
+
@paginationActiveBackground: @blue;
|
222
|
+
|
223
|
+
|
224
|
+
// Hero unit
|
225
|
+
// -------------------------
|
226
|
+
@heroUnitBackground: @grayLighter;
|
227
|
+
@heroUnitHeadingColor: inherit;
|
228
|
+
@heroUnitLeadColor: inherit;
|
229
|
+
|
230
|
+
|
231
|
+
// Form states and alerts
|
232
|
+
// -------------------------
|
233
|
+
@warningText: @white;
|
234
|
+
@warningBackground: @orange;
|
235
|
+
@warningBorder: transparent;
|
236
|
+
|
237
|
+
@errorText: @white;
|
238
|
+
@errorBackground: @red;
|
239
|
+
@errorBorder: transparent;
|
240
|
+
|
241
|
+
@successText: @white;
|
242
|
+
@successBackground: @green;
|
243
|
+
@successBorder: transparent;
|
244
|
+
|
245
|
+
@infoText: @white;
|
246
|
+
@infoBackground: @purple;
|
247
|
+
@infoBorder: transparent;
|
248
|
+
|
249
|
+
|
250
|
+
// Tooltips and popovers
|
251
|
+
// -------------------------
|
252
|
+
@tooltipColor: #fff;
|
253
|
+
@tooltipBackground: #000;
|
254
|
+
@tooltipArrowWidth: 5px;
|
255
|
+
@tooltipArrowColor: @tooltipBackground;
|
256
|
+
|
257
|
+
@popoverBackground: @orange;
|
258
|
+
@popoverArrowWidth: 15px;
|
259
|
+
@popoverArrowColor: @orange;
|
260
|
+
@popoverTitleBackground: @orange;
|
261
|
+
|
262
|
+
// Special enhancement for popovers
|
263
|
+
@popoverArrowOuterWidth: @popoverArrowWidth + 1;
|
264
|
+
@popoverArrowOuterColor: transparent;
|
265
|
+
|
266
|
+
|
267
|
+
|
268
|
+
// GRID
|
269
|
+
// --------------------------------------------------
|
270
|
+
|
271
|
+
|
272
|
+
// Default 940px grid
|
273
|
+
// -------------------------
|
274
|
+
@gridColumns: 12;
|
275
|
+
@gridColumnWidth: 60px;
|
276
|
+
@gridGutterWidth: 20px;
|
277
|
+
@gridRowWidth: (@gridColumns * @gridColumnWidth) + (@gridGutterWidth * (@gridColumns - 1));
|
278
|
+
|
279
|
+
// 1200px min
|
280
|
+
@gridColumnWidth1200: 70px;
|
281
|
+
@gridGutterWidth1200: 30px;
|
282
|
+
@gridRowWidth1200: (@gridColumns * @gridColumnWidth1200) + (@gridGutterWidth1200 * (@gridColumns - 1));
|
283
|
+
|
284
|
+
// 768px-979px
|
285
|
+
@gridColumnWidth768: 42px;
|
286
|
+
@gridGutterWidth768: 20px;
|
287
|
+
@gridRowWidth768: (@gridColumns * @gridColumnWidth768) + (@gridGutterWidth768 * (@gridColumns - 1));
|
288
|
+
|
289
|
+
|
290
|
+
// Fluid grid
|
291
|
+
// -------------------------
|
292
|
+
@fluidGridColumnWidth: percentage(@gridColumnWidth/@gridRowWidth);
|
293
|
+
@fluidGridGutterWidth: percentage(@gridGutterWidth/@gridRowWidth);
|
294
|
+
|
295
|
+
// 1200px min
|
296
|
+
@fluidGridColumnWidth1200: percentage(@gridColumnWidth1200/@gridRowWidth1200);
|
297
|
+
@fluidGridGutterWidth1200: percentage(@gridGutterWidth1200/@gridRowWidth1200);
|
298
|
+
|
299
|
+
// 768px-979px
|
300
|
+
@fluidGridColumnWidth768: percentage(@gridColumnWidth768/@gridRowWidth768);
|
301
|
+
@fluidGridGutterWidth768: percentage(@gridGutterWidth768/@gridRowWidth768);
|