padrino-admin 0.10.7 → 0.11.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/Rakefile +22 -1
- data/lib/padrino-admin.rb +8 -1
- data/lib/padrino-admin/access_control.rb +6 -4
- data/lib/padrino-admin/bootstrap-less/accordion.less +34 -0
- data/lib/padrino-admin/bootstrap-less/alerts.less +98 -0
- data/lib/padrino-admin/bootstrap-less/badges.less +58 -0
- data/lib/padrino-admin/bootstrap-less/bootstrap.less +62 -0
- data/lib/padrino-admin/bootstrap-less/breadcrumbs.less +25 -0
- data/lib/padrino-admin/bootstrap-less/button-groups.less +166 -0
- data/lib/padrino-admin/bootstrap-less/buttons.less +175 -0
- data/lib/padrino-admin/bootstrap-less/carousel.less +192 -0
- data/lib/padrino-admin/bootstrap-less/close.less +32 -0
- data/lib/padrino-admin/bootstrap-less/code.less +61 -0
- data/lib/padrino-admin/bootstrap-less/component-animations.less +32 -0
- data/lib/padrino-admin/bootstrap-less/dropdowns.less +223 -0
- data/lib/padrino-admin/bootstrap-less/font-awesome-ie7.less +350 -0
- data/lib/padrino-admin/bootstrap-less/font-awesome.less +537 -0
- data/lib/padrino-admin/bootstrap-less/forms.less +543 -0
- data/lib/padrino-admin/bootstrap-less/glyphicons.less +200 -0
- data/lib/padrino-admin/bootstrap-less/grid.less +49 -0
- data/lib/padrino-admin/bootstrap-less/jumbotron.less +32 -0
- data/lib/padrino-admin/bootstrap-less/labels.less +46 -0
- data/lib/padrino-admin/bootstrap-less/media.less +54 -0
- data/lib/padrino-admin/bootstrap-less/mixins.less +530 -0
- data/lib/padrino-admin/bootstrap-less/modals.less +136 -0
- data/lib/padrino-admin/bootstrap-less/navbar.less +379 -0
- data/lib/padrino-admin/bootstrap-less/navs.less +277 -0
- data/lib/padrino-admin/bootstrap-less/normalize.less +396 -0
- data/lib/padrino-admin/bootstrap-less/padrino-admin.less +16 -0
- data/lib/padrino-admin/bootstrap-less/pager.less +43 -0
- data/lib/padrino-admin/bootstrap-less/pagination.less +100 -0
- data/lib/padrino-admin/bootstrap-less/popovers.less +133 -0
- data/lib/padrino-admin/bootstrap-less/print.less +74 -0
- data/lib/padrino-admin/bootstrap-less/progress-bars.less +118 -0
- data/lib/padrino-admin/bootstrap-less/responsive-utilities.less +59 -0
- data/lib/padrino-admin/bootstrap-less/scaffolding.less +90 -0
- data/lib/padrino-admin/bootstrap-less/tables.less +231 -0
- data/lib/padrino-admin/bootstrap-less/thumbnails.less +42 -0
- data/lib/padrino-admin/bootstrap-less/tooltip.less +71 -0
- data/lib/padrino-admin/bootstrap-less/type.less +252 -0
- data/lib/padrino-admin/bootstrap-less/utilities.less +42 -0
- data/lib/padrino-admin/bootstrap-less/variables.less +316 -0
- data/lib/padrino-admin/bootstrap-less/wells.less +29 -0
- data/lib/padrino-admin/generators/actions.rb +18 -2
- data/lib/padrino-admin/generators/admin_app.rb +38 -26
- data/lib/padrino-admin/generators/admin_page.rb +8 -1
- data/lib/padrino-admin/generators/orm.rb +58 -11
- data/lib/padrino-admin/generators/templates/account/couchrest.rb.tt +1 -1
- data/lib/padrino-admin/generators/templates/account/{mini_record.rb.tt → minirecord.rb.tt} +0 -0
- data/lib/padrino-admin/generators/templates/account/mongoid.rb.tt +1 -1
- data/lib/padrino-admin/generators/templates/account/ohm.rb.tt +61 -0
- data/lib/padrino-admin/generators/templates/account/sequel.rb.tt +1 -1
- data/lib/padrino-admin/generators/templates/app.rb.tt +36 -29
- data/lib/padrino-admin/generators/templates/app/controllers/{base.rb → base.rb.tt} +1 -2
- data/lib/padrino-admin/generators/templates/app/controllers/sessions.rb.tt +6 -3
- data/lib/padrino-admin/generators/templates/assets/images/favicon.ico +0 -0
- data/lib/padrino-admin/generators/templates/assets/images/font/FontAwesome.otf +0 -0
- data/lib/padrino-admin/generators/templates/assets/images/font/fontawesome-webfont.eot +0 -0
- data/lib/padrino-admin/generators/templates/assets/images/font/fontawesome-webfont.svg +284 -0
- data/lib/padrino-admin/generators/templates/assets/images/font/fontawesome-webfont.ttf +0 -0
- data/lib/padrino-admin/generators/templates/assets/images/font/fontawesome-webfont.woff +0 -0
- data/lib/padrino-admin/generators/templates/assets/images/logo.png +0 -0
- data/lib/padrino-admin/generators/templates/assets/javascripts/application.js +117 -0
- data/lib/padrino-admin/generators/templates/assets/javascripts/bootstrap/bootstrap-affix.js +117 -0
- data/lib/padrino-admin/generators/templates/assets/javascripts/bootstrap/bootstrap-alert.js +99 -0
- data/lib/padrino-admin/generators/templates/assets/javascripts/bootstrap/bootstrap-button.js +105 -0
- data/lib/padrino-admin/generators/templates/assets/javascripts/bootstrap/bootstrap-carousel.js +207 -0
- data/lib/padrino-admin/generators/templates/assets/javascripts/bootstrap/bootstrap-collapse.js +167 -0
- data/lib/padrino-admin/generators/templates/assets/javascripts/bootstrap/bootstrap-dropdown.js +165 -0
- data/lib/padrino-admin/generators/templates/assets/javascripts/bootstrap/bootstrap-modal.js +251 -0
- data/lib/padrino-admin/generators/templates/assets/javascripts/bootstrap/bootstrap-popover.js +114 -0
- data/lib/padrino-admin/generators/templates/assets/javascripts/bootstrap/bootstrap-scrollspy.js +162 -0
- data/lib/padrino-admin/generators/templates/assets/javascripts/bootstrap/bootstrap-tab.js +144 -0
- data/lib/padrino-admin/generators/templates/assets/javascripts/bootstrap/bootstrap-tooltip.js +361 -0
- data/lib/padrino-admin/generators/templates/assets/javascripts/bootstrap/bootstrap-transition.js +60 -0
- data/lib/padrino-admin/generators/templates/assets/javascripts/bootstrap/bootstrap-typeahead.js +335 -0
- data/lib/padrino-admin/generators/templates/assets/javascripts/bootstrap/bootstrap.min.js +6 -0
- data/lib/padrino-admin/generators/templates/assets/javascripts/jquery-1.9.0.min.js +4 -0
- data/lib/padrino-admin/generators/templates/assets/stylesheets/application.css +346 -0
- data/lib/padrino-admin/generators/templates/assets/stylesheets/bootstrap.css +952 -0
- data/lib/padrino-admin/generators/templates/erb/app/base/index.erb.tt +13 -15
- data/lib/padrino-admin/generators/templates/erb/app/errors/403.erb.tt +3 -0
- data/lib/padrino-admin/generators/templates/erb/app/errors/404.erb.tt +3 -0
- data/lib/padrino-admin/generators/templates/erb/app/errors/500.erb.tt +3 -0
- data/lib/padrino-admin/generators/templates/erb/app/layouts/application.erb.tt +59 -39
- data/lib/padrino-admin/generators/templates/erb/app/layouts/error.erb.tt +23 -0
- data/lib/padrino-admin/generators/templates/erb/app/sessions/new.erb.tt +41 -53
- data/lib/padrino-admin/generators/templates/erb/page/_form.erb.tt +16 -9
- data/lib/padrino-admin/generators/templates/erb/page/edit.erb.tt +9 -17
- data/lib/padrino-admin/generators/templates/erb/page/index.erb.tt +73 -31
- data/lib/padrino-admin/generators/templates/erb/page/new.erb.tt +8 -16
- data/lib/padrino-admin/generators/templates/haml/app/base/index.haml.tt +11 -24
- data/lib/padrino-admin/generators/templates/haml/app/errors/403.haml.tt +3 -0
- data/lib/padrino-admin/generators/templates/haml/app/errors/404.haml.tt +3 -0
- data/lib/padrino-admin/generators/templates/haml/app/errors/500.haml.tt +3 -0
- data/lib/padrino-admin/generators/templates/haml/app/layouts/application.haml.tt +47 -29
- data/lib/padrino-admin/generators/templates/haml/app/layouts/error.haml.tt +18 -0
- data/lib/padrino-admin/generators/templates/haml/app/sessions/new.haml.tt +33 -28
- data/lib/padrino-admin/generators/templates/haml/page/_form.haml.tt +13 -9
- data/lib/padrino-admin/generators/templates/haml/page/edit.haml.tt +7 -14
- data/lib/padrino-admin/generators/templates/haml/page/index.haml.tt +56 -27
- data/lib/padrino-admin/generators/templates/haml/page/new.haml.tt +6 -13
- data/lib/padrino-admin/generators/templates/page/controller.rb.tt +57 -12
- data/lib/padrino-admin/generators/templates/slim/app/base/index.slim.tt +11 -24
- data/lib/padrino-admin/generators/templates/slim/app/errors/403.slim.tt +3 -0
- data/lib/padrino-admin/generators/templates/slim/app/errors/404.slim.tt +3 -0
- data/lib/padrino-admin/generators/templates/slim/app/errors/500.slim.tt +3 -0
- data/lib/padrino-admin/generators/templates/slim/app/layouts/application.slim.tt +43 -26
- data/lib/padrino-admin/generators/templates/slim/app/layouts/error.slim.tt +19 -0
- data/lib/padrino-admin/generators/templates/slim/app/sessions/new.slim.tt +31 -27
- data/lib/padrino-admin/generators/templates/slim/page/_form.slim.tt +13 -11
- data/lib/padrino-admin/generators/templates/slim/page/edit.slim.tt +7 -15
- data/lib/padrino-admin/generators/templates/slim/page/index.slim.tt +54 -28
- data/lib/padrino-admin/generators/templates/slim/page/new.slim.tt +6 -14
- data/lib/padrino-admin/helpers/authentication_helpers.rb +6 -4
- data/lib/padrino-admin/helpers/view_helpers.rb +27 -5
- data/lib/padrino-admin/locale/admin/cs.yml +53 -13
- data/lib/padrino-admin/locale/admin/da.yml +53 -13
- data/lib/padrino-admin/locale/admin/de.yml +53 -13
- data/lib/padrino-admin/locale/admin/en.yml +53 -13
- data/lib/padrino-admin/locale/admin/es.yml +53 -13
- data/lib/padrino-admin/locale/admin/fr.yml +53 -13
- data/lib/padrino-admin/locale/admin/hu.yml +53 -13
- data/lib/padrino-admin/locale/admin/it.yml +53 -13
- data/lib/padrino-admin/locale/admin/ja.yml +54 -13
- data/lib/padrino-admin/locale/admin/lv.yml +53 -13
- data/lib/padrino-admin/locale/admin/nl.yml +53 -13
- data/lib/padrino-admin/locale/admin/no.yml +53 -13
- data/lib/padrino-admin/locale/admin/pl.yml +53 -13
- data/lib/padrino-admin/locale/admin/pt_br.yml +53 -13
- data/lib/padrino-admin/locale/admin/ro.yml +53 -13
- data/lib/padrino-admin/locale/admin/ru.yml +54 -13
- data/lib/padrino-admin/locale/admin/sv.yml +53 -13
- data/lib/padrino-admin/locale/admin/tr.yml +53 -13
- data/lib/padrino-admin/locale/admin/uk.yml +53 -13
- data/lib/padrino-admin/locale/admin/zh_cn.yml +53 -13
- data/lib/padrino-admin/locale/admin/zh_tw.yml +53 -13
- data/lib/padrino-admin/locale/orm/fr.yml +8 -8
- data/padrino-admin.gemspec +2 -0
- data/test/fixtures/data_mapper.rb +0 -4
- data/test/generators/test_account_model_generator.rb +88 -18
- data/test/generators/test_admin_app_generator.rb +120 -165
- data/test/generators/test_admin_page_generator.rb +53 -56
- data/test/helper.rb +4 -0
- data/test/test_admin_application.rb +5 -5
- data/test/test_locale.rb +3 -3
- metadata +119 -35
- data/lib/padrino-admin/generators/templates/assets/stylesheets/base.css +0 -95
- data/lib/padrino-admin/generators/templates/assets/stylesheets/themes/amro/style.css +0 -364
- data/lib/padrino-admin/generators/templates/assets/stylesheets/themes/bec-green/style.css +0 -290
- data/lib/padrino-admin/generators/templates/assets/stylesheets/themes/bec/style.css +0 -301
- data/lib/padrino-admin/generators/templates/assets/stylesheets/themes/blue/style.css +0 -287
- data/lib/padrino-admin/generators/templates/assets/stylesheets/themes/default/style.css +0 -373
- data/lib/padrino-admin/generators/templates/assets/stylesheets/themes/djime-cerulean/style.css +0 -305
- data/lib/padrino-admin/generators/templates/assets/stylesheets/themes/kathleene/style.css +0 -279
- data/lib/padrino-admin/generators/templates/assets/stylesheets/themes/olive/style.css +0 -345
- data/lib/padrino-admin/generators/templates/assets/stylesheets/themes/orange/style.css +0 -269
- data/lib/padrino-admin/generators/templates/assets/stylesheets/themes/reidb-greenish/style.css +0 -302
- data/lib/padrino-admin/generators/templates/assets/stylesheets/themes/ruby/style.css +0 -281
- data/lib/padrino-admin/generators/templates/assets/stylesheets/themes/warehouse/style.css +0 -391
- data/lib/padrino-admin/generators/templates/erb/app/base/_sidebar.erb.tt +0 -13
- data/lib/padrino-admin/generators/templates/haml/app/base/_sidebar.haml.tt +0 -11
- data/lib/padrino-admin/generators/templates/slim/app/base/_sidebar.slim.tt +0 -11
@@ -0,0 +1,32 @@
|
|
1
|
+
//
|
2
|
+
// Component animations
|
3
|
+
// --------------------------------------------------
|
4
|
+
|
5
|
+
|
6
|
+
.fade {
|
7
|
+
opacity: 0;
|
8
|
+
.transition(opacity .15s linear);
|
9
|
+
&.in {
|
10
|
+
opacity: 1;
|
11
|
+
}
|
12
|
+
}
|
13
|
+
|
14
|
+
/*.collapse {
|
15
|
+
position: relative;
|
16
|
+
height: 0;
|
17
|
+
overflow: hidden;
|
18
|
+
.transition(height .35s ease);
|
19
|
+
&.in {
|
20
|
+
height: auto;
|
21
|
+
}
|
22
|
+
}*/
|
23
|
+
|
24
|
+
.collapse {
|
25
|
+
position: relative;
|
26
|
+
height: 0;
|
27
|
+
overflow: hidden;
|
28
|
+
.transition(height .35s ease);
|
29
|
+
}
|
30
|
+
.collapse.in {
|
31
|
+
height: auto;
|
32
|
+
}
|
@@ -0,0 +1,223 @@
|
|
1
|
+
//
|
2
|
+
// Dropdown menus
|
3
|
+
// --------------------------------------------------
|
4
|
+
|
5
|
+
|
6
|
+
// Use the .menu class on any <li> element within the topbar or ul.tabs and you'll get some superfancy dropdowns
|
7
|
+
.dropup,
|
8
|
+
.dropdown {
|
9
|
+
position: relative;
|
10
|
+
}
|
11
|
+
.dropdown-toggle:active,
|
12
|
+
.open .dropdown-toggle {
|
13
|
+
outline: 0;
|
14
|
+
}
|
15
|
+
|
16
|
+
// Dropdown arrow/caret
|
17
|
+
// --------------------
|
18
|
+
.caret {
|
19
|
+
display: inline-block;
|
20
|
+
width: 0;
|
21
|
+
height: 0;
|
22
|
+
vertical-align: top;
|
23
|
+
border-top: 4px solid #000;
|
24
|
+
border-right: 4px solid transparent;
|
25
|
+
border-left: 4px solid transparent;
|
26
|
+
content: "";
|
27
|
+
}
|
28
|
+
|
29
|
+
// Place the caret
|
30
|
+
.dropdown .caret {
|
31
|
+
margin-top: 8px;
|
32
|
+
margin-left: 2px;
|
33
|
+
}
|
34
|
+
|
35
|
+
// The dropdown menu (ul)
|
36
|
+
// ----------------------
|
37
|
+
.dropdown-menu {
|
38
|
+
position: absolute;
|
39
|
+
top: 100%;
|
40
|
+
left: 0;
|
41
|
+
z-index: @zindex-dropdown;
|
42
|
+
display: none; // none by default, but block on "open" of the menu
|
43
|
+
float: left;
|
44
|
+
min-width: 160px;
|
45
|
+
padding: 5px 0;
|
46
|
+
margin: 2px 0 0; // override default ul
|
47
|
+
list-style: none;
|
48
|
+
background-color: @dropdown-background;
|
49
|
+
border: 1px solid #ccc; // IE8 fallback
|
50
|
+
border: 1px solid @dropdown-border;
|
51
|
+
border-radius: @border-radius-base;
|
52
|
+
.box-shadow(0 6px 12px rgba(0,0,0,.175));
|
53
|
+
.background-clip(padding-box);
|
54
|
+
|
55
|
+
// Aligns the dropdown menu to right
|
56
|
+
&.pull-right {
|
57
|
+
right: 0;
|
58
|
+
left: auto;
|
59
|
+
}
|
60
|
+
|
61
|
+
// Dividers (basically an hr) within the dropdown
|
62
|
+
.divider {
|
63
|
+
.nav-divider(@dropdown-divider-top, @dropdown-divider-bottom);
|
64
|
+
}
|
65
|
+
|
66
|
+
// Links within the dropdown menu
|
67
|
+
> li > a {
|
68
|
+
display: block;
|
69
|
+
padding: 3px 20px;
|
70
|
+
clear: both;
|
71
|
+
font-weight: normal;
|
72
|
+
line-height: @line-height-base;
|
73
|
+
color: @dropdown-link-color;
|
74
|
+
white-space: nowrap;
|
75
|
+
}
|
76
|
+
}
|
77
|
+
|
78
|
+
// Hover/Focus state
|
79
|
+
// -----------
|
80
|
+
.dropdown-menu > li > a:hover,
|
81
|
+
.dropdown-menu > li > a:focus,
|
82
|
+
.dropdown-submenu:hover > a,
|
83
|
+
.dropdown-submenu:focus > a {
|
84
|
+
text-decoration: none;
|
85
|
+
color: @dropdown-link-color-hover;
|
86
|
+
#gradient > .vertical(@dropdown-link-background-hover, darken(@dropdown-link-background-hover, 5%));
|
87
|
+
}
|
88
|
+
|
89
|
+
// Active state
|
90
|
+
// ------------
|
91
|
+
.dropdown-menu > .active > a,
|
92
|
+
.dropdown-menu > .active > a:hover,
|
93
|
+
.dropdown-menu > .active > a:focus {
|
94
|
+
color: @dropdown-link-color-active;
|
95
|
+
text-decoration: none;
|
96
|
+
outline: 0;
|
97
|
+
#gradient > .vertical(@dropdown-link-background-active, darken(@dropdown-link-background-active, 5%));
|
98
|
+
}
|
99
|
+
|
100
|
+
// Disabled state
|
101
|
+
// --------------
|
102
|
+
// Gray out text and ensure the hover/focus state remains gray
|
103
|
+
.dropdown-menu > .disabled > a,
|
104
|
+
.dropdown-menu > .disabled > a:hover,
|
105
|
+
.dropdown-menu > .disabled > a:focus {
|
106
|
+
color: @grayLight;
|
107
|
+
}
|
108
|
+
// Nuke hover/focus effects
|
109
|
+
.dropdown-menu > .disabled > a:hover,
|
110
|
+
.dropdown-menu > .disabled > a:focus {
|
111
|
+
text-decoration: none;
|
112
|
+
background-color: transparent;
|
113
|
+
background-image: none; // Remove CSS gradient
|
114
|
+
.reset-filter();
|
115
|
+
cursor: default;
|
116
|
+
}
|
117
|
+
|
118
|
+
// Open state for the dropdown
|
119
|
+
// ---------------------------
|
120
|
+
.open {
|
121
|
+
& > .dropdown-menu {
|
122
|
+
display: block;
|
123
|
+
}
|
124
|
+
}
|
125
|
+
|
126
|
+
// Right aligned dropdowns
|
127
|
+
// ---------------------------
|
128
|
+
.pull-right > .dropdown-menu {
|
129
|
+
right: 0;
|
130
|
+
left: auto;
|
131
|
+
}
|
132
|
+
|
133
|
+
// Allow for dropdowns to go bottom up (aka, dropup-menu)
|
134
|
+
// ------------------------------------------------------
|
135
|
+
// Just add .dropup after the standard .dropdown class and you're set, bro.
|
136
|
+
// TODO: abstract this so that the navbar fixed styles are not placed here?
|
137
|
+
.dropup,
|
138
|
+
.navbar-fixed-bottom .dropdown {
|
139
|
+
// Reverse the caret
|
140
|
+
.caret {
|
141
|
+
border-top: 0;
|
142
|
+
border-bottom: 4px solid #000;
|
143
|
+
content: "";
|
144
|
+
}
|
145
|
+
// Different positioning for bottom up menu
|
146
|
+
.dropdown-menu {
|
147
|
+
top: auto;
|
148
|
+
bottom: 100%;
|
149
|
+
margin-bottom: 1px;
|
150
|
+
}
|
151
|
+
}
|
152
|
+
|
153
|
+
// Sub menus
|
154
|
+
// ---------------------------
|
155
|
+
.dropdown-submenu {
|
156
|
+
position: relative;
|
157
|
+
}
|
158
|
+
// Default dropdowns
|
159
|
+
.dropdown-submenu > .dropdown-menu {
|
160
|
+
top: 0;
|
161
|
+
left: 100%;
|
162
|
+
margin-top: -6px;
|
163
|
+
margin-left: -1px;
|
164
|
+
border-top-left-radius: 0; // Nuke the closest corner as appropriate
|
165
|
+
}
|
166
|
+
.dropdown-submenu:hover > .dropdown-menu {
|
167
|
+
display: block;
|
168
|
+
}
|
169
|
+
|
170
|
+
// Dropups
|
171
|
+
.dropup .dropdown-submenu > .dropdown-menu {
|
172
|
+
top: auto;
|
173
|
+
bottom: 0;
|
174
|
+
margin-top: 0;
|
175
|
+
margin-bottom: -2px;
|
176
|
+
border-bottom-left-radius: 0; // Nuke the closest corner as appropriate
|
177
|
+
}
|
178
|
+
|
179
|
+
// Caret to indicate there is a submenu
|
180
|
+
.dropdown-submenu > a:after {
|
181
|
+
display: block;
|
182
|
+
content: " ";
|
183
|
+
float: right;
|
184
|
+
width: 0;
|
185
|
+
height: 0;
|
186
|
+
border-color: transparent;
|
187
|
+
border-style: solid;
|
188
|
+
border-width: 5px 0 5px 5px;
|
189
|
+
border-left-color: darken(@dropdown-background, 20%);
|
190
|
+
margin-top: 5px;
|
191
|
+
margin-right: -10px;
|
192
|
+
}
|
193
|
+
.dropdown-submenu:hover > a:after {
|
194
|
+
border-left-color: @dropdown-link-color-hover;
|
195
|
+
}
|
196
|
+
|
197
|
+
// Left aligned submenus
|
198
|
+
.dropdown-submenu.pull-left {
|
199
|
+
// Undo the float
|
200
|
+
// Yes, this is awkward since .pull-left adds a float, but it sticks to our conventions elsewhere.
|
201
|
+
float: none;
|
202
|
+
|
203
|
+
// Positioning the submenu
|
204
|
+
> .dropdown-menu {
|
205
|
+
left: -100%;
|
206
|
+
margin-left: 10px;
|
207
|
+
border-top-right-radius: 0; // Remove the rounded corner here
|
208
|
+
}
|
209
|
+
}
|
210
|
+
|
211
|
+
// Tweak nav headers
|
212
|
+
// ---------------------------
|
213
|
+
// Increase padding from 15px to 20px on sides
|
214
|
+
.dropdown .dropdown-menu .nav-header {
|
215
|
+
padding-left: 20px;
|
216
|
+
padding-right: 20px;
|
217
|
+
}
|
218
|
+
|
219
|
+
// Typeahead
|
220
|
+
// ---------------------------
|
221
|
+
.typeahead {
|
222
|
+
z-index: 1051;
|
223
|
+
}
|
@@ -0,0 +1,350 @@
|
|
1
|
+
/*!
|
2
|
+
* Font Awesome 3.0.2
|
3
|
+
* the iconic font designed for use with Twitter Bootstrap
|
4
|
+
* -------------------------------------------------------
|
5
|
+
* The full suite of pictographic icons, examples, and documentation
|
6
|
+
* can be found at: http://fortawesome.github.com/Font-Awesome/
|
7
|
+
*
|
8
|
+
* License
|
9
|
+
* -------------------------------------------------------
|
10
|
+
* - The Font Awesome font is licensed under the SIL Open Font License - http://scripts.sil.org/OFL
|
11
|
+
* - Font Awesome CSS, LESS, and SASS files are licensed under the MIT License -
|
12
|
+
* http://opensource.org/licenses/mit-license.html
|
13
|
+
* - The Font Awesome pictograms are licensed under the CC BY 3.0 License - http://creativecommons.org/licenses/by/3.0/
|
14
|
+
* - Attribution is no longer required in Font Awesome 3.0, but much appreciated:
|
15
|
+
* "Font Awesome by Dave Gandy - http://fortawesome.github.com/Font-Awesome"
|
16
|
+
|
17
|
+
* Contact
|
18
|
+
* -------------------------------------------------------
|
19
|
+
* Email: dave@davegandy.com
|
20
|
+
* Twitter: http://twitter.com/fortaweso_me
|
21
|
+
* Work: Lead Product Designer @ http://kyruus.com
|
22
|
+
*/
|
23
|
+
|
24
|
+
.icon-large {
|
25
|
+
font-size: 4/3em;
|
26
|
+
margin-top: -4px;
|
27
|
+
padding-top: 3px;
|
28
|
+
margin-bottom: -4px;
|
29
|
+
padding-bottom: 3px;
|
30
|
+
vertical-align: middle;
|
31
|
+
}
|
32
|
+
|
33
|
+
.nav {
|
34
|
+
[class^="icon-"],
|
35
|
+
[class*=" icon-"] {
|
36
|
+
vertical-align: inherit;
|
37
|
+
margin-top: -4px;
|
38
|
+
padding-top: 3px;
|
39
|
+
margin-bottom: -4px;
|
40
|
+
padding-bottom: 3px;
|
41
|
+
&.icon-large {
|
42
|
+
vertical-align: -25%;
|
43
|
+
}
|
44
|
+
}
|
45
|
+
}
|
46
|
+
|
47
|
+
.nav-pills, .nav-tabs {
|
48
|
+
[class^="icon-"],
|
49
|
+
[class*=" icon-"] {
|
50
|
+
&.icon-large {
|
51
|
+
line-height: .75em;
|
52
|
+
margin-top: -7px;
|
53
|
+
padding-top: 5px;
|
54
|
+
margin-bottom: -5px;
|
55
|
+
padding-bottom: 4px;
|
56
|
+
}
|
57
|
+
}
|
58
|
+
}
|
59
|
+
|
60
|
+
.btn {
|
61
|
+
[class^="icon-"],
|
62
|
+
[class*=" icon-"] {
|
63
|
+
&.pull-left, &.pull-right { vertical-align: inherit; }
|
64
|
+
&.icon-large {
|
65
|
+
margin-top: -.5em;
|
66
|
+
}
|
67
|
+
}
|
68
|
+
}
|
69
|
+
|
70
|
+
a [class^="icon-"],
|
71
|
+
a [class*=" icon-"] {
|
72
|
+
cursor: pointer;
|
73
|
+
}
|
74
|
+
|
75
|
+
ul.icons {
|
76
|
+
text-indent: -1.5em;
|
77
|
+
margin-left: 3em;
|
78
|
+
}
|
79
|
+
|
80
|
+
|
81
|
+
.ie7icon(@inner) {
|
82
|
+
*zoom: ~"expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '@{inner}')";
|
83
|
+
}
|
84
|
+
|
85
|
+
.icon-glass { .ie7icon(''); }
|
86
|
+
.icon-music { .ie7icon(''); }
|
87
|
+
.icon-search { .ie7icon(''); }
|
88
|
+
.icon-envelope { .ie7icon(''); }
|
89
|
+
.icon-heart { .ie7icon(''); }
|
90
|
+
.icon-star { .ie7icon(''); }
|
91
|
+
.icon-star-empty { .ie7icon(''); }
|
92
|
+
.icon-user { .ie7icon(''); }
|
93
|
+
.icon-film { .ie7icon(''); }
|
94
|
+
.icon-th-large { .ie7icon(''); }
|
95
|
+
.icon-th { .ie7icon(''); }
|
96
|
+
.icon-th-list { .ie7icon(''); }
|
97
|
+
.icon-ok { .ie7icon(''); }
|
98
|
+
.icon-remove { .ie7icon(''); }
|
99
|
+
.icon-zoom-in { .ie7icon(''); }
|
100
|
+
|
101
|
+
.icon-zoom-out { .ie7icon(''); }
|
102
|
+
.icon-off { .ie7icon(''); }
|
103
|
+
.icon-signal { .ie7icon(''); }
|
104
|
+
.icon-cog { .ie7icon(''); }
|
105
|
+
.icon-trash { .ie7icon(''); }
|
106
|
+
.icon-home { .ie7icon(''); }
|
107
|
+
.icon-file { .ie7icon(''); }
|
108
|
+
.icon-time { .ie7icon(''); }
|
109
|
+
.icon-road { .ie7icon(''); }
|
110
|
+
.icon-download-alt { .ie7icon(''); }
|
111
|
+
.icon-download { .ie7icon(''); }
|
112
|
+
.icon-upload { .ie7icon(''); }
|
113
|
+
.icon-inbox { .ie7icon(''); }
|
114
|
+
.icon-play-circle { .ie7icon(''); }
|
115
|
+
.icon-repeat { .ie7icon(''); }
|
116
|
+
|
117
|
+
.icon-refresh { .ie7icon(''); }
|
118
|
+
.icon-list-alt { .ie7icon(''); }
|
119
|
+
.icon-lock { .ie7icon(''); }
|
120
|
+
.icon-flag { .ie7icon(''); }
|
121
|
+
.icon-headphones { .ie7icon(''); }
|
122
|
+
.icon-volume-off { .ie7icon(''); }
|
123
|
+
.icon-volume-down { .ie7icon(''); }
|
124
|
+
.icon-volume-up { .ie7icon(''); }
|
125
|
+
.icon-qrcode { .ie7icon(''); }
|
126
|
+
.icon-barcode { .ie7icon(''); }
|
127
|
+
.icon-tag { .ie7icon(''); }
|
128
|
+
.icon-tags { .ie7icon(''); }
|
129
|
+
.icon-book { .ie7icon(''); }
|
130
|
+
.icon-bookmark { .ie7icon(''); }
|
131
|
+
.icon-print { .ie7icon(''); }
|
132
|
+
|
133
|
+
.icon-camera { .ie7icon(''); }
|
134
|
+
.icon-font { .ie7icon(''); }
|
135
|
+
.icon-bold { .ie7icon(''); }
|
136
|
+
.icon-italic { .ie7icon(''); }
|
137
|
+
.icon-text-height { .ie7icon(''); }
|
138
|
+
.icon-text-width { .ie7icon(''); }
|
139
|
+
.icon-align-left { .ie7icon(''); }
|
140
|
+
.icon-align-center { .ie7icon(''); }
|
141
|
+
.icon-align-right { .ie7icon(''); }
|
142
|
+
.icon-align-justify { .ie7icon(''); }
|
143
|
+
.icon-list { .ie7icon(''); }
|
144
|
+
.icon-indent-left { .ie7icon(''); }
|
145
|
+
.icon-indent-right { .ie7icon(''); }
|
146
|
+
.icon-facetime-video { .ie7icon(''); }
|
147
|
+
.icon-picture { .ie7icon(''); }
|
148
|
+
|
149
|
+
.icon-pencil { .ie7icon(''); }
|
150
|
+
.icon-map-marker { .ie7icon(''); }
|
151
|
+
.icon-adjust { .ie7icon(''); }
|
152
|
+
.icon-tint { .ie7icon(''); }
|
153
|
+
.icon-edit { .ie7icon(''); }
|
154
|
+
.icon-share { .ie7icon(''); }
|
155
|
+
.icon-check { .ie7icon(''); }
|
156
|
+
.icon-move { .ie7icon(''); }
|
157
|
+
.icon-step-backward { .ie7icon(''); }
|
158
|
+
.icon-fast-backward { .ie7icon(''); }
|
159
|
+
.icon-backward { .ie7icon(''); }
|
160
|
+
.icon-play { .ie7icon(''); }
|
161
|
+
.icon-pause { .ie7icon(''); }
|
162
|
+
.icon-stop { .ie7icon(''); }
|
163
|
+
.icon-forward { .ie7icon(''); }
|
164
|
+
|
165
|
+
.icon-fast-forward { .ie7icon(''); }
|
166
|
+
.icon-step-forward { .ie7icon(''); }
|
167
|
+
.icon-eject { .ie7icon(''); }
|
168
|
+
.icon-chevron-left { .ie7icon(''); }
|
169
|
+
.icon-chevron-right { .ie7icon(''); }
|
170
|
+
.icon-plus-sign { .ie7icon(''); }
|
171
|
+
.icon-minus-sign { .ie7icon(''); }
|
172
|
+
.icon-remove-sign { .ie7icon(''); }
|
173
|
+
.icon-ok-sign { .ie7icon(''); }
|
174
|
+
.icon-question-sign { .ie7icon(''); }
|
175
|
+
.icon-info-sign { .ie7icon(''); }
|
176
|
+
.icon-screenshot { .ie7icon(''); }
|
177
|
+
.icon-remove-circle { .ie7icon(''); }
|
178
|
+
.icon-ok-circle { .ie7icon(''); }
|
179
|
+
.icon-ban-circle { .ie7icon(''); }
|
180
|
+
|
181
|
+
.icon-arrow-left { .ie7icon(''); }
|
182
|
+
.icon-arrow-right { .ie7icon(''); }
|
183
|
+
.icon-arrow-up { .ie7icon(''); }
|
184
|
+
.icon-arrow-down { .ie7icon(''); }
|
185
|
+
.icon-share-alt { .ie7icon(''); }
|
186
|
+
.icon-resize-full { .ie7icon(''); }
|
187
|
+
.icon-resize-small { .ie7icon(''); }
|
188
|
+
.icon-plus { .ie7icon(''); }
|
189
|
+
.icon-minus { .ie7icon(''); }
|
190
|
+
.icon-asterisk { .ie7icon(''); }
|
191
|
+
.icon-exclamation-sign { .ie7icon(''); }
|
192
|
+
.icon-gift { .ie7icon(''); }
|
193
|
+
.icon-leaf { .ie7icon(''); }
|
194
|
+
.icon-fire { .ie7icon(''); }
|
195
|
+
.icon-eye-open { .ie7icon(''); }
|
196
|
+
|
197
|
+
.icon-eye-close { .ie7icon(''); }
|
198
|
+
.icon-warning-sign { .ie7icon(''); }
|
199
|
+
.icon-plane { .ie7icon(''); }
|
200
|
+
.icon-calendar { .ie7icon(''); }
|
201
|
+
.icon-random { .ie7icon(''); }
|
202
|
+
.icon-comment { .ie7icon(''); }
|
203
|
+
.icon-magnet { .ie7icon(''); }
|
204
|
+
.icon-chevron-up { .ie7icon(''); }
|
205
|
+
.icon-chevron-down { .ie7icon(''); }
|
206
|
+
.icon-retweet { .ie7icon(''); }
|
207
|
+
.icon-shopping-cart { .ie7icon(''); }
|
208
|
+
.icon-folder-close { .ie7icon(''); }
|
209
|
+
.icon-folder-open { .ie7icon(''); }
|
210
|
+
.icon-resize-vertical { .ie7icon(''); }
|
211
|
+
.icon-resize-horizontal { .ie7icon(''); }
|
212
|
+
|
213
|
+
.icon-bar-chart { .ie7icon(''); }
|
214
|
+
.icon-twitter-sign { .ie7icon(''); }
|
215
|
+
.icon-facebook-sign { .ie7icon(''); }
|
216
|
+
.icon-camera-retro { .ie7icon(''); }
|
217
|
+
.icon-key { .ie7icon(''); }
|
218
|
+
.icon-cogs { .ie7icon(''); }
|
219
|
+
.icon-comments { .ie7icon(''); }
|
220
|
+
.icon-thumbs-up { .ie7icon(''); }
|
221
|
+
.icon-thumbs-down { .ie7icon(''); }
|
222
|
+
.icon-star-half { .ie7icon(''); }
|
223
|
+
.icon-heart-empty { .ie7icon(''); }
|
224
|
+
.icon-signout { .ie7icon(''); }
|
225
|
+
.icon-linkedin-sign { .ie7icon(''); }
|
226
|
+
.icon-pushpin { .ie7icon(''); }
|
227
|
+
.icon-external-link { .ie7icon(''); }
|
228
|
+
|
229
|
+
.icon-signin { .ie7icon(''); }
|
230
|
+
.icon-trophy { .ie7icon(''); }
|
231
|
+
.icon-github-sign { .ie7icon(''); }
|
232
|
+
.icon-upload-alt { .ie7icon(''); }
|
233
|
+
.icon-lemon { .ie7icon(''); }
|
234
|
+
.icon-phone { .ie7icon(''); }
|
235
|
+
.icon-check-empty { .ie7icon(''); }
|
236
|
+
.icon-bookmark-empty { .ie7icon(''); }
|
237
|
+
.icon-phone-sign { .ie7icon(''); }
|
238
|
+
.icon-twitter { .ie7icon(''); }
|
239
|
+
.icon-facebook { .ie7icon(''); }
|
240
|
+
.icon-github { .ie7icon(''); }
|
241
|
+
.icon-unlock { .ie7icon(''); }
|
242
|
+
.icon-credit-card { .ie7icon(''); }
|
243
|
+
.icon-rss { .ie7icon(''); }
|
244
|
+
|
245
|
+
.icon-hdd { .ie7icon(''); }
|
246
|
+
.icon-bullhorn { .ie7icon(''); }
|
247
|
+
.icon-bell { .ie7icon(''); }
|
248
|
+
.icon-certificate { .ie7icon(''); }
|
249
|
+
.icon-hand-right { .ie7icon(''); }
|
250
|
+
.icon-hand-left { .ie7icon(''); }
|
251
|
+
.icon-hand-up { .ie7icon(''); }
|
252
|
+
.icon-hand-down { .ie7icon(''); }
|
253
|
+
.icon-circle-arrow-left { .ie7icon(''); }
|
254
|
+
.icon-circle-arrow-right { .ie7icon(''); }
|
255
|
+
.icon-circle-arrow-up { .ie7icon(''); }
|
256
|
+
.icon-circle-arrow-down { .ie7icon(''); }
|
257
|
+
.icon-globe { .ie7icon(''); }
|
258
|
+
.icon-wrench { .ie7icon(''); }
|
259
|
+
.icon-tasks { .ie7icon(''); }
|
260
|
+
|
261
|
+
.icon-filter { .ie7icon(''); }
|
262
|
+
.icon-briefcase { .ie7icon(''); }
|
263
|
+
.icon-fullscreen { .ie7icon(''); }
|
264
|
+
|
265
|
+
.icon-group { .ie7icon(''); }
|
266
|
+
.icon-link { .ie7icon(''); }
|
267
|
+
.icon-cloud { .ie7icon(''); }
|
268
|
+
.icon-beaker { .ie7icon(''); }
|
269
|
+
.icon-cut { .ie7icon(''); }
|
270
|
+
.icon-copy { .ie7icon(''); }
|
271
|
+
.icon-paper-clip { .ie7icon(''); }
|
272
|
+
.icon-save { .ie7icon(''); }
|
273
|
+
.icon-sign-blank { .ie7icon(''); }
|
274
|
+
.icon-reorder { .ie7icon(''); }
|
275
|
+
.icon-list-ul { .ie7icon(''); }
|
276
|
+
.icon-list-ol { .ie7icon(''); }
|
277
|
+
.icon-strikethrough { .ie7icon(''); }
|
278
|
+
.icon-underline { .ie7icon(''); }
|
279
|
+
.icon-table { .ie7icon(''); }
|
280
|
+
|
281
|
+
.icon-magic { .ie7icon(''); }
|
282
|
+
.icon-truck { .ie7icon(''); }
|
283
|
+
.icon-pinterest { .ie7icon(''); }
|
284
|
+
.icon-pinterest-sign { .ie7icon(''); }
|
285
|
+
.icon-google-plus-sign { .ie7icon(''); }
|
286
|
+
.icon-google-plus { .ie7icon(''); }
|
287
|
+
.icon-money { .ie7icon(''); }
|
288
|
+
.icon-caret-down { .ie7icon(''); }
|
289
|
+
.icon-caret-up { .ie7icon(''); }
|
290
|
+
.icon-caret-left { .ie7icon(''); }
|
291
|
+
.icon-caret-right { .ie7icon(''); }
|
292
|
+
.icon-columns { .ie7icon(''); }
|
293
|
+
.icon-sort { .ie7icon(''); }
|
294
|
+
.icon-sort-down { .ie7icon(''); }
|
295
|
+
.icon-sort-up { .ie7icon(''); }
|
296
|
+
|
297
|
+
.icon-envelope-alt { .ie7icon(''); }
|
298
|
+
.icon-linkedin { .ie7icon(''); }
|
299
|
+
.icon-undo { .ie7icon(''); }
|
300
|
+
.icon-legal { .ie7icon(''); }
|
301
|
+
.icon-dashboard { .ie7icon(''); }
|
302
|
+
.icon-comment-alt { .ie7icon(''); }
|
303
|
+
.icon-comments-alt { .ie7icon(''); }
|
304
|
+
.icon-bolt { .ie7icon(''); }
|
305
|
+
.icon-sitemap { .ie7icon(''); }
|
306
|
+
.icon-umbrella { .ie7icon(''); }
|
307
|
+
.icon-paste { .ie7icon(''); }
|
308
|
+
.icon-lightbulb { .ie7icon(''); }
|
309
|
+
.icon-exchange { .ie7icon(''); }
|
310
|
+
.icon-cloud-download { .ie7icon(''); }
|
311
|
+
.icon-cloud-upload { .ie7icon(''); }
|
312
|
+
|
313
|
+
.icon-user-md { .ie7icon(''); }
|
314
|
+
.icon-stethoscope { .ie7icon(''); }
|
315
|
+
.icon-suitcase { .ie7icon(''); }
|
316
|
+
.icon-bell-alt { .ie7icon(''); }
|
317
|
+
.icon-coffee { .ie7icon(''); }
|
318
|
+
.icon-food { .ie7icon(''); }
|
319
|
+
.icon-file-alt { .ie7icon(''); }
|
320
|
+
.icon-building { .ie7icon(''); }
|
321
|
+
.icon-hospital { .ie7icon(''); }
|
322
|
+
.icon-ambulance { .ie7icon(''); }
|
323
|
+
.icon-medkit { .ie7icon(''); }
|
324
|
+
.icon-fighter-jet { .ie7icon(''); }
|
325
|
+
.icon-beer { .ie7icon(''); }
|
326
|
+
.icon-h-sign { .ie7icon(''); }
|
327
|
+
.icon-plus-sign-alt { .ie7icon(''); }
|
328
|
+
|
329
|
+
.icon-double-angle-left { .ie7icon(''); }
|
330
|
+
.icon-double-angle-right { .ie7icon(''); }
|
331
|
+
.icon-double-angle-up { .ie7icon(''); }
|
332
|
+
.icon-double-angle-down { .ie7icon(''); }
|
333
|
+
.icon-angle-left { .ie7icon(''); }
|
334
|
+
.icon-angle-right { .ie7icon(''); }
|
335
|
+
.icon-angle-up { .ie7icon(''); }
|
336
|
+
.icon-angle-down { .ie7icon(''); }
|
337
|
+
.icon-desktop { .ie7icon(''); }
|
338
|
+
.icon-laptop { .ie7icon(''); }
|
339
|
+
.icon-tablet { .ie7icon(''); }
|
340
|
+
.icon-mobile-phone { .ie7icon(''); }
|
341
|
+
.icon-circle-blank { .ie7icon(''); }
|
342
|
+
.icon-quote-left { .ie7icon(''); }
|
343
|
+
.icon-quote-right { .ie7icon(''); }
|
344
|
+
|
345
|
+
.icon-spinner { .ie7icon(''); }
|
346
|
+
.icon-circle { .ie7icon(''); }
|
347
|
+
.icon-reply { .ie7icon(''); }
|
348
|
+
.icon-github-alt { .ie7icon(''); }
|
349
|
+
.icon-folder-close-alt { .ie7icon(''); }
|
350
|
+
.icon-folder-open-alt { .ie7icon(''); }
|