├── LICENSE
├── README.md
├── component.php
├── css
├── bootstrap-theme.css
├── bootstrap-theme.css.map
├── bootstrap-theme.min.css
├── bootstrap.css
├── bootstrap.css.map
├── bootstrap.min.css
├── bootswatch.min.css
├── cerulean
│ └── bootstrap.min.css
├── cosmo
│ └── bootstrap.min.css
├── cyborg
│ └── bootstrap.min.css
├── darkly
│ └── bootstrap.min.css
├── flatly
│ └── bootstrap.min.css
├── font-awesome.css
├── font-awesome.min.css
├── fonts
│ ├── FontAwesome.otf
│ ├── fontawesome-webfont.eot
│ ├── fontawesome-webfont.svg
│ ├── fontawesome-webfont.ttf
│ ├── fontawesome-webfont.woff
│ ├── glyphicons-halflings-regular.eot
│ ├── glyphicons-halflings-regular.svg
│ ├── glyphicons-halflings-regular.ttf
│ └── glyphicons-halflings-regular.woff
├── icons.css
├── index.html
├── journal
│ └── bootstrap.min.css
├── lumen
│ └── bootstrap.min.css
├── paper
│ └── bootstrap.min.css
├── readable
│ └── bootstrap.min.css
├── sandstone
│ └── bootstrap.min.css
├── simplex
│ └── bootstrap.min.css
├── slate
│ └── bootstrap.min.css
├── spacelab
│ └── bootstrap.min.css
├── superhero
│ └── bootstrap.min.css
├── template.css
├── united
│ └── bootstrap.min.css
└── yeti
│ └── bootstrap.min.css
├── error.php
├── favicon.ico
├── fonts
├── FontAwesome.otf
├── fontawesome-webfont.eot
├── fontawesome-webfont.svg
├── fontawesome-webfont.ttf
├── fontawesome-webfont.woff
├── glyphicons-halflings-regular.eot
├── glyphicons-halflings-regular.svg
├── glyphicons-halflings-regular.ttf
└── glyphicons-halflings-regular.woff
├── html
├── index.html
├── mod_breadcrumbs
│ ├── default.php
│ └── index.html
├── mod_login
│ ├── default.php
│ └── default_logout.php
├── modules.php
└── pagination.php
├── images
├── Thumbs.db
├── bg.jpg
├── glyphicons-halflings-white.png
├── glyphicons-halflings.png
└── index.html
├── includes
├── head.php
├── index.html
└── params.php
├── index.php
├── js
├── PIE.htc
├── bootstrap.js
├── bootstrap.min.js
├── bootswatch.js
├── dropdown.js
├── holder.js
├── index.html
├── jquery-2.1.3.min.js
├── jquery-migrate.min.js
├── jquery-noconflict.js
├── jui
│ ├── bootstrap.js
│ ├── bootstrap.min.js
│ ├── jquery-migrate.min.js
│ ├── jquery-noconflict.js
│ └── jquery.min.js
├── modal.js
├── modernizr-2.8.3.js
├── popover.js
├── template.js
└── tooltip.js
├── offline.php
└── templateDetails.xml
/LICENSE:
--------------------------------------------------------------------------------
1 | GNU GENERAL PUBLIC LICENSE
2 | Version 2, June 1991
3 |
4 | Copyright (C) 1989, 1991 Free Software Foundation, Inc.,
5 | 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
6 | Everyone is permitted to copy and distribute verbatim copies
7 | of this license document, but changing it is not allowed.
8 |
9 | Preamble
10 |
11 | The licenses for most software are designed to take away your
12 | freedom to share and change it. By contrast, the GNU General Public
13 | License is intended to guarantee your freedom to share and change free
14 | software--to make sure the software is free for all its users. This
15 | General Public License applies to most of the Free Software
16 | Foundation's software and to any other program whose authors commit to
17 | using it. (Some other Free Software Foundation software is covered by
18 | the GNU Lesser General Public License instead.) You can apply it to
19 | your programs, too.
20 |
21 | When we speak of free software, we are referring to freedom, not
22 | price. Our General Public Licenses are designed to make sure that you
23 | have the freedom to distribute copies of free software (and charge for
24 | this service if you wish), that you receive source code or can get it
25 | if you want it, that you can change the software or use pieces of it
26 | in new free programs; and that you know you can do these things.
27 |
28 | To protect your rights, we need to make restrictions that forbid
29 | anyone to deny you these rights or to ask you to surrender the rights.
30 | These restrictions translate to certain responsibilities for you if you
31 | distribute copies of the software, or if you modify it.
32 |
33 | For example, if you distribute copies of such a program, whether
34 | gratis or for a fee, you must give the recipients all the rights that
35 | you have. You must make sure that they, too, receive or can get the
36 | source code. And you must show them these terms so they know their
37 | rights.
38 |
39 | We protect your rights with two steps: (1) copyright the software, and
40 | (2) offer you this license which gives you legal permission to copy,
41 | distribute and/or modify the software.
42 |
43 | Also, for each author's protection and ours, we want to make certain
44 | that everyone understands that there is no warranty for this free
45 | software. If the software is modified by someone else and passed on, we
46 | want its recipients to know that what they have is not the original, so
47 | that any problems introduced by others will not reflect on the original
48 | authors' reputations.
49 |
50 | Finally, any free program is threatened constantly by software
51 | patents. We wish to avoid the danger that redistributors of a free
52 | program will individually obtain patent licenses, in effect making the
53 | program proprietary. To prevent this, we have made it clear that any
54 | patent must be licensed for everyone's free use or not licensed at all.
55 |
56 | The precise terms and conditions for copying, distribution and
57 | modification follow.
58 |
59 | GNU GENERAL PUBLIC LICENSE
60 | TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
61 |
62 | 0. This License applies to any program or other work which contains
63 | a notice placed by the copyright holder saying it may be distributed
64 | under the terms of this General Public License. The "Program", below,
65 | refers to any such program or work, and a "work based on the Program"
66 | means either the Program or any derivative work under copyright law:
67 | that is to say, a work containing the Program or a portion of it,
68 | either verbatim or with modifications and/or translated into another
69 | language. (Hereinafter, translation is included without limitation in
70 | the term "modification".) Each licensee is addressed as "you".
71 |
72 | Activities other than copying, distribution and modification are not
73 | covered by this License; they are outside its scope. The act of
74 | running the Program is not restricted, and the output from the Program
75 | is covered only if its contents constitute a work based on the
76 | Program (independent of having been made by running the Program).
77 | Whether that is true depends on what the Program does.
78 |
79 | 1. You may copy and distribute verbatim copies of the Program's
80 | source code as you receive it, in any medium, provided that you
81 | conspicuously and appropriately publish on each copy an appropriate
82 | copyright notice and disclaimer of warranty; keep intact all the
83 | notices that refer to this License and to the absence of any warranty;
84 | and give any other recipients of the Program a copy of this License
85 | along with the Program.
86 |
87 | You may charge a fee for the physical act of transferring a copy, and
88 | you may at your option offer warranty protection in exchange for a fee.
89 |
90 | 2. You may modify your copy or copies of the Program or any portion
91 | of it, thus forming a work based on the Program, and copy and
92 | distribute such modifications or work under the terms of Section 1
93 | above, provided that you also meet all of these conditions:
94 |
95 | a) You must cause the modified files to carry prominent notices
96 | stating that you changed the files and the date of any change.
97 |
98 | b) You must cause any work that you distribute or publish, that in
99 | whole or in part contains or is derived from the Program or any
100 | part thereof, to be licensed as a whole at no charge to all third
101 | parties under the terms of this License.
102 |
103 | c) If the modified program normally reads commands interactively
104 | when run, you must cause it, when started running for such
105 | interactive use in the most ordinary way, to print or display an
106 | announcement including an appropriate copyright notice and a
107 | notice that there is no warranty (or else, saying that you provide
108 | a warranty) and that users may redistribute the program under
109 | these conditions, and telling the user how to view a copy of this
110 | License. (Exception: if the Program itself is interactive but
111 | does not normally print such an announcement, your work based on
112 | the Program is not required to print an announcement.)
113 |
114 | These requirements apply to the modified work as a whole. If
115 | identifiable sections of that work are not derived from the Program,
116 | and can be reasonably considered independent and separate works in
117 | themselves, then this License, and its terms, do not apply to those
118 | sections when you distribute them as separate works. But when you
119 | distribute the same sections as part of a whole which is a work based
120 | on the Program, the distribution of the whole must be on the terms of
121 | this License, whose permissions for other licensees extend to the
122 | entire whole, and thus to each and every part regardless of who wrote it.
123 |
124 | Thus, it is not the intent of this section to claim rights or contest
125 | your rights to work written entirely by you; rather, the intent is to
126 | exercise the right to control the distribution of derivative or
127 | collective works based on the Program.
128 |
129 | In addition, mere aggregation of another work not based on the Program
130 | with the Program (or with a work based on the Program) on a volume of
131 | a storage or distribution medium does not bring the other work under
132 | the scope of this License.
133 |
134 | 3. You may copy and distribute the Program (or a work based on it,
135 | under Section 2) in object code or executable form under the terms of
136 | Sections 1 and 2 above provided that you also do one of the following:
137 |
138 | a) Accompany it with the complete corresponding machine-readable
139 | source code, which must be distributed under the terms of Sections
140 | 1 and 2 above on a medium customarily used for software interchange; or,
141 |
142 | b) Accompany it with a written offer, valid for at least three
143 | years, to give any third party, for a charge no more than your
144 | cost of physically performing source distribution, a complete
145 | machine-readable copy of the corresponding source code, to be
146 | distributed under the terms of Sections 1 and 2 above on a medium
147 | customarily used for software interchange; or,
148 |
149 | c) Accompany it with the information you received as to the offer
150 | to distribute corresponding source code. (This alternative is
151 | allowed only for noncommercial distribution and only if you
152 | received the program in object code or executable form with such
153 | an offer, in accord with Subsection b above.)
154 |
155 | The source code for a work means the preferred form of the work for
156 | making modifications to it. For an executable work, complete source
157 | code means all the source code for all modules it contains, plus any
158 | associated interface definition files, plus the scripts used to
159 | control compilation and installation of the executable. However, as a
160 | special exception, the source code distributed need not include
161 | anything that is normally distributed (in either source or binary
162 | form) with the major components (compiler, kernel, and so on) of the
163 | operating system on which the executable runs, unless that component
164 | itself accompanies the executable.
165 |
166 | If distribution of executable or object code is made by offering
167 | access to copy from a designated place, then offering equivalent
168 | access to copy the source code from the same place counts as
169 | distribution of the source code, even though third parties are not
170 | compelled to copy the source along with the object code.
171 |
172 | 4. You may not copy, modify, sublicense, or distribute the Program
173 | except as expressly provided under this License. Any attempt
174 | otherwise to copy, modify, sublicense or distribute the Program is
175 | void, and will automatically terminate your rights under this License.
176 | However, parties who have received copies, or rights, from you under
177 | this License will not have their licenses terminated so long as such
178 | parties remain in full compliance.
179 |
180 | 5. You are not required to accept this License, since you have not
181 | signed it. However, nothing else grants you permission to modify or
182 | distribute the Program or its derivative works. These actions are
183 | prohibited by law if you do not accept this License. Therefore, by
184 | modifying or distributing the Program (or any work based on the
185 | Program), you indicate your acceptance of this License to do so, and
186 | all its terms and conditions for copying, distributing or modifying
187 | the Program or works based on it.
188 |
189 | 6. Each time you redistribute the Program (or any work based on the
190 | Program), the recipient automatically receives a license from the
191 | original licensor to copy, distribute or modify the Program subject to
192 | these terms and conditions. You may not impose any further
193 | restrictions on the recipients' exercise of the rights granted herein.
194 | You are not responsible for enforcing compliance by third parties to
195 | this License.
196 |
197 | 7. If, as a consequence of a court judgment or allegation of patent
198 | infringement or for any other reason (not limited to patent issues),
199 | conditions are imposed on you (whether by court order, agreement or
200 | otherwise) that contradict the conditions of this License, they do not
201 | excuse you from the conditions of this License. If you cannot
202 | distribute so as to satisfy simultaneously your obligations under this
203 | License and any other pertinent obligations, then as a consequence you
204 | may not distribute the Program at all. For example, if a patent
205 | license would not permit royalty-free redistribution of the Program by
206 | all those who receive copies directly or indirectly through you, then
207 | the only way you could satisfy both it and this License would be to
208 | refrain entirely from distribution of the Program.
209 |
210 | If any portion of this section is held invalid or unenforceable under
211 | any particular circumstance, the balance of the section is intended to
212 | apply and the section as a whole is intended to apply in other
213 | circumstances.
214 |
215 | It is not the purpose of this section to induce you to infringe any
216 | patents or other property right claims or to contest validity of any
217 | such claims; this section has the sole purpose of protecting the
218 | integrity of the free software distribution system, which is
219 | implemented by public license practices. Many people have made
220 | generous contributions to the wide range of software distributed
221 | through that system in reliance on consistent application of that
222 | system; it is up to the author/donor to decide if he or she is willing
223 | to distribute software through any other system and a licensee cannot
224 | impose that choice.
225 |
226 | This section is intended to make thoroughly clear what is believed to
227 | be a consequence of the rest of this License.
228 |
229 | 8. If the distribution and/or use of the Program is restricted in
230 | certain countries either by patents or by copyrighted interfaces, the
231 | original copyright holder who places the Program under this License
232 | may add an explicit geographical distribution limitation excluding
233 | those countries, so that distribution is permitted only in or among
234 | countries not thus excluded. In such case, this License incorporates
235 | the limitation as if written in the body of this License.
236 |
237 | 9. The Free Software Foundation may publish revised and/or new versions
238 | of the General Public License from time to time. Such new versions will
239 | be similar in spirit to the present version, but may differ in detail to
240 | address new problems or concerns.
241 |
242 | Each version is given a distinguishing version number. If the Program
243 | specifies a version number of this License which applies to it and "any
244 | later version", you have the option of following the terms and conditions
245 | either of that version or of any later version published by the Free
246 | Software Foundation. If the Program does not specify a version number of
247 | this License, you may choose any version ever published by the Free Software
248 | Foundation.
249 |
250 | 10. If you wish to incorporate parts of the Program into other free
251 | programs whose distribution conditions are different, write to the author
252 | to ask for permission. For software which is copyrighted by the Free
253 | Software Foundation, write to the Free Software Foundation; we sometimes
254 | make exceptions for this. Our decision will be guided by the two goals
255 | of preserving the free status of all derivatives of our free software and
256 | of promoting the sharing and reuse of software generally.
257 |
258 | NO WARRANTY
259 |
260 | 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
261 | FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
262 | OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
263 | PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
264 | OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
265 | MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
266 | TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
267 | PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
268 | REPAIR OR CORRECTION.
269 |
270 | 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
271 | WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
272 | REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
273 | INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
274 | OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
275 | TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
276 | YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
277 | PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
278 | POSSIBILITY OF SUCH DAMAGES.
279 |
280 | END OF TERMS AND CONDITIONS
281 |
282 | How to Apply These Terms to Your New Programs
283 |
284 | If you develop a new program, and you want it to be of the greatest
285 | possible use to the public, the best way to achieve this is to make it
286 | free software which everyone can redistribute and change under these terms.
287 |
288 | To do so, attach the following notices to the program. It is safest
289 | to attach them to the start of each source file to most effectively
290 | convey the exclusion of warranty; and each file should have at least
291 | the "copyright" line and a pointer to where the full notice is found.
292 |
293 | {description}
294 | Copyright (C) {year} {fullname}
295 |
296 | This program is free software; you can redistribute it and/or modify
297 | it under the terms of the GNU General Public License as published by
298 | the Free Software Foundation; either version 2 of the License, or
299 | (at your option) any later version.
300 |
301 | This program is distributed in the hope that it will be useful,
302 | but WITHOUT ANY WARRANTY; without even the implied warranty of
303 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
304 | GNU General Public License for more details.
305 |
306 | You should have received a copy of the GNU General Public License along
307 | with this program; if not, write to the Free Software Foundation, Inc.,
308 | 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
309 |
310 | Also add information on how to contact you by electronic and paper mail.
311 |
312 | If the program is interactive, make it output a short notice like this
313 | when it starts in an interactive mode:
314 |
315 | Gnomovision version 69, Copyright (C) year name of author
316 | Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
317 | This is free software, and you are welcome to redistribute it
318 | under certain conditions; type `show c' for details.
319 |
320 | The hypothetical commands `show w' and `show c' should show the appropriate
321 | parts of the General Public License. Of course, the commands you use may
322 | be called something other than `show w' and `show c'; they could even be
323 | mouse-clicks or menu items--whatever suits your program.
324 |
325 | You should also get your employer (if you work as a programmer) or your
326 | school, if any, to sign a "copyright disclaimer" for the program, if
327 | necessary. Here is a sample; alter the names:
328 |
329 | Yoyodyne, Inc., hereby disclaims all copyright interest in the program
330 | `Gnomovision' (which makes passes at compilers) written by James Hacker.
331 |
332 | {signature of Ty Coon}, 1 April 1989
333 | Ty Coon, President of Vice
334 |
335 | This General Public License does not permit incorporating your program into
336 | proprietary programs. If your program is a subroutine library, you may
337 | consider it more useful to permit linking proprietary applications with the
338 | library. If this is what you want to do, use the GNU Lesser General
339 | Public License instead of this License.
340 |
341 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # MasterBootswatch
2 |
Joomla! Framework, based in Bootstrap 3.x 100% with Bootswatch styles.
3 | Now, you can get the 17 styles bootswatch with just one click!
4 | The same great features of Master Bootstrap, with the styles of Bootswatch! all improved and updated!
5 | NO BRAND IN CODE! Perfect for any project! Developed under GPL License, absolutely FREE!
6 | Available for everybody in March!
7 |
8 | 100% Bootstrap 3.3.4
9 | HTML 5
10 | Modernizr
11 | Font Awesome
12 | PIE for IE
13 | Holder, client-side image placeholders
14 | Upload Logo from Administrator
15 | Fast and Light
16 | Positions 100% managed for class CSS
17 | Left and Right Modules with independent proportions!
18 | A Fullwidth position for your sliders!
19 | Sticky Footer by default!
20 | Hide Front Content option, from admin!
21 |
22 | Thanks to:
23 | Bootstrap
24 | Blank Template
25 | Thomas Park and Bootswatch
26 | Roberto Segura for minor tweaks
27 | Waseem Sadiq for minor tweaks
28 | Jordi Sorts for the idea ;)
29 | Support
30 | Google Group
31 |
32 |
--------------------------------------------------------------------------------
/component.php:
--------------------------------------------------------------------------------
1 | addStyleSheet('templates/'.$this->template.'/css/template.css');
14 | ?>
15 |
16 |
17 |
18 |
19 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
--------------------------------------------------------------------------------
/css/bootstrap-theme.min.css:
--------------------------------------------------------------------------------
1 | /*!
2 | * Bootstrap v3.3.4 (http://getbootstrap.com)
3 | * Copyright 2011-2015 Twitter, Inc.
4 | * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
5 | */.btn-danger,.btn-default,.btn-info,.btn-primary,.btn-success,.btn-warning{text-shadow:0 -1px 0 rgba(0,0,0,.2);-webkit-box-shadow:inset 0 1px 0 rgba(255,255,255,.15),0 1px 1px rgba(0,0,0,.075);box-shadow:inset 0 1px 0 rgba(255,255,255,.15),0 1px 1px rgba(0,0,0,.075)}.btn-danger.active,.btn-danger:active,.btn-default.active,.btn-default:active,.btn-info.active,.btn-info:active,.btn-primary.active,.btn-primary:active,.btn-success.active,.btn-success:active,.btn-warning.active,.btn-warning:active{-webkit-box-shadow:inset 0 3px 5px rgba(0,0,0,.125);box-shadow:inset 0 3px 5px rgba(0,0,0,.125)}.btn-danger .badge,.btn-default .badge,.btn-info .badge,.btn-primary .badge,.btn-success .badge,.btn-warning .badge{text-shadow:none}.btn.active,.btn:active{background-image:none}.btn-default{text-shadow:0 1px 0 #fff;background-image:-webkit-linear-gradient(top,#fff 0,#e0e0e0 100%);background-image:-o-linear-gradient(top,#fff 0,#e0e0e0 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#fff),to(#e0e0e0));background-image:linear-gradient(to bottom,#fff 0,#e0e0e0 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff', endColorstr='#ffe0e0e0', GradientType=0);filter:progid:DXImageTransform.Microsoft.gradient(enabled=false);background-repeat:repeat-x;border-color:#dbdbdb;border-color:#ccc}.btn-default:focus,.btn-default:hover{background-color:#e0e0e0;background-position:0 -15px}.btn-default.active,.btn-default:active{background-color:#e0e0e0;border-color:#dbdbdb}.btn-default.disabled,.btn-default:disabled,.btn-default[disabled]{background-color:#e0e0e0;background-image:none}.btn-primary{background-image:-webkit-linear-gradient(top,#337ab7 0,#265a88 100%);background-image:-o-linear-gradient(top,#337ab7 0,#265a88 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#337ab7),to(#265a88));background-image:linear-gradient(to bottom,#337ab7 0,#265a88 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff337ab7', endColorstr='#ff265a88', GradientType=0);filter:progid:DXImageTransform.Microsoft.gradient(enabled=false);background-repeat:repeat-x;border-color:#245580}.btn-primary:focus,.btn-primary:hover{background-color:#265a88;background-position:0 -15px}.btn-primary.active,.btn-primary:active{background-color:#265a88;border-color:#245580}.btn-primary.disabled,.btn-primary:disabled,.btn-primary[disabled]{background-color:#265a88;background-image:none}.btn-success{background-image:-webkit-linear-gradient(top,#5cb85c 0,#419641 100%);background-image:-o-linear-gradient(top,#5cb85c 0,#419641 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#5cb85c),to(#419641));background-image:linear-gradient(to bottom,#5cb85c 0,#419641 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5cb85c', endColorstr='#ff419641', GradientType=0);filter:progid:DXImageTransform.Microsoft.gradient(enabled=false);background-repeat:repeat-x;border-color:#3e8f3e}.btn-success:focus,.btn-success:hover{background-color:#419641;background-position:0 -15px}.btn-success.active,.btn-success:active{background-color:#419641;border-color:#3e8f3e}.btn-success.disabled,.btn-success:disabled,.btn-success[disabled]{background-color:#419641;background-image:none}.btn-info{background-image:-webkit-linear-gradient(top,#5bc0de 0,#2aabd2 100%);background-image:-o-linear-gradient(top,#5bc0de 0,#2aabd2 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#5bc0de),to(#2aabd2));background-image:linear-gradient(to bottom,#5bc0de 0,#2aabd2 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5bc0de', endColorstr='#ff2aabd2', GradientType=0);filter:progid:DXImageTransform.Microsoft.gradient(enabled=false);background-repeat:repeat-x;border-color:#28a4c9}.btn-info:focus,.btn-info:hover{background-color:#2aabd2;background-position:0 -15px}.btn-info.active,.btn-info:active{background-color:#2aabd2;border-color:#28a4c9}.btn-info.disabled,.btn-info:disabled,.btn-info[disabled]{background-color:#2aabd2;background-image:none}.btn-warning{background-image:-webkit-linear-gradient(top,#f0ad4e 0,#eb9316 100%);background-image:-o-linear-gradient(top,#f0ad4e 0,#eb9316 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#f0ad4e),to(#eb9316));background-image:linear-gradient(to bottom,#f0ad4e 0,#eb9316 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff0ad4e', endColorstr='#ffeb9316', GradientType=0);filter:progid:DXImageTransform.Microsoft.gradient(enabled=false);background-repeat:repeat-x;border-color:#e38d13}.btn-warning:focus,.btn-warning:hover{background-color:#eb9316;background-position:0 -15px}.btn-warning.active,.btn-warning:active{background-color:#eb9316;border-color:#e38d13}.btn-warning.disabled,.btn-warning:disabled,.btn-warning[disabled]{background-color:#eb9316;background-image:none}.btn-danger{background-image:-webkit-linear-gradient(top,#d9534f 0,#c12e2a 100%);background-image:-o-linear-gradient(top,#d9534f 0,#c12e2a 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#d9534f),to(#c12e2a));background-image:linear-gradient(to bottom,#d9534f 0,#c12e2a 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffd9534f', endColorstr='#ffc12e2a', GradientType=0);filter:progid:DXImageTransform.Microsoft.gradient(enabled=false);background-repeat:repeat-x;border-color:#b92c28}.btn-danger:focus,.btn-danger:hover{background-color:#c12e2a;background-position:0 -15px}.btn-danger.active,.btn-danger:active{background-color:#c12e2a;border-color:#b92c28}.btn-danger.disabled,.btn-danger:disabled,.btn-danger[disabled]{background-color:#c12e2a;background-image:none}.img-thumbnail,.thumbnail{-webkit-box-shadow:0 1px 2px rgba(0,0,0,.075);box-shadow:0 1px 2px rgba(0,0,0,.075)}.dropdown-menu>li>a:focus,.dropdown-menu>li>a:hover{background-color:#e8e8e8;background-image:-webkit-linear-gradient(top,#f5f5f5 0,#e8e8e8 100%);background-image:-o-linear-gradient(top,#f5f5f5 0,#e8e8e8 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#f5f5f5),to(#e8e8e8));background-image:linear-gradient(to bottom,#f5f5f5 0,#e8e8e8 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff5f5f5', endColorstr='#ffe8e8e8', GradientType=0);background-repeat:repeat-x}.dropdown-menu>.active>a,.dropdown-menu>.active>a:focus,.dropdown-menu>.active>a:hover{background-color:#2e6da4;background-image:-webkit-linear-gradient(top,#337ab7 0,#2e6da4 100%);background-image:-o-linear-gradient(top,#337ab7 0,#2e6da4 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#337ab7),to(#2e6da4));background-image:linear-gradient(to bottom,#337ab7 0,#2e6da4 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff337ab7', endColorstr='#ff2e6da4', GradientType=0);background-repeat:repeat-x}.navbar-default{background-image:-webkit-linear-gradient(top,#fff 0,#f8f8f8 100%);background-image:-o-linear-gradient(top,#fff 0,#f8f8f8 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#fff),to(#f8f8f8));background-image:linear-gradient(to bottom,#fff 0,#f8f8f8 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff', endColorstr='#fff8f8f8', GradientType=0);filter:progid:DXImageTransform.Microsoft.gradient(enabled=false);background-repeat:repeat-x;border-radius:4px;-webkit-box-shadow:inset 0 1px 0 rgba(255,255,255,.15),0 1px 5px rgba(0,0,0,.075);box-shadow:inset 0 1px 0 rgba(255,255,255,.15),0 1px 5px rgba(0,0,0,.075)}.navbar-default .navbar-nav>.active>a,.navbar-default .navbar-nav>.open>a{background-image:-webkit-linear-gradient(top,#dbdbdb 0,#e2e2e2 100%);background-image:-o-linear-gradient(top,#dbdbdb 0,#e2e2e2 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#dbdbdb),to(#e2e2e2));background-image:linear-gradient(to bottom,#dbdbdb 0,#e2e2e2 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffdbdbdb', endColorstr='#ffe2e2e2', GradientType=0);background-repeat:repeat-x;-webkit-box-shadow:inset 0 3px 9px rgba(0,0,0,.075);box-shadow:inset 0 3px 9px rgba(0,0,0,.075)}.navbar-brand,.navbar-nav>li>a{text-shadow:0 1px 0 rgba(255,255,255,.25)}.navbar-inverse{background-image:-webkit-linear-gradient(top,#3c3c3c 0,#222 100%);background-image:-o-linear-gradient(top,#3c3c3c 0,#222 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#3c3c3c),to(#222));background-image:linear-gradient(to bottom,#3c3c3c 0,#222 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff3c3c3c', endColorstr='#ff222222', GradientType=0);filter:progid:DXImageTransform.Microsoft.gradient(enabled=false);background-repeat:repeat-x}.navbar-inverse .navbar-nav>.active>a,.navbar-inverse .navbar-nav>.open>a{background-image:-webkit-linear-gradient(top,#080808 0,#0f0f0f 100%);background-image:-o-linear-gradient(top,#080808 0,#0f0f0f 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#080808),to(#0f0f0f));background-image:linear-gradient(to bottom,#080808 0,#0f0f0f 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff080808', endColorstr='#ff0f0f0f', GradientType=0);background-repeat:repeat-x;-webkit-box-shadow:inset 0 3px 9px rgba(0,0,0,.25);box-shadow:inset 0 3px 9px rgba(0,0,0,.25)}.navbar-inverse .navbar-brand,.navbar-inverse .navbar-nav>li>a{text-shadow:0 -1px 0 rgba(0,0,0,.25)}.navbar-fixed-bottom,.navbar-fixed-top,.navbar-static-top{border-radius:0}@media (max-width:767px){.navbar .navbar-nav .open .dropdown-menu>.active>a,.navbar .navbar-nav .open .dropdown-menu>.active>a:focus,.navbar .navbar-nav .open .dropdown-menu>.active>a:hover{color:#fff;background-image:-webkit-linear-gradient(top,#337ab7 0,#2e6da4 100%);background-image:-o-linear-gradient(top,#337ab7 0,#2e6da4 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#337ab7),to(#2e6da4));background-image:linear-gradient(to bottom,#337ab7 0,#2e6da4 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff337ab7', endColorstr='#ff2e6da4', GradientType=0);background-repeat:repeat-x}}.alert{text-shadow:0 1px 0 rgba(255,255,255,.2);-webkit-box-shadow:inset 0 1px 0 rgba(255,255,255,.25),0 1px 2px rgba(0,0,0,.05);box-shadow:inset 0 1px 0 rgba(255,255,255,.25),0 1px 2px rgba(0,0,0,.05)}.alert-success{background-image:-webkit-linear-gradient(top,#dff0d8 0,#c8e5bc 100%);background-image:-o-linear-gradient(top,#dff0d8 0,#c8e5bc 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#dff0d8),to(#c8e5bc));background-image:linear-gradient(to bottom,#dff0d8 0,#c8e5bc 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffdff0d8', endColorstr='#ffc8e5bc', GradientType=0);background-repeat:repeat-x;border-color:#b2dba1}.alert-info{background-image:-webkit-linear-gradient(top,#d9edf7 0,#b9def0 100%);background-image:-o-linear-gradient(top,#d9edf7 0,#b9def0 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#d9edf7),to(#b9def0));background-image:linear-gradient(to bottom,#d9edf7 0,#b9def0 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffd9edf7', endColorstr='#ffb9def0', GradientType=0);background-repeat:repeat-x;border-color:#9acfea}.alert-warning{background-image:-webkit-linear-gradient(top,#fcf8e3 0,#f8efc0 100%);background-image:-o-linear-gradient(top,#fcf8e3 0,#f8efc0 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#fcf8e3),to(#f8efc0));background-image:linear-gradient(to bottom,#fcf8e3 0,#f8efc0 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fffcf8e3', endColorstr='#fff8efc0', GradientType=0);background-repeat:repeat-x;border-color:#f5e79e}.alert-danger{background-image:-webkit-linear-gradient(top,#f2dede 0,#e7c3c3 100%);background-image:-o-linear-gradient(top,#f2dede 0,#e7c3c3 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#f2dede),to(#e7c3c3));background-image:linear-gradient(to bottom,#f2dede 0,#e7c3c3 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff2dede', endColorstr='#ffe7c3c3', GradientType=0);background-repeat:repeat-x;border-color:#dca7a7}.progress{background-image:-webkit-linear-gradient(top,#ebebeb 0,#f5f5f5 100%);background-image:-o-linear-gradient(top,#ebebeb 0,#f5f5f5 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#ebebeb),to(#f5f5f5));background-image:linear-gradient(to bottom,#ebebeb 0,#f5f5f5 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffebebeb', endColorstr='#fff5f5f5', GradientType=0);background-repeat:repeat-x}.progress-bar{background-image:-webkit-linear-gradient(top,#337ab7 0,#286090 100%);background-image:-o-linear-gradient(top,#337ab7 0,#286090 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#337ab7),to(#286090));background-image:linear-gradient(to bottom,#337ab7 0,#286090 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff337ab7', endColorstr='#ff286090', GradientType=0);background-repeat:repeat-x}.progress-bar-success{background-image:-webkit-linear-gradient(top,#5cb85c 0,#449d44 100%);background-image:-o-linear-gradient(top,#5cb85c 0,#449d44 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#5cb85c),to(#449d44));background-image:linear-gradient(to bottom,#5cb85c 0,#449d44 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5cb85c', endColorstr='#ff449d44', GradientType=0);background-repeat:repeat-x}.progress-bar-info{background-image:-webkit-linear-gradient(top,#5bc0de 0,#31b0d5 100%);background-image:-o-linear-gradient(top,#5bc0de 0,#31b0d5 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#5bc0de),to(#31b0d5));background-image:linear-gradient(to bottom,#5bc0de 0,#31b0d5 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5bc0de', endColorstr='#ff31b0d5', GradientType=0);background-repeat:repeat-x}.progress-bar-warning{background-image:-webkit-linear-gradient(top,#f0ad4e 0,#ec971f 100%);background-image:-o-linear-gradient(top,#f0ad4e 0,#ec971f 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#f0ad4e),to(#ec971f));background-image:linear-gradient(to bottom,#f0ad4e 0,#ec971f 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff0ad4e', endColorstr='#ffec971f', GradientType=0);background-repeat:repeat-x}.progress-bar-danger{background-image:-webkit-linear-gradient(top,#d9534f 0,#c9302c 100%);background-image:-o-linear-gradient(top,#d9534f 0,#c9302c 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#d9534f),to(#c9302c));background-image:linear-gradient(to bottom,#d9534f 0,#c9302c 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffd9534f', endColorstr='#ffc9302c', GradientType=0);background-repeat:repeat-x}.progress-bar-striped{background-image:-webkit-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:-o-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent)}.list-group{border-radius:4px;-webkit-box-shadow:0 1px 2px rgba(0,0,0,.075);box-shadow:0 1px 2px rgba(0,0,0,.075)}.list-group-item.active,.list-group-item.active:focus,.list-group-item.active:hover{text-shadow:0 -1px 0 #286090;background-image:-webkit-linear-gradient(top,#337ab7 0,#2b669a 100%);background-image:-o-linear-gradient(top,#337ab7 0,#2b669a 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#337ab7),to(#2b669a));background-image:linear-gradient(to bottom,#337ab7 0,#2b669a 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff337ab7', endColorstr='#ff2b669a', GradientType=0);background-repeat:repeat-x;border-color:#2b669a}.list-group-item.active .badge,.list-group-item.active:focus .badge,.list-group-item.active:hover .badge{text-shadow:none}.panel{-webkit-box-shadow:0 1px 2px rgba(0,0,0,.05);box-shadow:0 1px 2px rgba(0,0,0,.05)}.panel-default>.panel-heading{background-image:-webkit-linear-gradient(top,#f5f5f5 0,#e8e8e8 100%);background-image:-o-linear-gradient(top,#f5f5f5 0,#e8e8e8 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#f5f5f5),to(#e8e8e8));background-image:linear-gradient(to bottom,#f5f5f5 0,#e8e8e8 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff5f5f5', endColorstr='#ffe8e8e8', GradientType=0);background-repeat:repeat-x}.panel-primary>.panel-heading{background-image:-webkit-linear-gradient(top,#337ab7 0,#2e6da4 100%);background-image:-o-linear-gradient(top,#337ab7 0,#2e6da4 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#337ab7),to(#2e6da4));background-image:linear-gradient(to bottom,#337ab7 0,#2e6da4 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff337ab7', endColorstr='#ff2e6da4', GradientType=0);background-repeat:repeat-x}.panel-success>.panel-heading{background-image:-webkit-linear-gradient(top,#dff0d8 0,#d0e9c6 100%);background-image:-o-linear-gradient(top,#dff0d8 0,#d0e9c6 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#dff0d8),to(#d0e9c6));background-image:linear-gradient(to bottom,#dff0d8 0,#d0e9c6 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffdff0d8', endColorstr='#ffd0e9c6', GradientType=0);background-repeat:repeat-x}.panel-info>.panel-heading{background-image:-webkit-linear-gradient(top,#d9edf7 0,#c4e3f3 100%);background-image:-o-linear-gradient(top,#d9edf7 0,#c4e3f3 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#d9edf7),to(#c4e3f3));background-image:linear-gradient(to bottom,#d9edf7 0,#c4e3f3 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffd9edf7', endColorstr='#ffc4e3f3', GradientType=0);background-repeat:repeat-x}.panel-warning>.panel-heading{background-image:-webkit-linear-gradient(top,#fcf8e3 0,#faf2cc 100%);background-image:-o-linear-gradient(top,#fcf8e3 0,#faf2cc 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#fcf8e3),to(#faf2cc));background-image:linear-gradient(to bottom,#fcf8e3 0,#faf2cc 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fffcf8e3', endColorstr='#fffaf2cc', GradientType=0);background-repeat:repeat-x}.panel-danger>.panel-heading{background-image:-webkit-linear-gradient(top,#f2dede 0,#ebcccc 100%);background-image:-o-linear-gradient(top,#f2dede 0,#ebcccc 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#f2dede),to(#ebcccc));background-image:linear-gradient(to bottom,#f2dede 0,#ebcccc 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff2dede', endColorstr='#ffebcccc', GradientType=0);background-repeat:repeat-x}.well{background-image:-webkit-linear-gradient(top,#e8e8e8 0,#f5f5f5 100%);background-image:-o-linear-gradient(top,#e8e8e8 0,#f5f5f5 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#e8e8e8),to(#f5f5f5));background-image:linear-gradient(to bottom,#e8e8e8 0,#f5f5f5 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffe8e8e8', endColorstr='#fff5f5f5', GradientType=0);background-repeat:repeat-x;border-color:#dcdcdc;-webkit-box-shadow:inset 0 1px 3px rgba(0,0,0,.05),0 1px 0 rgba(255,255,255,.1);box-shadow:inset 0 1px 3px rgba(0,0,0,.05),0 1px 0 rgba(255,255,255,.1)}
--------------------------------------------------------------------------------
/css/bootswatch.min.css:
--------------------------------------------------------------------------------
1 | body{padding-top:50px}body>.navbar{-webkit-transition:background-color 300ms ease-in;transition:background-color 300ms ease-in}body>.navbar-transparent{background-color:transparent}body>.navbar-transparent .navbar-nav>.open>a{background-color:transparent !important}#home{padding-top:0}#home .navbar-brand{padding:13.5px 15px 12.5px}#home .navbar-brand>img{display:inline;margin:0 8px;height:100%}#banner{min-height:300px;border-bottom:none}.page-header h1{font-size:4em}.bs-docs-section{margin-top:8em}.bs-component{position:relative}.bs-component .modal{position:relative;top:auto;right:auto;left:auto;bottom:auto;z-index:1;display:block}.bs-component .modal-dialog{width:90%}.bs-component .popover{position:relative;display:inline-block;width:220px;margin:20px}#source-button{position:absolute;top:0;right:0;z-index:100;font-weight:bold}.nav-tabs{margin-bottom:15px}.progress{margin-bottom:10px}footer{margin:5em 0}footer li{float:left;margin-right:1.5em;margin-bottom:1.5em}footer p{clear:left;margin-bottom:0}.splash{padding:9em 0 2em;background-color:#141d27;background-image:url(../img/bg.jpg);background-size:cover;background-attachment:fixed;color:#fff;text-align:center}.splash .logo{width:160px}.splash h1{font-size:3em}.splash #social{margin:2em 0}.splash .alert{margin:2em 0}.section-tout{padding:4em 0 3em;border-bottom:1px solid rgba(0,0,0,0.05);background-color:#eaf1f1}.section-tout .fa{margin-right:.5em}.section-tout p{margin-bottom:3em}.section-preview{padding:4em 0 4em}.section-preview .preview{margin-bottom:4em;background-color:#eaf1f1}.section-preview .preview .image{position:relative}.section-preview .preview .image:before{box-shadow:inset 0 0 0 1px rgba(0,0,0,0.1);position:absolute;top:0;left:0;width:100%;height:100%;content:"";pointer-events:none}.section-preview .preview .options{padding:1em 2em 2em;border:1px solid rgba(0,0,0,0.05);border-top:none;text-align:center}.section-preview .preview .options p{margin-bottom:2em}.section-preview .dropdown-menu{text-align:left}.section-preview .lead{margin-bottom:2em}@media (max-width:767px){.section-preview .image img{width:100%}}.sponsor{text-align:center}.sponsor a:hover{text-decoration:none}@media (max-width:767px){.splash{padding-top:4em}.splash .logo{width:100px}.splash h1{font-size:2em}#banner{margin-bottom:2em;text-align:center}}
--------------------------------------------------------------------------------
/css/font-awesome.min.css:
--------------------------------------------------------------------------------
1 | /*!
2 | * Font Awesome 4.0.3 by @davegandy - http://fontawesome.io - @fontawesome
3 | * License - http://fontawesome.io/license (Font: SIL OFL 1.1, CSS: MIT License)
4 | */@font-face{font-family:'FontAwesome';src:url('../fonts/fontawesome-webfont.eot?v=4.0.3');src:url('../fonts/fontawesome-webfont.eot?#iefix&v=4.0.3') format('embedded-opentype'),url('../fonts/fontawesome-webfont.woff?v=4.0.3') format('woff'),url('../fonts/fontawesome-webfont.ttf?v=4.0.3') format('truetype'),url('../fonts/fontawesome-webfont.svg?v=4.0.3#fontawesomeregular') format('svg');font-weight:normal;font-style:normal}.fa{display:inline-block;font-family:FontAwesome;font-style:normal;font-weight:normal;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.fa-lg{font-size:1.3333333333333333em;line-height:.75em;vertical-align:-15%}.fa-2x{font-size:2em}.fa-3x{font-size:3em}.fa-4x{font-size:4em}.fa-5x{font-size:5em}.fa-fw{width:1.2857142857142858em;text-align:center}.fa-ul{padding-left:0;margin-left:2.142857142857143em;list-style-type:none}.fa-ul>li{position:relative}.fa-li{position:absolute;left:-2.142857142857143em;width:2.142857142857143em;top:.14285714285714285em;text-align:center}.fa-li.fa-lg{left:-1.8571428571428572em}.fa-border{padding:.2em .25em .15em;border:solid .08em #eee;border-radius:.1em}.pull-right{float:right}.pull-left{float:left}.fa.pull-left{margin-right:.3em}.fa.pull-right{margin-left:.3em}.fa-spin{-webkit-animation:spin 2s infinite linear;-moz-animation:spin 2s infinite linear;-o-animation:spin 2s infinite linear;animation:spin 2s infinite linear}@-moz-keyframes spin{0%{-moz-transform:rotate(0deg)}100%{-moz-transform:rotate(359deg)}}@-webkit-keyframes spin{0%{-webkit-transform:rotate(0deg)}100%{-webkit-transform:rotate(359deg)}}@-o-keyframes spin{0%{-o-transform:rotate(0deg)}100%{-o-transform:rotate(359deg)}}@-ms-keyframes spin{0%{-ms-transform:rotate(0deg)}100%{-ms-transform:rotate(359deg)}}@keyframes spin{0%{transform:rotate(0deg)}100%{transform:rotate(359deg)}}.fa-rotate-90{filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=1);-webkit-transform:rotate(90deg);-moz-transform:rotate(90deg);-ms-transform:rotate(90deg);-o-transform:rotate(90deg);transform:rotate(90deg)}.fa-rotate-180{filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=2);-webkit-transform:rotate(180deg);-moz-transform:rotate(180deg);-ms-transform:rotate(180deg);-o-transform:rotate(180deg);transform:rotate(180deg)}.fa-rotate-270{filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=3);-webkit-transform:rotate(270deg);-moz-transform:rotate(270deg);-ms-transform:rotate(270deg);-o-transform:rotate(270deg);transform:rotate(270deg)}.fa-flip-horizontal{filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=0,mirror=1);-webkit-transform:scale(-1,1);-moz-transform:scale(-1,1);-ms-transform:scale(-1,1);-o-transform:scale(-1,1);transform:scale(-1,1)}.fa-flip-vertical{filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=2,mirror=1);-webkit-transform:scale(1,-1);-moz-transform:scale(1,-1);-ms-transform:scale(1,-1);-o-transform:scale(1,-1);transform:scale(1,-1)}.fa-stack{position:relative;display:inline-block;width:2em;height:2em;line-height:2em;vertical-align:middle}.fa-stack-1x,.fa-stack-2x{position:absolute;left:0;width:100%;text-align:center}.fa-stack-1x{line-height:inherit}.fa-stack-2x{font-size:2em}.fa-inverse{color:#fff}.fa-glass:before{content:"\f000"}.fa-music:before{content:"\f001"}.fa-search:before{content:"\f002"}.fa-envelope-o:before{content:"\f003"}.fa-heart:before{content:"\f004"}.fa-star:before{content:"\f005"}.fa-star-o:before{content:"\f006"}.fa-user:before{content:"\f007"}.fa-film:before{content:"\f008"}.fa-th-large:before{content:"\f009"}.fa-th:before{content:"\f00a"}.fa-th-list:before{content:"\f00b"}.fa-check:before{content:"\f00c"}.fa-times:before{content:"\f00d"}.fa-search-plus:before{content:"\f00e"}.fa-search-minus:before{content:"\f010"}.fa-power-off:before{content:"\f011"}.fa-signal:before{content:"\f012"}.fa-gear:before,.fa-cog:before{content:"\f013"}.fa-trash-o:before{content:"\f014"}.fa-home:before{content:"\f015"}.fa-file-o:before{content:"\f016"}.fa-clock-o:before{content:"\f017"}.fa-road:before{content:"\f018"}.fa-download:before{content:"\f019"}.fa-arrow-circle-o-down:before{content:"\f01a"}.fa-arrow-circle-o-up:before{content:"\f01b"}.fa-inbox:before{content:"\f01c"}.fa-play-circle-o:before{content:"\f01d"}.fa-rotate-right:before,.fa-repeat:before{content:"\f01e"}.fa-refresh:before{content:"\f021"}.fa-list-alt:before{content:"\f022"}.fa-lock:before{content:"\f023"}.fa-flag:before{content:"\f024"}.fa-headphones:before{content:"\f025"}.fa-volume-off:before{content:"\f026"}.fa-volume-down:before{content:"\f027"}.fa-volume-up:before{content:"\f028"}.fa-qrcode:before{content:"\f029"}.fa-barcode:before{content:"\f02a"}.fa-tag:before{content:"\f02b"}.fa-tags:before{content:"\f02c"}.fa-book:before{content:"\f02d"}.fa-bookmark:before{content:"\f02e"}.fa-print:before{content:"\f02f"}.fa-camera:before{content:"\f030"}.fa-font:before{content:"\f031"}.fa-bold:before{content:"\f032"}.fa-italic:before{content:"\f033"}.fa-text-height:before{content:"\f034"}.fa-text-width:before{content:"\f035"}.fa-align-left:before{content:"\f036"}.fa-align-center:before{content:"\f037"}.fa-align-right:before{content:"\f038"}.fa-align-justify:before{content:"\f039"}.fa-list:before{content:"\f03a"}.fa-dedent:before,.fa-outdent:before{content:"\f03b"}.fa-indent:before{content:"\f03c"}.fa-video-camera:before{content:"\f03d"}.fa-picture-o:before{content:"\f03e"}.fa-pencil:before{content:"\f040"}.fa-map-marker:before{content:"\f041"}.fa-adjust:before{content:"\f042"}.fa-tint:before{content:"\f043"}.fa-edit:before,.fa-pencil-square-o:before{content:"\f044"}.fa-share-square-o:before{content:"\f045"}.fa-check-square-o:before{content:"\f046"}.fa-arrows:before{content:"\f047"}.fa-step-backward:before{content:"\f048"}.fa-fast-backward:before{content:"\f049"}.fa-backward:before{content:"\f04a"}.fa-play:before{content:"\f04b"}.fa-pause:before{content:"\f04c"}.fa-stop:before{content:"\f04d"}.fa-forward:before{content:"\f04e"}.fa-fast-forward:before{content:"\f050"}.fa-step-forward:before{content:"\f051"}.fa-eject:before{content:"\f052"}.fa-chevron-left:before{content:"\f053"}.fa-chevron-right:before{content:"\f054"}.fa-plus-circle:before{content:"\f055"}.fa-minus-circle:before{content:"\f056"}.fa-times-circle:before{content:"\f057"}.fa-check-circle:before{content:"\f058"}.fa-question-circle:before{content:"\f059"}.fa-info-circle:before{content:"\f05a"}.fa-crosshairs:before{content:"\f05b"}.fa-times-circle-o:before{content:"\f05c"}.fa-check-circle-o:before{content:"\f05d"}.fa-ban:before{content:"\f05e"}.fa-arrow-left:before{content:"\f060"}.fa-arrow-right:before{content:"\f061"}.fa-arrow-up:before{content:"\f062"}.fa-arrow-down:before{content:"\f063"}.fa-mail-forward:before,.fa-share:before{content:"\f064"}.fa-expand:before{content:"\f065"}.fa-compress:before{content:"\f066"}.fa-plus:before{content:"\f067"}.fa-minus:before{content:"\f068"}.fa-asterisk:before{content:"\f069"}.fa-exclamation-circle:before{content:"\f06a"}.fa-gift:before{content:"\f06b"}.fa-leaf:before{content:"\f06c"}.fa-fire:before{content:"\f06d"}.fa-eye:before{content:"\f06e"}.fa-eye-slash:before{content:"\f070"}.fa-warning:before,.fa-exclamation-triangle:before{content:"\f071"}.fa-plane:before{content:"\f072"}.fa-calendar:before{content:"\f073"}.fa-random:before{content:"\f074"}.fa-comment:before{content:"\f075"}.fa-magnet:before{content:"\f076"}.fa-chevron-up:before{content:"\f077"}.fa-chevron-down:before{content:"\f078"}.fa-retweet:before{content:"\f079"}.fa-shopping-cart:before{content:"\f07a"}.fa-folder:before{content:"\f07b"}.fa-folder-open:before{content:"\f07c"}.fa-arrows-v:before{content:"\f07d"}.fa-arrows-h:before{content:"\f07e"}.fa-bar-chart-o:before{content:"\f080"}.fa-twitter-square:before{content:"\f081"}.fa-facebook-square:before{content:"\f082"}.fa-camera-retro:before{content:"\f083"}.fa-key:before{content:"\f084"}.fa-gears:before,.fa-cogs:before{content:"\f085"}.fa-comments:before{content:"\f086"}.fa-thumbs-o-up:before{content:"\f087"}.fa-thumbs-o-down:before{content:"\f088"}.fa-star-half:before{content:"\f089"}.fa-heart-o:before{content:"\f08a"}.fa-sign-out:before{content:"\f08b"}.fa-linkedin-square:before{content:"\f08c"}.fa-thumb-tack:before{content:"\f08d"}.fa-external-link:before{content:"\f08e"}.fa-sign-in:before{content:"\f090"}.fa-trophy:before{content:"\f091"}.fa-github-square:before{content:"\f092"}.fa-upload:before{content:"\f093"}.fa-lemon-o:before{content:"\f094"}.fa-phone:before{content:"\f095"}.fa-square-o:before{content:"\f096"}.fa-bookmark-o:before{content:"\f097"}.fa-phone-square:before{content:"\f098"}.fa-twitter:before{content:"\f099"}.fa-facebook:before{content:"\f09a"}.fa-github:before{content:"\f09b"}.fa-unlock:before{content:"\f09c"}.fa-credit-card:before{content:"\f09d"}.fa-rss:before{content:"\f09e"}.fa-hdd-o:before{content:"\f0a0"}.fa-bullhorn:before{content:"\f0a1"}.fa-bell:before{content:"\f0f3"}.fa-certificate:before{content:"\f0a3"}.fa-hand-o-right:before{content:"\f0a4"}.fa-hand-o-left:before{content:"\f0a5"}.fa-hand-o-up:before{content:"\f0a6"}.fa-hand-o-down:before{content:"\f0a7"}.fa-arrow-circle-left:before{content:"\f0a8"}.fa-arrow-circle-right:before{content:"\f0a9"}.fa-arrow-circle-up:before{content:"\f0aa"}.fa-arrow-circle-down:before{content:"\f0ab"}.fa-globe:before{content:"\f0ac"}.fa-wrench:before{content:"\f0ad"}.fa-tasks:before{content:"\f0ae"}.fa-filter:before{content:"\f0b0"}.fa-briefcase:before{content:"\f0b1"}.fa-arrows-alt:before{content:"\f0b2"}.fa-group:before,.fa-users:before{content:"\f0c0"}.fa-chain:before,.fa-link:before{content:"\f0c1"}.fa-cloud:before{content:"\f0c2"}.fa-flask:before{content:"\f0c3"}.fa-cut:before,.fa-scissors:before{content:"\f0c4"}.fa-copy:before,.fa-files-o:before{content:"\f0c5"}.fa-paperclip:before{content:"\f0c6"}.fa-save:before,.fa-floppy-o:before{content:"\f0c7"}.fa-square:before{content:"\f0c8"}.fa-bars:before{content:"\f0c9"}.fa-list-ul:before{content:"\f0ca"}.fa-list-ol:before{content:"\f0cb"}.fa-strikethrough:before{content:"\f0cc"}.fa-underline:before{content:"\f0cd"}.fa-table:before{content:"\f0ce"}.fa-magic:before{content:"\f0d0"}.fa-truck:before{content:"\f0d1"}.fa-pinterest:before{content:"\f0d2"}.fa-pinterest-square:before{content:"\f0d3"}.fa-google-plus-square:before{content:"\f0d4"}.fa-google-plus:before{content:"\f0d5"}.fa-money:before{content:"\f0d6"}.fa-caret-down:before{content:"\f0d7"}.fa-caret-up:before{content:"\f0d8"}.fa-caret-left:before{content:"\f0d9"}.fa-caret-right:before{content:"\f0da"}.fa-columns:before{content:"\f0db"}.fa-unsorted:before,.fa-sort:before{content:"\f0dc"}.fa-sort-down:before,.fa-sort-asc:before{content:"\f0dd"}.fa-sort-up:before,.fa-sort-desc:before{content:"\f0de"}.fa-envelope:before{content:"\f0e0"}.fa-linkedin:before{content:"\f0e1"}.fa-rotate-left:before,.fa-undo:before{content:"\f0e2"}.fa-legal:before,.fa-gavel:before{content:"\f0e3"}.fa-dashboard:before,.fa-tachometer:before{content:"\f0e4"}.fa-comment-o:before{content:"\f0e5"}.fa-comments-o:before{content:"\f0e6"}.fa-flash:before,.fa-bolt:before{content:"\f0e7"}.fa-sitemap:before{content:"\f0e8"}.fa-umbrella:before{content:"\f0e9"}.fa-paste:before,.fa-clipboard:before{content:"\f0ea"}.fa-lightbulb-o:before{content:"\f0eb"}.fa-exchange:before{content:"\f0ec"}.fa-cloud-download:before{content:"\f0ed"}.fa-cloud-upload:before{content:"\f0ee"}.fa-user-md:before{content:"\f0f0"}.fa-stethoscope:before{content:"\f0f1"}.fa-suitcase:before{content:"\f0f2"}.fa-bell-o:before{content:"\f0a2"}.fa-coffee:before{content:"\f0f4"}.fa-cutlery:before{content:"\f0f5"}.fa-file-text-o:before{content:"\f0f6"}.fa-building-o:before{content:"\f0f7"}.fa-hospital-o:before{content:"\f0f8"}.fa-ambulance:before{content:"\f0f9"}.fa-medkit:before{content:"\f0fa"}.fa-fighter-jet:before{content:"\f0fb"}.fa-beer:before{content:"\f0fc"}.fa-h-square:before{content:"\f0fd"}.fa-plus-square:before{content:"\f0fe"}.fa-angle-double-left:before{content:"\f100"}.fa-angle-double-right:before{content:"\f101"}.fa-angle-double-up:before{content:"\f102"}.fa-angle-double-down:before{content:"\f103"}.fa-angle-left:before{content:"\f104"}.fa-angle-right:before{content:"\f105"}.fa-angle-up:before{content:"\f106"}.fa-angle-down:before{content:"\f107"}.fa-desktop:before{content:"\f108"}.fa-laptop:before{content:"\f109"}.fa-tablet:before{content:"\f10a"}.fa-mobile-phone:before,.fa-mobile:before{content:"\f10b"}.fa-circle-o:before{content:"\f10c"}.fa-quote-left:before{content:"\f10d"}.fa-quote-right:before{content:"\f10e"}.fa-spinner:before{content:"\f110"}.fa-circle:before{content:"\f111"}.fa-mail-reply:before,.fa-reply:before{content:"\f112"}.fa-github-alt:before{content:"\f113"}.fa-folder-o:before{content:"\f114"}.fa-folder-open-o:before{content:"\f115"}.fa-smile-o:before{content:"\f118"}.fa-frown-o:before{content:"\f119"}.fa-meh-o:before{content:"\f11a"}.fa-gamepad:before{content:"\f11b"}.fa-keyboard-o:before{content:"\f11c"}.fa-flag-o:before{content:"\f11d"}.fa-flag-checkered:before{content:"\f11e"}.fa-terminal:before{content:"\f120"}.fa-code:before{content:"\f121"}.fa-reply-all:before{content:"\f122"}.fa-mail-reply-all:before{content:"\f122"}.fa-star-half-empty:before,.fa-star-half-full:before,.fa-star-half-o:before{content:"\f123"}.fa-location-arrow:before{content:"\f124"}.fa-crop:before{content:"\f125"}.fa-code-fork:before{content:"\f126"}.fa-unlink:before,.fa-chain-broken:before{content:"\f127"}.fa-question:before{content:"\f128"}.fa-info:before{content:"\f129"}.fa-exclamation:before{content:"\f12a"}.fa-superscript:before{content:"\f12b"}.fa-subscript:before{content:"\f12c"}.fa-eraser:before{content:"\f12d"}.fa-puzzle-piece:before{content:"\f12e"}.fa-microphone:before{content:"\f130"}.fa-microphone-slash:before{content:"\f131"}.fa-shield:before{content:"\f132"}.fa-calendar-o:before{content:"\f133"}.fa-fire-extinguisher:before{content:"\f134"}.fa-rocket:before{content:"\f135"}.fa-maxcdn:before{content:"\f136"}.fa-chevron-circle-left:before{content:"\f137"}.fa-chevron-circle-right:before{content:"\f138"}.fa-chevron-circle-up:before{content:"\f139"}.fa-chevron-circle-down:before{content:"\f13a"}.fa-html5:before{content:"\f13b"}.fa-css3:before{content:"\f13c"}.fa-anchor:before{content:"\f13d"}.fa-unlock-alt:before{content:"\f13e"}.fa-bullseye:before{content:"\f140"}.fa-ellipsis-h:before{content:"\f141"}.fa-ellipsis-v:before{content:"\f142"}.fa-rss-square:before{content:"\f143"}.fa-play-circle:before{content:"\f144"}.fa-ticket:before{content:"\f145"}.fa-minus-square:before{content:"\f146"}.fa-minus-square-o:before{content:"\f147"}.fa-level-up:before{content:"\f148"}.fa-level-down:before{content:"\f149"}.fa-check-square:before{content:"\f14a"}.fa-pencil-square:before{content:"\f14b"}.fa-external-link-square:before{content:"\f14c"}.fa-share-square:before{content:"\f14d"}.fa-compass:before{content:"\f14e"}.fa-toggle-down:before,.fa-caret-square-o-down:before{content:"\f150"}.fa-toggle-up:before,.fa-caret-square-o-up:before{content:"\f151"}.fa-toggle-right:before,.fa-caret-square-o-right:before{content:"\f152"}.fa-euro:before,.fa-eur:before{content:"\f153"}.fa-gbp:before{content:"\f154"}.fa-dollar:before,.fa-usd:before{content:"\f155"}.fa-rupee:before,.fa-inr:before{content:"\f156"}.fa-cny:before,.fa-rmb:before,.fa-yen:before,.fa-jpy:before{content:"\f157"}.fa-ruble:before,.fa-rouble:before,.fa-rub:before{content:"\f158"}.fa-won:before,.fa-krw:before{content:"\f159"}.fa-bitcoin:before,.fa-btc:before{content:"\f15a"}.fa-file:before{content:"\f15b"}.fa-file-text:before{content:"\f15c"}.fa-sort-alpha-asc:before{content:"\f15d"}.fa-sort-alpha-desc:before{content:"\f15e"}.fa-sort-amount-asc:before{content:"\f160"}.fa-sort-amount-desc:before{content:"\f161"}.fa-sort-numeric-asc:before{content:"\f162"}.fa-sort-numeric-desc:before{content:"\f163"}.fa-thumbs-up:before{content:"\f164"}.fa-thumbs-down:before{content:"\f165"}.fa-youtube-square:before{content:"\f166"}.fa-youtube:before{content:"\f167"}.fa-xing:before{content:"\f168"}.fa-xing-square:before{content:"\f169"}.fa-youtube-play:before{content:"\f16a"}.fa-dropbox:before{content:"\f16b"}.fa-stack-overflow:before{content:"\f16c"}.fa-instagram:before{content:"\f16d"}.fa-flickr:before{content:"\f16e"}.fa-adn:before{content:"\f170"}.fa-bitbucket:before{content:"\f171"}.fa-bitbucket-square:before{content:"\f172"}.fa-tumblr:before{content:"\f173"}.fa-tumblr-square:before{content:"\f174"}.fa-long-arrow-down:before{content:"\f175"}.fa-long-arrow-up:before{content:"\f176"}.fa-long-arrow-left:before{content:"\f177"}.fa-long-arrow-right:before{content:"\f178"}.fa-apple:before{content:"\f179"}.fa-windows:before{content:"\f17a"}.fa-android:before{content:"\f17b"}.fa-linux:before{content:"\f17c"}.fa-dribbble:before{content:"\f17d"}.fa-skype:before{content:"\f17e"}.fa-foursquare:before{content:"\f180"}.fa-trello:before{content:"\f181"}.fa-female:before{content:"\f182"}.fa-male:before{content:"\f183"}.fa-gittip:before{content:"\f184"}.fa-sun-o:before{content:"\f185"}.fa-moon-o:before{content:"\f186"}.fa-archive:before{content:"\f187"}.fa-bug:before{content:"\f188"}.fa-vk:before{content:"\f189"}.fa-weibo:before{content:"\f18a"}.fa-renren:before{content:"\f18b"}.fa-pagelines:before{content:"\f18c"}.fa-stack-exchange:before{content:"\f18d"}.fa-arrow-circle-o-right:before{content:"\f18e"}.fa-arrow-circle-o-left:before{content:"\f190"}.fa-toggle-left:before,.fa-caret-square-o-left:before{content:"\f191"}.fa-dot-circle-o:before{content:"\f192"}.fa-wheelchair:before{content:"\f193"}.fa-vimeo-square:before{content:"\f194"}.fa-turkish-lira:before,.fa-try:before{content:"\f195"}.fa-plus-square-o:before{content:"\f196"}
--------------------------------------------------------------------------------
/css/fonts/FontAwesome.otf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gsuez/MasterBootswatch/c2a4c05cab30c0c96aa57d7f4741eb4b43483b7c/css/fonts/FontAwesome.otf
--------------------------------------------------------------------------------
/css/fonts/fontawesome-webfont.eot:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gsuez/MasterBootswatch/c2a4c05cab30c0c96aa57d7f4741eb4b43483b7c/css/fonts/fontawesome-webfont.eot
--------------------------------------------------------------------------------
/css/fonts/fontawesome-webfont.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gsuez/MasterBootswatch/c2a4c05cab30c0c96aa57d7f4741eb4b43483b7c/css/fonts/fontawesome-webfont.ttf
--------------------------------------------------------------------------------
/css/fonts/fontawesome-webfont.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gsuez/MasterBootswatch/c2a4c05cab30c0c96aa57d7f4741eb4b43483b7c/css/fonts/fontawesome-webfont.woff
--------------------------------------------------------------------------------
/css/fonts/glyphicons-halflings-regular.eot:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gsuez/MasterBootswatch/c2a4c05cab30c0c96aa57d7f4741eb4b43483b7c/css/fonts/glyphicons-halflings-regular.eot
--------------------------------------------------------------------------------
/css/fonts/glyphicons-halflings-regular.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gsuez/MasterBootswatch/c2a4c05cab30c0c96aa57d7f4741eb4b43483b7c/css/fonts/glyphicons-halflings-regular.ttf
--------------------------------------------------------------------------------
/css/fonts/glyphicons-halflings-regular.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gsuez/MasterBootswatch/c2a4c05cab30c0c96aa57d7f4741eb4b43483b7c/css/fonts/glyphicons-halflings-regular.woff
--------------------------------------------------------------------------------
/css/icons.css:
--------------------------------------------------------------------------------
1 | [class^="icon-"], [class*=" icon-"] {
2 | background-image: url("../images/glyphicons-halflings.png");
3 | background-position: 14px 14px;
4 | background-repeat: no-repeat;
5 | display: inline-block;
6 | height: 14px;
7 | line-height: 14px;
8 | margin-top: 1px;
9 | vertical-align: text-top;
10 | width: 14px;
11 | }
12 | .icon-print {
13 | background-position: -96px -48px;
14 | }
15 | .icon-envelope {
16 | background-position: -72px 0;
17 | }
18 | .icon-glass {
19 | background-position: 0 0;
20 | }
21 | .icon-music {
22 | background-position: -24px 0;
23 | }
24 | .icon-search {
25 | background-position: -48px 0;
26 | }
27 | .icon-envelope {
28 | background-position: -72px 0;
29 | }
30 | .icon-heart {
31 | background-position: -96px 0;
32 | }
33 | .icon-star {
34 | background-position: -120px 0;
35 | }
36 | .icon-star-empty {
37 | background-position: -144px 0;
38 | }
39 | .icon-user {
40 | background-position: -168px 0;
41 | }
42 | .icon-film {
43 | background-position: -192px 0;
44 | }
45 | .icon-th-large {
46 | background-position: -216px 0;
47 | }
48 | .icon-th {
49 | background-position: -240px 0;
50 | }
51 | .icon-th-list {
52 | background-position: -264px 0;
53 | }
54 | .icon-ok {
55 | background-position: -288px 0;
56 | }
57 | .icon-remove {
58 | background-position: -312px 0;
59 | }
60 | .icon-zoom-in {
61 | background-position: -336px 0;
62 | }
63 | .icon-zoom-out {
64 | background-position: -360px 0;
65 | }
66 | .icon-off {
67 | background-position: -384px 0;
68 | }
69 | .icon-signal {
70 | background-position: -408px 0;
71 | }
72 | .icon-cog {
73 | background-position: -432px 0;
74 | }
75 | .icon-trash {
76 | background-position: -456px 0;
77 | }
78 | .icon-home {
79 | background-position: 0 -24px;
80 | }
81 | .icon-file {
82 | background-position: -24px -24px;
83 | }
84 | .icon-time {
85 | background-position: -48px -24px;
86 | }
87 | .icon-road {
88 | background-position: -72px -24px;
89 | }
90 | .icon-download-alt {
91 | background-position: -96px -24px;
92 | }
93 | .icon-download {
94 | background-position: -120px -24px;
95 | }
96 | .icon-upload {
97 | background-position: -144px -24px;
98 | }
99 | .icon-inbox {
100 | background-position: -168px -24px;
101 | }
102 | .icon-play-circle {
103 | background-position: -192px -24px;
104 | }
105 | .icon-repeat {
106 | background-position: -216px -24px;
107 | }
108 | .icon-refresh {
109 | background-position: -240px -24px;
110 | }
111 | .icon-list-alt {
112 | background-position: -264px -24px;
113 | }
114 | .icon-lock {
115 | background-position: -287px -24px;
116 | }
117 | .icon-flag {
118 | background-position: -312px -24px;
119 | }
120 | .icon-headphones {
121 | background-position: -336px -24px;
122 | }
123 | .icon-volume-off {
124 | background-position: -360px -24px;
125 | }
126 | .icon-volume-down {
127 | background-position: -384px -24px;
128 | }
129 | .icon-volume-up {
130 | background-position: -408px -24px;
131 | }
132 | .icon-qrcode {
133 | background-position: -432px -24px;
134 | }
135 | .icon-barcode {
136 | background-position: -456px -24px;
137 | }
138 | .icon-tag {
139 | background-position: 0 -48px;
140 | }
141 | .icon-tags {
142 | background-position: -25px -48px;
143 | }
144 | .icon-book {
145 | background-position: -48px -48px;
146 | }
147 | .icon-bookmark {
148 | background-position: -72px -48px;
149 | }
150 | .icon-print {
151 | background-position: -96px -48px;
152 | }
153 | .icon-camera {
154 | background-position: -120px -48px;
155 | }
156 | .icon-font {
157 | background-position: -144px -48px;
158 | }
159 | .icon-normal {
160 | background-position: -167px -48px;
161 | }
162 | .icon-italic {
163 | background-position: -192px -48px;
164 | }
165 | .icon-text-height {
166 | background-position: -216px -48px;
167 | }
168 | .icon-text-width {
169 | background-position: -240px -48px;
170 | }
171 | .icon-align-left {
172 | background-position: -264px -48px;
173 | }
174 | .icon-align-center {
175 | background-position: -288px -48px;
176 | }
177 | .icon-align-right {
178 | background-position: -312px -48px;
179 | }
180 | .icon-align-justify {
181 | background-position: -336px -48px;
182 | }
183 | .icon-list {
184 | background-position: -360px -48px;
185 | }
186 | .icon-indent-left {
187 | background-position: -384px -48px;
188 | }
189 | .icon-indent-right {
190 | background-position: -408px -48px;
191 | }
192 | .icon-facetime-video {
193 | background-position: -432px -48px;
194 | }
195 | .icon-picture {
196 | background-position: -456px -48px;
197 | }
198 | .icon-pencil {
199 | background-position: 0 -72px;
200 | }
201 | .icon-map-marker {
202 | background-position: -24px -72px;
203 | }
204 | .icon-adjust {
205 | background-position: -48px -72px;
206 | }
207 | .icon-tint {
208 | background-position: -72px -72px;
209 | }
210 | .icon-edit {
211 | background-position: -96px -72px;
212 | }
213 | .icon-share {
214 | background-position: -120px -72px;
215 | }
216 | .icon-check {
217 | background-position: -144px -72px;
218 | }
219 | .icon-move {
220 | background-position: -168px -72px;
221 | }
222 | .icon-step-backward {
223 | background-position: -192px -72px;
224 | }
225 | .icon-fast-backward {
226 | background-position: -216px -72px;
227 | }
228 | .icon-backward {
229 | background-position: -240px -72px;
230 | }
231 | .icon-play {
232 | background-position: -264px -72px;
233 | }
234 | .icon-pause {
235 | background-position: -288px -72px;
236 | }
237 | .icon-stop {
238 | background-position: -312px -72px;
239 | }
240 | .icon-forward {
241 | background-position: -336px -72px;
242 | }
243 | .icon-fast-forward {
244 | background-position: -360px -72px;
245 | }
246 | .icon-step-forward {
247 | background-position: -384px -72px;
248 | }
249 | .icon-eject {
250 | background-position: -408px -72px;
251 | }
252 | .icon-chevron-left {
253 | background-position: -432px -72px;
254 | }
255 | .icon-chevron-right {
256 | background-position: -456px -72px;
257 | }
258 | .icon-plus-sign {
259 | background-position: 0 -96px;
260 | }
261 | .icon-minus-sign {
262 | background-position: -24px -96px;
263 | }
264 | .icon-remove-sign {
265 | background-position: -48px -96px;
266 | }
267 | .icon-ok-sign {
268 | background-position: -72px -96px;
269 | }
270 | .icon-question-sign {
271 | background-position: -96px -96px;
272 | }
273 | .icon-info-sign {
274 | background-position: -120px -96px;
275 | }
276 | .icon-screenshot {
277 | background-position: -144px -96px;
278 | }
279 | .icon-remove-circle {
280 | background-position: -168px -96px;
281 | }
282 | .icon-ok-circle {
283 | background-position: -192px -96px;
284 | }
285 | .icon-ban-circle {
286 | background-position: -216px -96px;
287 | }
288 | .icon-arrow-left {
289 | background-position: -240px -96px;
290 | }
291 | .icon-arrow-right {
292 | background-position: -264px -96px;
293 | }
294 | .icon-arrow-up {
295 | background-position: -289px -96px;
296 | }
297 | .icon-arrow-down {
298 | background-position: -312px -96px;
299 | }
300 | .icon-share-alt {
301 | background-position: -336px -96px;
302 | }
303 | .icon-resize-full {
304 | background-position: -360px -96px;
305 | }
306 | .icon-resize-small {
307 | background-position: -384px -96px;
308 | }
309 | .icon-plus {
310 | background-position: -408px -96px;
311 | }
312 | .icon-minus {
313 | background-position: -433px -96px;
314 | }
315 | .icon-asterisk {
316 | background-position: -456px -96px;
317 | }
318 | .icon-exclamation-sign {
319 | background-position: 0 -120px;
320 | }
321 | .icon-gift {
322 | background-position: -24px -120px;
323 | }
324 | .icon-leaf {
325 | background-position: -48px -120px;
326 | }
327 | .icon-fire {
328 | background-position: -72px -120px;
329 | }
330 | .icon-eye-open {
331 | background-position: -96px -120px;
332 | }
333 | .icon-eye-close {
334 | background-position: -120px -120px;
335 | }
336 | .icon-warning-sign {
337 | background-position: -144px -120px;
338 | }
339 | .icon-plane {
340 | background-position: -168px -120px;
341 | }
342 | .icon-calendar {
343 | background-position: -192px -120px;
344 | }
345 | .icon-random {
346 | background-position: -216px -120px;
347 | width: 16px;
348 | }
349 | .icon-comment {
350 | background-position: -240px -120px;
351 | }
352 | .icon-magnet {
353 | background-position: -264px -120px;
354 | }
355 | .icon-chevron-up {
356 | background-position: -288px -120px;
357 | }
358 | .icon-chevron-down {
359 | background-position: -313px -119px;
360 | }
361 | .icon-retweet {
362 | background-position: -336px -120px;
363 | }
364 | .icon-shopping-cart {
365 | background-position: -360px -120px;
366 | }
367 | .icon-folder-close {
368 | background-position: -384px -120px;
369 | width: 16px;
370 | }
371 | .icon-folder-open {
372 | background-position: -408px -120px;
373 | width: 16px;
374 | }
375 | .icon-resize-vertical {
376 | background-position: -432px -119px;
377 | }
378 | .icon-resize-horizontal {
379 | background-position: -456px -118px;
380 | }
381 | .icon-hdd {
382 | background-position: 0 -144px;
383 | }
384 | .icon-bullhorn {
385 | background-position: -24px -144px;
386 | }
387 | .icon-bell {
388 | background-position: -48px -144px;
389 | }
390 | .icon-certificate {
391 | background-position: -72px -144px;
392 | }
393 | .icon-thumbs-up {
394 | background-position: -96px -144px;
395 | }
396 | .icon-thumbs-down {
397 | background-position: -120px -144px;
398 | }
399 | .icon-hand-right {
400 | background-position: -144px -144px;
401 | }
402 | .icon-hand-left {
403 | background-position: -168px -144px;
404 | }
405 | .icon-hand-up {
406 | background-position: -192px -144px;
407 | }
408 | .icon-hand-down {
409 | background-position: -216px -144px;
410 | }
411 | .icon-circle-arrow-right {
412 | background-position: -240px -144px;
413 | }
414 | .icon-circle-arrow-left {
415 | background-position: -264px -144px;
416 | }
417 | .icon-circle-arrow-up {
418 | background-position: -288px -144px;
419 | }
420 | .icon-circle-arrow-down {
421 | background-position: -312px -144px;
422 | }
423 | .icon-globe {
424 | background-position: -336px -144px;
425 | }
426 | .icon-wrench {
427 | background-position: -360px -144px;
428 | }
429 | .icon-tasks {
430 | background-position: -384px -144px;
431 | }
432 | .icon-filter {
433 | background-position: -408px -144px;
434 | }
435 | .icon-briefcase {
436 | background-position: -432px -144px;
437 | }
438 | .icon-fullscreen {
439 | background-position: -456px -144px;
440 | }
--------------------------------------------------------------------------------
/css/index.html:
--------------------------------------------------------------------------------
1 |
2 |
--------------------------------------------------------------------------------
/css/template.css:
--------------------------------------------------------------------------------
1 | @charset "utf-8";
2 | /* CSS Document */
3 | /* CSS STYLE */
4 | html {overflow-y: scroll }
5 | body {
6 | background-color: #FFFFFF;
7 | font-family: Arial, Helvetica, sans-serif;
8 | font-size: 13px;
9 | }
10 | img {max-width: 100% }
11 | #top {
12 | /* background: none repeat scroll 0 0 #444444;*/
13 | color: #ddd;
14 | font-size: 12px;
15 | /*margin-bottom: 16px;*/
16 | padding-bottom: 4px;
17 | padding-top: 4px;
18 | }
19 | #top .container .separator {
20 | border-left: 1px solid #CCCCCC;
21 | display: inline-block;
22 | height: 10px;
23 | margin: 0 20px;
24 | width: 1px;
25 | }
26 | #navigation {
27 | /* border-bottom: 3px solid #ccc;;
28 | margin-bottom: 20px;*/
29 | height:100px;
30 | }
31 | .navbar {border-radius: 0!important }
32 | .navbar-default {
33 | /* background-color: #2c3e50;
34 | border-color: transparent;*/
35 | }
36 | .navbar-default .navbar-nav > .active > a,
37 | .navbar-default .navbar-nav > .active > a:hover,
38 | .navbar-default .navbar-nav > .active > a:focus {outline: medium none }
39 | .navbar-default .navbar-nav > li > a:hover,
40 | .navbar-default .navbar-nav > li > a:focus {outline: medium none }
41 |
42 | .dropdown-menu {
43 | padding: 0px!important;
44 | border-radius: 0!important;
45 | }
46 | #main-box {
47 | border: 0px solid #E5E5E5; /* border 1, if you have front component*/
48 | margin-bottom: 20px;
49 | }
50 | #breadcrumbs .moduletable {
51 | border: 0;
52 | padding: 0;
53 | }
54 | #fullwidth {
55 | margin-top: -20px;
56 | overflow: hidden;
57 | }
58 | #fullwidth .moduletable {
59 | border: 0;
60 | padding: 0;
61 | }
62 | .black .moduletable {
63 | background: none repeat scroll 0 0 #222222;
64 | border-color: #222222;
65 | color: #AAAAAA;
66 | }
67 | .moduletable {
68 | /* background: none repeat scroll 0 0 #FFFFFF;;
69 | border: 1px solid #E5E5E5;*/
70 | margin-bottom: 20px;
71 | padding: 10px;
72 | }
73 | .panel.moduletable { padding: 0 }
74 | .panel .moduletable {
75 | box-shadow: none;
76 | margin: 0px 10px;
77 | padding: 10px;
78 | }
79 | #brand {
80 | float: left;
81 | padding-left: 15px;
82 | padding-top: 5px;
83 | }
84 | .splash {
85 | background-attachment: fixed;
86 | background-color: #141d27;
87 | background-image: url("../images/bg.jpg");
88 | background-size: cover;
89 | color: #fff;
90 | padding: 10em 0 6em;
91 | text-align: center;
92 | margin-bottom: 20px;
93 | }
94 | .page-header {margin: 10px 0 20px }
95 | .hasTooltip {display: inline !important }
96 | .noMainbody {display: none !important }
97 | ul.unstyled,
98 | ol.unstyled {
99 | list-style: outside none none;
100 | margin-left: 0;
101 | padding: 0;
102 | }
103 | .radio input[type="radio"],
104 | .radio-inline input[type="radio"],
105 | .checkbox input[type="checkbox"],
106 | .checkbox-inline input[type="checkbox"] {
107 | /* float: left;
108 | position: relative !important;*/
109 | margin-left: 0 !important;
110 | }
111 | .checkbox label, .radio label {
112 | padding-left: 20px;
113 | padding-right: 10px;
114 | }
115 | label {
116 | display: block;
117 | margin-bottom: 5px;
118 | }
119 | label,
120 | input,
121 | button,
122 | select,
123 | textarea {
124 | font-size: 13px;
125 | font-weight: normal;
126 | line-height: 18px;
127 | font-family: arial;
128 | }
129 | label,
130 | select,
131 | button,
132 | input[type="button"],
133 | input[type="reset"],
134 | input[type="submit"],
135 | input[type="radio"],
136 | input[type="checkbox"] {cursor: pointer }
137 | .control-group input, .control-group textarea, .control-group .uneditable-input{/*width: 100% !important */}
138 | .contact-form .control-group input, .contact-form .control-group textarea, .contact-form .control-group .uneditable-input {
139 | width: 100%;
140 | }
141 | .email-copy-input {float: left }
142 | #pop-print {
143 | float: right;
144 | margin: 10px;
145 | }
146 | div#jform_catid_chzn.chzn-container, div#jform_catid_chzn.chzn-container div.chzn-drop, div#jform_state_chzn.chzn-container, div#jform_state_chzn.chzn-container div.chzn-drop, div#jform_featured_chzn.chzn-container, div#jform_featured_chzn.chzn-container div.chzn- drop, div#jform_access_chzn.chzn-container, div#jform_access_chzn.chzn-container div.chzn-drop, div#jform_metadata_tags_chzn.chzn-container, div#jform_metadata_tags_chzn.chzn-container div.chzn-drop, div#jform_language_chzn.chzn- container, div#jform_language_chzn.chzn-container div.chzn-drop, div#jform_language_chzn.chzn-container, div#jform_tags_chzn.chzn-container {
147 | width: 260px !important;
148 | }
149 | .control-group .control-label {
150 | padding-top: 7px;
151 | padding-bottom: 7px;
152 | }
153 | .chzn-container-single .chzn-single {
154 | width: 140px;
155 | }
156 | .chzn-container .chzn-drop{
157 | width: 100px;
158 | }
159 | .btn.modal {
160 | bottom: auto;
161 | display: inline;
162 | left: auto;
163 | position: relative;
164 | top: auto;
165 | }
166 | html,
167 | body {
168 | height: 100%;
169 | /* The html and body elements cannot have any padding or margin. */
170 | }
171 | /* Wrapper for page content to push down footer */
172 | #wrap {
173 | height: auto !important;
174 | margin: 0 auto -60px;
175 | min-height: 100%;
176 | padding: 0 0 60px;
177 | }
178 | /* Set the fixed height of the footer here */
179 | #footer {
180 | /* height: 80px;;
181 | background-color: #f5f5f5;*/
182 | }
183 | #copy.well {
184 | border-radius: 0;
185 | border: 0;
186 | margin: 0;
187 | }
188 | #copy .moduletable {
189 | background: transparent;
190 | border: 0;
191 | margin-bottom: 0;
192 | }
193 | #push { height: 60px }
194 | /* LAYOUT */
195 | /* Floats */
196 | .float-left {float: left }
197 | .float-right {float: right }
198 | .group:before,
199 | .group:after {
200 | content: "";
201 | display: table;
202 | }
203 | .group:after {clear: both }
204 | .ie7 .group {zoom: 1 }
205 | /* JOOMLA */
206 | .form-horizontal .control-label {text-align: inherit!important;}
207 | i.icon-calendar:before {
208 | content: "\1f4c5";
209 | display: inline-block;
210 | font-family: 'Glyphicons Halflings';
211 | font-style: normal;
212 | font-weight: normal;
213 | line-height: 1;
214 | position: relative;
215 | top: 1px;
216 | }
217 | div.contact-form-field label,
218 | div.message-label label {
219 | display: inline !important;
220 | }
221 | div#jform_tags_chzn.chzn-container ul.chzn-choices li.search-field input.default {
222 | padding: 0;
223 | }
224 | .control-group input[type="checkbox"] {
225 | width: 10px!important;
226 | }
227 | .btn-toolbar {
228 | margin-bottom: 10px;
229 | }
230 | .cols-1 {
231 | display: block;
232 | float: none !important;
233 | margin: 0 !important;
234 | }
235 | .cols-2 .column-1 {
236 | float: left;
237 | width: 46%;
238 | }
239 | .cols-2 .column-2 {
240 | float: right;
241 | margin: 0;
242 | width: 46%;
243 | }
244 | .cols-3 .column-1 {
245 | float: left;
246 | margin-right: 4%;
247 | padding: 0 5px;
248 | width: 29%;
249 | }
250 | .cols-3 .column-2 {
251 | float: left;
252 | margin-left: 0;
253 | padding: 0 5px;
254 | width: 29%;
255 | }
256 | .cols-3 .column-3 {
257 | float: right;
258 | padding: 0 5px;
259 | width: 29%;
260 | }
261 | .items-row {
262 | margin-bottom: 10px !important;
263 | overflow: hidden;
264 | }
265 | .column-1,
266 | .column-2,
267 | .column-3 {padding: 10px 5px }
268 | .column-2 {
269 | margin-left: 40%;
270 | width: 55%;
271 | }
272 | .column-3 {width: 30% }
273 | .blog-more {padding: 10px 5px }
274 | /*TO TOP*/
275 | .back-to-top {
276 | position: fixed;
277 | bottom: 2em;
278 | right: 0px;
279 | text-decoration: none;
280 | color: #000000;
281 | background-color: rgba(235, 235, 235, 0.80);
282 | font-size: 12px;
283 | padding: 1em;
284 | display: none;
285 | }
286 | .back-to-top:hover {background-color: rgba(135, 135, 135, 0.50) }
287 | /* Media Queries */
288 | /* Retina */
289 | @media screen and (-webkit-min-device-pixel-ratio: 2), screen and (max--moz-device-pixel-ratio: 2) {
290 | }
291 | /* Landscape phones and down */
292 | @media (max-width: 480px) {
293 | }
294 | /* Landscape phone to portrait tablet */
295 | @media (max-width: 767px) {
296 | }
297 | /* Portrait tablet to landscape and desktop */
298 | @media (min-width: 768px) and (max-width: 979px) {
299 | }
300 | /* Large desktop */
301 | @media (min-width: 1200px) {
302 | }
303 | /* Fix disappearing tabs on editor page - Added by Waseem Sadiq 8th March 2015*/
304 | .icons .btn-group,
305 | .icons .btn-group a[data-toggle="tab"][aria-expanded="false"],
306 | ul.nav-tabs > li > a[data-toggle="tab"][aria-expanded="false"]
307 | {
308 | display:block!important;
309 | }
--------------------------------------------------------------------------------
/error.php:
--------------------------------------------------------------------------------
1 | baseurl.'/templates/'.$this->template;
11 | ?>
12 |
13 |
14 |
15 |
16 |
17 | error->getCode().' - '.$this->title; ?>
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 | error->getCode().' - '.$this->error->getMessage();
32 |
33 | if (($this->error->getCode()) == '404') {
34 | echo '
';
35 | echo JText::_('JERROR_LAYOUT_REQUESTED_RESOURCE_WAS_NOT_FOUND');
36 | }
37 | ?>
38 |
:
39 | .
40 | module = 'mod_search';
44 | echo JModuleHelper::renderModule($module);
45 | ?>
46 |
47 |
48 |
49 |
--------------------------------------------------------------------------------
/favicon.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gsuez/MasterBootswatch/c2a4c05cab30c0c96aa57d7f4741eb4b43483b7c/favicon.ico
--------------------------------------------------------------------------------
/fonts/FontAwesome.otf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gsuez/MasterBootswatch/c2a4c05cab30c0c96aa57d7f4741eb4b43483b7c/fonts/FontAwesome.otf
--------------------------------------------------------------------------------
/fonts/fontawesome-webfont.eot:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gsuez/MasterBootswatch/c2a4c05cab30c0c96aa57d7f4741eb4b43483b7c/fonts/fontawesome-webfont.eot
--------------------------------------------------------------------------------
/fonts/fontawesome-webfont.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gsuez/MasterBootswatch/c2a4c05cab30c0c96aa57d7f4741eb4b43483b7c/fonts/fontawesome-webfont.ttf
--------------------------------------------------------------------------------
/fonts/fontawesome-webfont.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gsuez/MasterBootswatch/c2a4c05cab30c0c96aa57d7f4741eb4b43483b7c/fonts/fontawesome-webfont.woff
--------------------------------------------------------------------------------
/fonts/glyphicons-halflings-regular.eot:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gsuez/MasterBootswatch/c2a4c05cab30c0c96aa57d7f4741eb4b43483b7c/fonts/glyphicons-halflings-regular.eot
--------------------------------------------------------------------------------
/fonts/glyphicons-halflings-regular.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gsuez/MasterBootswatch/c2a4c05cab30c0c96aa57d7f4741eb4b43483b7c/fonts/glyphicons-halflings-regular.ttf
--------------------------------------------------------------------------------
/fonts/glyphicons-halflings-regular.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gsuez/MasterBootswatch/c2a4c05cab30c0c96aa57d7f4741eb4b43483b7c/fonts/glyphicons-halflings-regular.woff
--------------------------------------------------------------------------------
/html/index.html:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/html/mod_breadcrumbs/default.php:
--------------------------------------------------------------------------------
1 |
8 |
9 | get('showHere', 1)){
12 | echo '
' .JText::_('MOD_BREADCRUMBS_HERE').' ';
13 | }
14 |
15 | // Get rid of duplicated entries on trail including home page when using multilanguage
16 | for ($i = 0; $i < $count; $i++){
17 |
18 | if ($i == 1 && !empty($list[$i]->link) && !empty($list[$i - 1]->link) && $list[$i]->link == $list[$i - 1]->link){
19 | unset($list[$i]);
20 | }
21 |
22 | }
23 |
24 | // Find last and penultimate items in breadcrumbs list
25 | end($list);
26 | $last_item_key = key($list);
27 | prev($list);
28 | $penult_item_key = key($list);
29 | // Generate the trail
30 | foreach ($list as $key => $item) :
31 | // Make a link if not the last item in the breadcrumbs
32 | $show_last = $params->get('showLast', 1);
33 |
34 | if ($key != $last_item_key){
35 | // Render all but last item - along with separator
36 |
37 | if (!empty($item->link)){
38 | echo '
' . $item->name . ' ';
39 | } else {
40 | echo '
' . $item->name . ' ';
41 | }
42 |
43 |
44 | if (($key != $penult_item_key) || $show_last){
45 | echo ' '.$separator.' ';
46 | }
47 |
48 | }
49 |
50 | elseif ($show_last){
51 | // Render last item if reqd.
52 | echo '
' . $item->name . ' ';
53 | }
54 |
55 | endforeach;
56 | ?>
57 |
--------------------------------------------------------------------------------
/html/mod_breadcrumbs/index.html:
--------------------------------------------------------------------------------
1 |
2 |
--------------------------------------------------------------------------------
/html/mod_login/default.php:
--------------------------------------------------------------------------------
1 |
12 |
--------------------------------------------------------------------------------
/html/mod_login/default_logout.php:
--------------------------------------------------------------------------------
1 |
8 |
--------------------------------------------------------------------------------
/html/modules.php:
--------------------------------------------------------------------------------
1 |
16 | *
17 | * This gives template designers ultimate control over how modules are rendered.
18 | *
19 | * NOTICE: All chrome wrapping methods should be named: modChrome_{STYLE} and take the same
20 | * two arguments.
21 | *//*
22 | * Module chrome for rendering the module in a submenu
23 | */ function modChrome_block($module, &$params, &$attribs){
24 | if (!empty ($module->content)) :
25 | ?>
26 |
27 |
28 | showtitle != 0) : ?>
29 |
30 |
title; ?>
31 |
32 |
33 |
34 | content; ?>
35 |
36 |
37 |
38 | content)) :
43 | ?>
44 |
45 |
46 | showtitle != 0) : ?>
47 |
48 |
title; ?>
49 |
50 |
51 |
52 | content; ?>
53 |
54 |
55 |
56 |
--------------------------------------------------------------------------------
/html/pagination.php:
--------------------------------------------------------------------------------
1 | base : integer
44 | * $item->link : string
45 | * $item->text : string
46 | *
47 | * pagination_item_inactive
48 | * Input variable $item is an object with fields:
49 | * $item->base : integer
50 | * $item->link : string
51 | * $item->text : string
52 | *
53 | * This gives template designers ultimate control over how pagination is rendered.
54 | *
55 | * NOTE: If you override pagination_item_active OR pagination_item_inactive you MUST override them both
56 | *//**
57 | * Renders the pagination footer
58 | *
59 | * @param array $list Array containing pagination footer
60 | *
61 | * @return string HTML markup for the full pagination footer
62 | *
63 | * @since 3.0
64 | */
65 | function pagination_list_footer($list){
66 | $html = "";
70 | return $html;
71 | }
72 |
73 | /**
74 | * Renders the pagination list
75 | *
76 | * @param array $list Array containing pagination information
77 | *
78 | * @return string HTML markup for the full pagination object
79 | *
80 | * @since 3.0
81 | */
82 | function pagination_list_render($list){
83 | // Calculate to display range of pages
84 | $currentPage = 1;
85 | $range = 1;
86 | $step = 5;
87 | foreach ($list['pages'] as $k => $page){
88 |
89 | if (!$page['active']){
90 | $currentPage = $k;
91 | }
92 |
93 | }
94 |
95 |
96 | if ($currentPage >= $step){
97 |
98 | if ($currentPage % $step == 0){
99 | $range = ceil($currentPage / $step) + 1;
100 | } else {
101 | $range = ceil($currentPage / $step);
102 | }
103 |
104 | }
105 |
106 | $html = '';
125 | return $html;
126 | }
127 |
128 | /**
129 | * Renders an active item in the pagination block
130 | *
131 | * @param JPaginationObject $item The current pagination object
132 | *
133 | * @return string HTML markup for active item
134 | *
135 | * @since 3.0
136 | */
137 | function pagination_item_active(&$item){
138 | // Check for "Start" item
139 |
140 | if ($item->text == JText::_('JLIB_HTML_START')){
141 | $display = ' ';
142 | }
143 |
144 | // Check for "Prev" item
145 |
146 | if ($item->text == JText::_('JPREV')){
147 | $display = ' ';
148 | }
149 |
150 | // Check for "Next" item
151 |
152 | if ($item->text == JText::_('JNEXT')){
153 | $display = ' ';
154 | }
155 |
156 | // Check for "End" item
157 |
158 | if ($item->text == JText::_('JLIB_HTML_END')){
159 | $display = ' ';
160 | }
161 |
162 | // If the display object isn't set already, just render the item with its text
163 |
164 | if (!isset($display)){
165 | $display = $item->text;
166 | }
167 |
168 | return "text . "\" href=\"" . $item->link . "\" class=\"pagenav\">" . $item->text . " ";
169 | }
170 |
171 | /**
172 | * Renders an inactive item in the pagination block
173 | *
174 | * @param JPaginationObject $item The current pagination object
175 | *
176 | * @return string HTML markup for inactive item
177 | *
178 | * @since 3.0
179 | */
180 | function pagination_item_inactive(&$item){
181 | // Check for "Start" item
182 |
183 | if ($item->text == JText::_('JLIB_HTML_START')){
184 | return ' '.JText::_('JLIB_HTML_START').' ';
185 | }
186 |
187 | // Check for "Prev" item
188 |
189 | if ($item->text == JText::_('JPREV')){
190 | return ''.JText::_('JPREV').' ';
191 | }
192 |
193 | // Check for "Next" item
194 |
195 | if ($item->text == JText::_('JNEXT')){
196 | return ''.JText::_('JNEXT').' ';
197 | }
198 |
199 | // Check for "End" item
200 |
201 | if ($item->text == JText::_('JLIB_HTML_END')){
202 | return ''.JText::_('JLIB_HTML_END').' ';
203 | }
204 |
205 | // Check if the item is the active page
206 |
207 | if (isset($item->active) && ($item->active)){
208 | return '' . $item->text . ' ';
209 | }
210 |
211 | // Doesn't match any other condition, render a normal item
212 | return '' . $item->text . ' ';
213 | }
--------------------------------------------------------------------------------
/images/Thumbs.db:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gsuez/MasterBootswatch/c2a4c05cab30c0c96aa57d7f4741eb4b43483b7c/images/Thumbs.db
--------------------------------------------------------------------------------
/images/bg.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gsuez/MasterBootswatch/c2a4c05cab30c0c96aa57d7f4741eb4b43483b7c/images/bg.jpg
--------------------------------------------------------------------------------
/images/glyphicons-halflings-white.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gsuez/MasterBootswatch/c2a4c05cab30c0c96aa57d7f4741eb4b43483b7c/images/glyphicons-halflings-white.png
--------------------------------------------------------------------------------
/images/glyphicons-halflings.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gsuez/MasterBootswatch/c2a4c05cab30c0c96aa57d7f4741eb4b43483b7c/images/glyphicons-halflings.png
--------------------------------------------------------------------------------
/images/index.html:
--------------------------------------------------------------------------------
1 |
2 |
--------------------------------------------------------------------------------
/includes/head.php:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gsuez/MasterBootswatch/c2a4c05cab30c0c96aa57d7f4741eb4b43483b7c/includes/head.php
--------------------------------------------------------------------------------
/includes/index.html:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/includes/params.php:
--------------------------------------------------------------------------------
1 | getTemplate(true)->params;
11 | $app = JFactory::getApplication();
12 | $doc = JFactory::getDocument();
13 | // Column widths
14 | $leftcolgrid = ($this->countModules('left') == 0) ? 0 :
15 | $this->params->get('leftColumnWidth', 3);
16 | $rightcolgrid = ($this->countModules('right') == 0) ? 0 :
17 | $this->params->get('rightColumnWidth', 3);
18 | // Add javascript files
19 | // Include all compiled plugins (below), or include individual files as needed
20 | $doc->addScript('templates/' . $this->template . '/js/holder.js');
21 | //$doc->addScript('templates/' . $this->template . '/js/dropdown.js');
22 | //$doc->addScript('templates/' . $this->template . '/js/bootswatch.js');
23 | //$doc->addScript('templates/' . $this->template . '/js/tooltip.js');
24 | //$doc->addScript('templates/' . $this->template . '/js/popover.js');
25 | //$doc->addScript('templates/' . $this->template . '/js/modal.js');
26 | // Add Stylesheets
27 | $doc->addStyleSheet('templates/' . $this->template . '/css/icons.css');
28 | // Disable mootools
29 | //unset($doc->_scripts[JURI::root(true) . '/media/system/js/mootools-more.js']);
30 | //unset($doc->_scripts[JURI::root(true) . '/media/system/js/mootools-core.js']);
31 | //unset($doc->_scripts[JURI::root(true) . '/media/system/js/modal.js']);
32 | //unset($doc->_scripts[JURI::root(true) . '/media/system/js/caption.js']);
33 | // Add bootswatch styles
34 | $style = $this->params->get('style');
35 | if (!empty($style)){
36 | $doc->addStyleSheet('templates/' . $this->template . '/css/' . $style . '/bootstrap.min.css');
37 | } else {
38 | $doc->addStyleSheet('templates/' . $this->template . '/css/bootstrap.min.css');
39 | }
40 | $doc->addStyleSheet('templates/' . $this->template . '/css/template.css');
41 | // Variables
42 | $headdata = $doc->getHeadData();
43 | $menu = $app->getMenu();
44 | $active = $app->getMenu()->getActive();
45 | $pageclass = $params->get('pageclass_sfx');
46 | $tpath = $this->baseurl . '/templates/' . $this->template;
47 | // Parameter
48 | $frontpageshow = $this->params->get('frontpageshow', 0);
49 | $modernizr = $this->params->get('modernizr');
50 | $fontawesome = $this->params->get('fontawesome');
51 | $pie = $this->params->get('pie');
52 | // Generator tag
53 | $this->setGenerator(null);
54 | // Force latest IE & chrome frame
55 | $doc->setMetadata('x-ua-compatible', 'IE=edge,chrome=1');
56 | // Add javascripts
57 | if ($modernizr == 1){
58 | $doc->addScript($tpath . '/js/modernizr-2.8.3.js');
59 | }
60 | // Add stylesheets
61 | if ($fontawesome == 1){
62 | $doc->addStyleSheet($tpath . '/css/font-awesome.min.css');
63 | }
64 |
--------------------------------------------------------------------------------
/index.php:
--------------------------------------------------------------------------------
1 |
11 |
12 |
13 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 | countModules('top')) : ?>
24 |
31 |
32 |
33 |
34 |
47 |
48 | countModules('navigation')) : ?>
49 |
50 |
51 |
52 |
53 |
54 |
55 |
56 |
57 |
58 |
59 | countModules('fullwidth')) : ?>
60 |
65 |
66 |
67 |
68 | countModules('showcase')) : ?>
69 |
76 |
77 |
78 |
79 | countModules('feature')) : ?>
80 |
87 |
88 |
89 |
90 |
91 | countModules('breadcrumbs')) : ?>
92 |
97 |
98 |
99 |
100 | countModules('left')) : ?>
101 |
104 |
105 |
106 |
107 |
108 | countModules('content-top')) : ?>
109 |
114 |
115 |
116 | getMenu();
119 |
120 | if ($frontpageshow){
121 | // show on all pages
122 | ?>
123 |
124 |
125 |
126 | getActive() !== $menu->getDefault()) {
130 | // show on all pages but the default page
131 | ?>
132 |
133 |
134 |
135 |
137 |
138 |
139 | countModules('content-bottom')) : ?>
140 |
145 |
146 |
147 |
148 | countModules('right')) : ?>
149 |
152 |
153 |
154 |
155 |
156 |
157 | countModules('bottom')) : ?>
158 |
165 |
166 |
167 |
168 |
169 |
170 | countModules('footer')) : ?>
171 |
178 |
179 |
180 |
181 |
182 |
183 | countModules('copy')) : ?>
184 |
191 |
192 |
193 | Back to Top
194 |
195 |
196 |
197 |
198 |
199 |
200 |
--------------------------------------------------------------------------------
/js/bootswatch.js:
--------------------------------------------------------------------------------
1 | (function(){
2 | $(window).scroll(function () {
3 | var top = $(document).scrollTop();
4 | $('.splash').css({
5 | 'background-position': '0px -'+(top/3).toFixed(2)+'px'
6 | });
7 | if(top > 50)
8 | $('#home > .navbar').removeClass('navbar-transparent');
9 | else
10 | $('#home > .navbar').addClass('navbar-transparent');
11 | });
12 |
13 | var $button = $("< >
").click(function(){
14 | var html = $(this).parent().html();
15 | html = cleanSource(html);
16 | $("#source-modal pre").text(html);
17 | $("#source-modal").modal();
18 | });
19 |
20 | $('.bs-component [data-toggle="popover"]').popover();
21 | $('.bs-component [data-toggle="tooltip"]').tooltip();
22 |
23 | $(".bs-component").hover(function(){
24 | $(this).append($button);
25 | $button.show();
26 | }, function(){
27 | $button.hide();
28 | });
29 |
30 | function cleanSource(html) {
31 | var lines = html.split(/\n/);
32 |
33 | lines.shift();
34 | lines.splice(-1, 1);
35 |
36 | var indentSize = lines[0].length - lines[0].trim().length,
37 | re = new RegExp(" {" + indentSize + "}");
38 |
39 | lines = lines.map(function(line){
40 | if (line.match(re)) {
41 | line = line.substring(indentSize);
42 | }
43 |
44 | return line;
45 | });
46 |
47 | lines = lines.join("\n");
48 |
49 | return lines;
50 | }
51 |
52 | })();
53 |
--------------------------------------------------------------------------------
/js/dropdown.js:
--------------------------------------------------------------------------------
1 | /* ========================================================================
2 | * Bootstrap: dropdown.js v3.0.0
3 | * http://twbs.github.com/bootstrap/javascript.html#dropdowns
4 | * ========================================================================
5 | * Copyright 2012 Twitter, Inc.
6 | *
7 | * Licensed under the Apache License, Version 2.0 (the "License");
8 | * you may not use this file except in compliance with the License.
9 | * You may obtain a copy of the License at
10 | *
11 | * http://www.apache.org/licenses/LICENSE-2.0
12 | *
13 | * Unless required by applicable law or agreed to in writing, software
14 | * distributed under the License is distributed on an "AS IS" BASIS,
15 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 | * See the License for the specific language governing permissions and
17 | * limitations under the License.
18 | * ======================================================================== */
19 |
20 |
21 | +function ($) { "use strict";
22 |
23 | // DROPDOWN CLASS DEFINITION
24 | // =========================
25 |
26 | var backdrop = '.dropdown-backdrop'
27 | var toggle = '[data-toggle=dropdown]'
28 | var Dropdown = function (element) {
29 | var $el = $(element).on('click.bs.dropdown', this.toggle)
30 | }
31 |
32 | Dropdown.prototype.toggle = function (e) {
33 | var $this = $(this)
34 |
35 | if ($this.is('.disabled, :disabled')) return
36 |
37 | var $parent = getParent($this)
38 | var isActive = $parent.hasClass('open')
39 |
40 | clearMenus()
41 |
42 | if (!isActive) {
43 | if ('ontouchstart' in document.documentElement && !$parent.closest('.navbar-nav').length) {
44 | // if mobile we we use a backdrop because click events don't delegate
45 | $('
').insertAfter($(this)).on('click', clearMenus)
46 | }
47 |
48 | $parent.trigger(e = $.Event('show.bs.dropdown'))
49 |
50 | if (e.isDefaultPrevented()) return
51 |
52 | $parent
53 | .toggleClass('open')
54 | .trigger('shown.bs.dropdown')
55 |
56 | $this.focus()
57 | }
58 |
59 | return false
60 | }
61 |
62 | Dropdown.prototype.keydown = function (e) {
63 | if (!/(38|40|27)/.test(e.keyCode)) return
64 |
65 | var $this = $(this)
66 |
67 | e.preventDefault()
68 | e.stopPropagation()
69 |
70 | if ($this.is('.disabled, :disabled')) return
71 |
72 | var $parent = getParent($this)
73 | var isActive = $parent.hasClass('open')
74 |
75 | if (!isActive || (isActive && e.keyCode == 27)) {
76 | if (e.which == 27) $parent.find(toggle).focus()
77 | return $this.click()
78 | }
79 |
80 | var $items = $('[role=menu] li:not(.divider):visible a', $parent)
81 |
82 | if (!$items.length) return
83 |
84 | var index = $items.index($items.filter(':focus'))
85 |
86 | if (e.keyCode == 38 && index > 0) index-- // up
87 | if (e.keyCode == 40 && index < $items.length - 1) index++ // down
88 | if (!~index) index=0
89 |
90 | $items.eq(index).focus()
91 | }
92 |
93 | function clearMenus() {
94 | $(backdrop).remove()
95 | $(toggle).each(function (e) {
96 | var $parent = getParent($(this))
97 | if (!$parent.hasClass('open')) return
98 | $parent.trigger(e = $.Event('hide.bs.dropdown'))
99 | if (e.isDefaultPrevented()) return
100 | $parent.removeClass('open').trigger('hidden.bs.dropdown')
101 | })
102 | }
103 |
104 | function getParent($this) {
105 | var selector = $this.attr('data-target')
106 |
107 | if (!selector) {
108 | selector = $this.attr('href')
109 | selector = selector && /#/.test(selector) && selector.replace(/.*(?=#[^\s]*$)/, '') //strip for ie7
110 | }
111 |
112 | var $parent = selector && $(selector)
113 |
114 | return $parent && $parent.length ? $parent : $this.parent()
115 | }
116 |
117 |
118 | // DROPDOWN PLUGIN DEFINITION
119 | // ==========================
120 |
121 | var old = $.fn.dropdown
122 |
123 | $.fn.dropdown = function (option) {
124 | return this.each(function () {
125 | var $this = $(this)
126 | var data = $this.data('dropdown')
127 |
128 | if (!data) $this.data('dropdown', (data = new Dropdown(this)))
129 | if (typeof option == 'string') data[option].call($this)
130 | })
131 | }
132 |
133 | $.fn.dropdown.Constructor = Dropdown
134 |
135 |
136 | // DROPDOWN NO CONFLICT
137 | // ====================
138 |
139 | $.fn.dropdown.noConflict = function () {
140 | $.fn.dropdown = old
141 | return this
142 | }
143 |
144 |
145 | // APPLY TO STANDARD DROPDOWN ELEMENTS
146 | // ===================================
147 |
148 | $(document)
149 | .on('click.bs.dropdown.data-api', clearMenus)
150 | .on('click.bs.dropdown.data-api', '.dropdown form', function (e) { e.stopPropagation() })
151 | .on('click.bs.dropdown.data-api' , toggle, Dropdown.prototype.toggle)
152 | .on('keydown.bs.dropdown.data-api', toggle + ', [role=menu]' , Dropdown.prototype.keydown)
153 |
154 | }(window.jQuery);
155 |
--------------------------------------------------------------------------------
/js/holder.js:
--------------------------------------------------------------------------------
1 | /*!
2 |
3 | Holder - client side image placeholders
4 | Version 2.4.0+chxk7
5 | © 2014 Ivan Malopinsky - http://imsky.co
6 |
7 | Site: http://imsky.github.io/holder
8 | Issues: https://github.com/imsky/holder/issues
9 | License: http://opensource.org/licenses/MIT
10 |
11 | */
12 | !function(e,t,r){t[e]=r}("onDomReady",this,function(e){"use strict";function t(e){if(!b){if(!a.body)return i(t);for(b=!0;e=S.shift();)i(e)}}function r(e){(y||e.type===s||a[c]===u)&&(n(),t())}function n(){y?(a[x](m,r,d),e[x](s,r,d)):(a[g](v,r),e[g](h,r))}function i(e,t){setTimeout(e,+t>=0?t:1)}function o(e){b?i(e):S.push(e)}null==document.readyState&&document.addEventListener&&(document.addEventListener("DOMContentLoaded",function E(){document.removeEventListener("DOMContentLoaded",E,!1),document.readyState="complete"},!1),document.readyState="loading");var a=e.document,l=a.documentElement,s="load",d=!1,h="on"+s,u="complete",c="readyState",f="attachEvent",g="detachEvent",p="addEventListener",m="DOMContentLoaded",v="onreadystatechange",x="removeEventListener",y=p in a,w=d,b=d,S=[];if(a[c]===u)i(t);else if(y)a[p](m,r,d),e[p](s,r,d);else{a[f](v,r),e[f](h,r);try{w=null==e.frameElement&&l}catch(C){}w&&w.doScroll&&!function k(){if(!b){try{w.doScroll("left")}catch(e){return i(k,50)}n(),t()}}()}return o.version="1.4.0",o.isReady=function(){return b},o}(this)),document.querySelectorAll||(document.querySelectorAll=function(e){var t,r=document.createElement("style"),n=[];for(document.documentElement.firstChild.appendChild(r),document._qsa=[],r.styleSheet.cssText=e+"{x-qsa:expression(document._qsa && document._qsa.push(this))}",window.scrollBy(0,0),r.parentNode.removeChild(r);document._qsa.length;)t=document._qsa.shift(),t.style.removeAttribute("x-qsa"),n.push(t);return document._qsa=null,n}),document.querySelector||(document.querySelector=function(e){var t=document.querySelectorAll(e);return t.length?t[0]:null}),document.getElementsByClassName||(document.getElementsByClassName=function(e){return e=String(e).replace(/^|\s+/g,"."),document.querySelectorAll(e)}),Object.keys||(Object.keys=function(e){if(e!==Object(e))throw TypeError("Object.keys called on non-object");var t,r=[];for(t in e)Object.prototype.hasOwnProperty.call(e,t)&&r.push(t);return r}),function(e){var t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";e.atob=e.atob||function(e){e=String(e);var r,n=0,i=[],o=0,a=0;if(e=e.replace(/\s/g,""),e.length%4===0&&(e=e.replace(/=+$/,"")),e.length%4===1)throw Error("InvalidCharacterError");if(/[^+/0-9A-Za-z]/.test(e))throw Error("InvalidCharacterError");for(;n>16&255)),i.push(String.fromCharCode(o>>8&255)),i.push(String.fromCharCode(255&o)),a=0,o=0),n+=1;return 12===a?(o>>=4,i.push(String.fromCharCode(255&o))):18===a&&(o>>=2,i.push(String.fromCharCode(o>>8&255)),i.push(String.fromCharCode(255&o))),i.join("")},e.btoa=e.btoa||function(e){e=String(e);var r,n,i,o,a,l,s,d=0,h=[];if(/[^\x00-\xFF]/.test(e))throw Error("InvalidCharacterError");for(;d>2,a=(3&r)<<4|n>>4,l=(15&n)<<2|i>>6,s=63&i,d===e.length+2?(l=64,s=64):d===e.length+1&&(s=64),h.push(t.charAt(o),t.charAt(a),t.charAt(l),t.charAt(s));return h.join("")}}(this),function(){function e(t,r,n){t.document;var i,o=t.currentStyle[r].match(/([\d\.]+)(%|cm|em|in|mm|pc|pt|)/)||[0,0,""],a=o[1],l=o[2];return n=n?/%|em/.test(l)&&t.parentElement?e(t.parentElement,"fontSize",null):16:n,i="fontSize"==r?n:/width/i.test(r)?t.clientWidth:t.clientHeight,"%"==l?a/100*i:"cm"==l?.3937*a*96:"em"==l?a*n:"in"==l?96*a:"mm"==l?.3937*a*96/10:"pc"==l?12*a*96/72:"pt"==l?96*a/72:a}function t(e,t){var r="border"==t?"Width":"",n=t+"Top"+r,i=t+"Right"+r,o=t+"Bottom"+r,a=t+"Left"+r;e[t]=(e[n]==e[i]&&e[n]==e[o]&&e[n]==e[a]?[e[n]]:e[n]==e[o]&&e[a]==e[i]?[e[n],e[i]]:e[a]==e[i]?[e[n],e[i],e[o]]:[e[n],e[i],e[o],e[a]]).join(" ")}function r(r){var n,i=this,o=r.currentStyle,a=e(r,"fontSize"),l=function(e){return"-"+e.toLowerCase()};for(n in o)if(Array.prototype.push.call(i,"styleFloat"==n?"float":n.replace(/[A-Z]/,l)),"width"==n)i[n]=r.offsetWidth+"px";else if("height"==n)i[n]=r.offsetHeight+"px";else if("styleFloat"==n)i.float=o[n];else if(/margin.|padding.|border.+W/.test(n)&&"auto"!=i[n])i[n]=Math.round(e(r,n,a))+"px";else if(/^outline/.test(n))try{i[n]=o[n]}catch(s){i.outlineColor=o.color,i.outlineStyle=i.outlineStyle||"none",i.outlineWidth=i.outlineWidth||"0px",i.outline=[i.outlineColor,i.outlineWidth,i.outlineStyle].join(" ")}else i[n]=o[n];t(i,"margin"),t(i,"padding"),t(i,"border"),i.fontSize=Math.round(a)+"px"}window.getComputedStyle||(r.prototype={constructor:r,getPropertyPriority:function(){throw new Error("NotSupportedError: DOM Exception 9")},getPropertyValue:function(e){return this[e.replace(/-\w/g,function(e){return e[1].toUpperCase()})]},item:function(e){return this[e]},removeProperty:function(){throw new Error("NoModificationAllowedError: DOM Exception 7")},setProperty:function(){throw new Error("NoModificationAllowedError: DOM Exception 7")},getPropertyCSSValue:function(){throw new Error("NotSupportedError: DOM Exception 9")}},window.getComputedStyle=Window.prototype.getComputedStyle=function(e){return new r(e)})}(),Object.prototype.hasOwnProperty||(Object.prototype.hasOwnProperty=function(e){var t=this.__proto__||this.constructor.prototype;return e in this&&(!(e in t)||t[e]!==this[e])}),function(e,t){e.augment=t()}(this,function(){"use strict";var e=function(){},t=Array.prototype.slice,r=function(r,n){var i=e.prototype="function"==typeof r?r.prototype:r,o=new e,a=n.apply(o,t.call(arguments,2).concat(i));if("object"==typeof a)for(var l in a)o[l]=a[l];if(!o.hasOwnProperty("constructor"))return o;var s=o.constructor;return s.prototype=o,s};return r.defclass=function(e){var t=e.constructor;return t.prototype=e,t},r.extend=function(e,t){return r(e,function(e){return this.uber=e,t})},r}),function(e,t){function r(e,t,r,o){var a=n(r.substr(r.lastIndexOf(e.domain)),e);a&&i(null,o,a,t)}function n(e,t){for(var r={theme:p(A.settings.themes.gray,null),stylesheets:t.stylesheets,holderURL:[]},n=!1,i=String.fromCharCode(11),o=e.replace(/([^\\])\//g,"$1"+i).split(i),a=/%[0-9a-f]{2}/gi,l=o.length,s=0;l>s;s++){var d=o[s];if(d.match(a))try{d=decodeURIComponent(d)}catch(h){d=o[s]}var u=!1;if(A.flags.dimensions.match(d))n=!0,r.dimensions=A.flags.dimensions.output(d),u=!0;else if(A.flags.fluid.match(d))n=!0,r.dimensions=A.flags.fluid.output(d),r.fluid=!0,u=!0;else if(A.flags.textmode.match(d))r.textmode=A.flags.textmode.output(d),u=!0;else if(A.flags.colors.match(d)){var c=A.flags.colors.output(d);r.theme=p(r.theme,c),u=!0}else if(t.themes[d])t.themes.hasOwnProperty(d)&&(r.theme=p(t.themes[d],null)),u=!0;else if(A.flags.font.match(d))r.font=A.flags.font.output(d),u=!0;else if(A.flags.auto.match(d))r.auto=!0,u=!0;else if(A.flags.text.match(d))r.text=A.flags.text.output(d),u=!0;else if(A.flags.random.match(d)){null==A.vars.cache.themeKeys&&(A.vars.cache.themeKeys=Object.keys(t.themes));var f=A.vars.cache.themeKeys[0|Math.random()*A.vars.cache.themeKeys.length];r.theme=p(t.themes[f],null),u=!0}u&&r.holderURL.push(d)}return r.holderURL.unshift(t.domain),r.holderURL=r.holderURL.join("/"),n?r:!1}function i(e,t,r,n){var i=r.dimensions,a=r.theme,l=i.width+"x"+i.height;if(e=null==e?r.fluid?"fluid":"image":e,null!=r.text&&(a.text=r.text,"object"===t.nodeName.toLowerCase())){for(var d=a.text.split("\\n"),u=0;u16?a.text.substring(0,16)+"…":a.text)+" ["+l+"]":l}),"image"==e?("html"!=g.renderer&&r.auto||(t.style.width=i.width+"px",t.style.height=i.height+"px"),"html"==g.renderer?t.style.backgroundColor=a.background:(o(e,{dimensions:i,theme:a,flags:r},t,g),r.textmode&&"exact"==r.textmode&&(A.vars.resizableImages.push(t),s(t)))):"background"==e&&"html"!=g.renderer?o(e,{dimensions:i,theme:a,flags:r},t,g):"fluid"==e&&("%"==i.height.slice(-1)?t.style.height=i.height:null!=r.auto&&r.auto||(t.style.height=i.height+"px"),"%"==i.width.slice(-1)?t.style.width=i.width:null!=r.auto&&r.auto||(t.style.width=i.width+"px"),("inline"==t.style.display||""===t.style.display||"none"==t.style.display)&&(t.style.display="block"),h(t),"html"==g.renderer?t.style.backgroundColor=a.background:(A.vars.resizableImages.push(t),s(t)))}function o(e,t,r,n){function i(){var e=null;switch(n.renderer){case"canvas":e=L(s);break;case"svg":e=O(s,n);break;default:throw"Holder: invalid renderer: "+n.renderer}return e}var o=null;switch(n.renderer){case"svg":if(!A.setup.supportsSVG)return;break;case"canvas":if(!A.setup.supportsCanvas)return;break;default:return}{var l={width:t.dimensions.width,height:t.dimensions.height,theme:t.theme,flags:t.flags},s=a(l);({text:l.text,width:l.width,height:l.height,textHeight:l.font.size,font:l.font.family,fontWeight:l.font.weight,template:l.theme})}if(o=i(),null==o)throw"Holder: couldn't render placeholder";"background"==e?(r.style.backgroundImage="url("+o+")",r.style.backgroundSize=l.width+"px "+l.height+"px"):("img"===r.nodeName.toLowerCase()?c(r,{src:o}):"object"===r.nodeName.toLowerCase()&&(c(r,{data:o}),c(r,{type:"image/svg+xml"})),n.reRender&&setTimeout(function(){var e=i();if(null==e)throw"Holder: couldn't render placeholder";"img"===r.nodeName.toLowerCase()?c(r,{src:e}):"object"===r.nodeName.toLowerCase()&&(c(r,{data:e}),c(r,{type:"image/svg+xml"}))},100)),c(r,{"data-holder-rendered":!0})}function a(e){function t(e,t,r,n){t.width=r,t.height=n,e.width=Math.max(e.width,t.width),e.height+=t.height,e.add(t)}switch(e.font={family:e.theme.font?e.theme.font:"Arial, Helvetica, Open Sans, sans-serif",size:l(e.width,e.height,e.theme.size?e.theme.size:A.defaults.size),units:e.theme.units?e.theme.units:A.defaults.units,weight:e.theme.fontweight?e.theme.fontweight:"bold"},e.text=e.theme.text?e.theme.text:Math.floor(e.width)+"x"+Math.floor(e.height),e.flags.textmode){case"literal":e.text=e.flags.dimensions.width+"x"+e.flags.dimensions.height;break;case"exact":if(!e.flags.exactDimensions)break;e.text=Math.floor(e.flags.exactDimensions.width)+"x"+Math.floor(e.flags.exactDimensions.height)}var r=new z({width:e.width,height:e.height}),n=r.Shape,i=new n.Rect("holderBg",{fill:e.theme.background});i.resize(e.width,e.height),r.root.add(i);var o=new n.Group("holderTextGroup",{text:e.text,align:"center",font:e.font,fill:e.theme.foreground});o.moveTo(null,null,1),r.root.add(o);var a=o.textPositionData=T(r);if(!a)throw"Holder: staging fallback not supported yet.";o.properties.leading=a.boundingBox.height;var s=null,d=null;if(a.lineCount>1){var h=0,u=0,c=e.width*A.setup.lineWrapRatio,f=0;d=new n.Group("line"+f);for(var g=0;g=c||m===!0)&&(t(o,d,h,o.properties.leading),h=0,u+=o.properties.leading,f+=1,d=new n.Group("line"+f),d.y=u),m!==!0&&(s.moveTo(h,0),h+=a.spaceWidth+p.width,d.add(s))}t(o,d,h,o.properties.leading);for(var v in o.children)d=o.children[v],d.moveTo((o.width-d.width)/2,null,null);o.moveTo((e.width-o.width)/2,(e.height-o.height)/2,null),(e.height-o.height)/2<0&&o.moveTo(null,0,null)}else s=new n.Text(e.text),d=new n.Group("line0"),d.add(s),o.add(d),o.moveTo((e.width-a.boundingBox.width)/2,(e.height-a.boundingBox.height)/2,null);return r}function l(e,t,r){t=parseInt(t,10),e=parseInt(e,10);var n=Math.max(t,e),i=Math.min(t,e),o=A.defaults.scale,a=Math.min(.75*i,.75*n*o);return Math.round(Math.max(r,a))}function s(e){var t;t=null==e||null==e.nodeType?A.vars.resizableImages:[e];for(var r in t)if(t.hasOwnProperty(r)){var n=t[r];if(n.holderData){var i=n.holderData.flags,a=d(n,k.invisibleErrorFn(s));if(a){if(i.fluid&&i.auto){var l=n.holderData.fluidConfig;switch(l.mode){case"width":a.height=a.width/l.ratio;break;case"height":a.width=a.height*l.ratio}}var h={dimensions:a,theme:i.theme,flags:i};i.textmode&&"exact"==i.textmode&&(i.exactDimensions=a,h.dimensions=i.dimensions),o("image",h,n,n.holderData.renderSettings)}}}}function d(e,t){var r={height:e.clientHeight,width:e.clientWidth};return r.height||r.width?(e.removeAttribute("data-holder-invisible"),r):(c(e,{"data-holder-invisible":!0}),t.call(this,e),void 0)}function h(e){if(e.holderData){var t=d(e,k.invisibleErrorFn(h));if(t){var r=e.holderData.flags,n={fluidHeight:"%"==r.dimensions.height.slice(-1),fluidWidth:"%"==r.dimensions.width.slice(-1),mode:null,initialDimensions:t};n.fluidWidth&&!n.fluidHeight?(n.mode="width",n.ratio=n.initialDimensions.width/parseFloat(r.dimensions.height)):!n.fluidWidth&&n.fluidHeight&&(n.mode="height",n.ratio=parseFloat(r.dimensions.width)/n.initialDimensions.height),e.holderData.fluidConfig=n}}}function u(e,t){return null==t?E.createElement(e):E.createElementNS(t,e)}function c(e,t){for(var r in t)e.setAttribute(r,t[r])}function f(e,t,r){if(null==e){e=u("svg",C);var n=u("defs",C);e.appendChild(n)}return e.webkitMatchesSelector&&e.setAttribute("xmlns",C),c(e,{width:t,height:r,viewBox:"0 0 "+t+" "+r,preserveAspectRatio:"none"}),e}function g(e,r){if(t.XMLSerializer){{var n=new XMLSerializer,i="",o=r.stylesheets;e.querySelector("defs")}if(r.svgXMLStylesheet){for(var a=(new DOMParser).parseFromString(" ","application/xml"),l=o.length-1;l>=0;l--){var s=a.createProcessingInstruction("xml-stylesheet",'href="'+o[l]+'" rel="stylesheet"');a.insertBefore(s,a.firstChild)}var d=a.createProcessingInstruction("xml",'version="1.0" encoding="UTF-8" standalone="yes"');a.insertBefore(d,a.firstChild),a.removeChild(a.documentElement),i=n.serializeToString(a)}var h=n.serializeToString(e);return h=h.replace(/\&(\#[0-9]{2,}\;)/g,"&$1"),i+h}}function p(e,t){var r={};for(var n in e)e.hasOwnProperty(n)&&(r[n]=e[n]);if(null!=t)for(var i in t)t.hasOwnProperty(i)&&(r[i]=t[i]);return r}function m(e){var t=[];for(var r in e)e.hasOwnProperty(r)&&t.push(r+":"+e[r]);return t.join(";")}function v(e){A.vars.debounceTimer||e.call(this),A.vars.debounceTimer&&clearTimeout(A.vars.debounceTimer),A.vars.debounceTimer=setTimeout(function(){A.vars.debounceTimer=null,e.call(this)},A.setup.debounce)}function x(){v(function(){s(null)})}function y(e){var r=null;return"string"==typeof e?r=E.querySelectorAll(e):t.NodeList&&e instanceof t.NodeList?r=e:t.Node&&e instanceof t.Node?r=[e]:t.HTMLCollection&&e instanceof t.HTMLCollection?r=e:null===e&&(r=[]),r}function w(e,t){var r=new Image;r.onerror=function(){t.call(this,!1)},r.onload=function(){t.call(this,!0)},r.src=e}function b(e){for(var t=[],r=0,n=e.length-1;n>=0;n--)r=e[n].charCodeAt(),r>128?t.unshift(["",r,";"].join("")):t.unshift(e[n]);return t.join("")}function S(e){return e.replace(/(\d+);/g,function(e,t){return String.fromCharCode(t)})}var C="http://www.w3.org/2000/svg",E=t.document,k={addTheme:function(e,t){return null!=e&&null!=t&&(A.settings.themes[e]=t),delete A.vars.cache.themeKeys,this},addImage:function(e,t){var r=E.querySelectorAll(t);if(r.length)for(var n=0,i=r.length;i>n;n++){var o=u("img");c(o,{"data-src":e}),r[n].appendChild(o)}return this},run:function(e){e=e||{};var o={};A.vars.preempted=!0;var a=p(A.settings,e);o.renderer=a.renderer?a.renderer:A.setup.renderer,-1===A.setup.renderers.join(",").indexOf(o.renderer)&&(o.renderer=A.setup.supportsSVG?"svg":A.setup.supportsCanvas?"canvas":"html"),a.use_canvas?o.renderer="canvas":a.use_svg&&(o.renderer="svg");var l=y(a.images),s=y(a.bgnodes),d=y(a.stylenodes),h=y(a.objects);o.stylesheets=[],o.svgXMLStylesheet=!0,o.noFontFallback=a.noFontFallback?a.noFontFallback:!1;for(var c=0;c1){r.nodeValue="";for(var b=0;b
2 |
--------------------------------------------------------------------------------
/js/jquery-migrate.min.js:
--------------------------------------------------------------------------------
1 | /*! jQuery Migrate v1.2.1 | (c) 2005, 2013 jQuery Foundation, Inc. and other contributors | jquery.org/license */
2 | jQuery.migrateMute===void 0&&(jQuery.migrateMute=!0),function(e,t,n){function r(n){var r=t.console;i[n]||(i[n]=!0,e.migrateWarnings.push(n),r&&r.warn&&!e.migrateMute&&(r.warn("JQMIGRATE: "+n),e.migrateTrace&&r.trace&&r.trace()))}function a(t,a,i,o){if(Object.defineProperty)try{return Object.defineProperty(t,a,{configurable:!0,enumerable:!0,get:function(){return r(o),i},set:function(e){r(o),i=e}}),n}catch(s){}e._definePropertyBroken=!0,t[a]=i}var i={};e.migrateWarnings=[],!e.migrateMute&&t.console&&t.console.log&&t.console.log("JQMIGRATE: Logging is active"),e.migrateTrace===n&&(e.migrateTrace=!0),e.migrateReset=function(){i={},e.migrateWarnings.length=0},"BackCompat"===document.compatMode&&r("jQuery is not compatible with Quirks Mode");var o=e(" ",{size:1}).attr("size")&&e.attrFn,s=e.attr,u=e.attrHooks.value&&e.attrHooks.value.get||function(){return null},c=e.attrHooks.value&&e.attrHooks.value.set||function(){return n},l=/^(?:input|button)$/i,d=/^[238]$/,p=/^(?:autofocus|autoplay|async|checked|controls|defer|disabled|hidden|loop|multiple|open|readonly|required|scoped|selected)$/i,f=/^(?:checked|selected)$/i;a(e,"attrFn",o||{},"jQuery.attrFn is deprecated"),e.attr=function(t,a,i,u){var c=a.toLowerCase(),g=t&&t.nodeType;return u&&(4>s.length&&r("jQuery.fn.attr( props, pass ) is deprecated"),t&&!d.test(g)&&(o?a in o:e.isFunction(e.fn[a])))?e(t)[a](i):("type"===a&&i!==n&&l.test(t.nodeName)&&t.parentNode&&r("Can't change the 'type' of an input or button in IE 6/7/8"),!e.attrHooks[c]&&p.test(c)&&(e.attrHooks[c]={get:function(t,r){var a,i=e.prop(t,r);return i===!0||"boolean"!=typeof i&&(a=t.getAttributeNode(r))&&a.nodeValue!==!1?r.toLowerCase():n},set:function(t,n,r){var a;return n===!1?e.removeAttr(t,r):(a=e.propFix[r]||r,a in t&&(t[a]=!0),t.setAttribute(r,r.toLowerCase())),r}},f.test(c)&&r("jQuery.fn.attr('"+c+"') may use property instead of attribute")),s.call(e,t,a,i))},e.attrHooks.value={get:function(e,t){var n=(e.nodeName||"").toLowerCase();return"button"===n?u.apply(this,arguments):("input"!==n&&"option"!==n&&r("jQuery.fn.attr('value') no longer gets properties"),t in e?e.value:null)},set:function(e,t){var a=(e.nodeName||"").toLowerCase();return"button"===a?c.apply(this,arguments):("input"!==a&&"option"!==a&&r("jQuery.fn.attr('value', val) no longer sets properties"),e.value=t,n)}};var g,h,v=e.fn.init,m=e.parseJSON,y=/^([^<]*)(<[\w\W]+>)([^>]*)$/;e.fn.init=function(t,n,a){var i;return t&&"string"==typeof t&&!e.isPlainObject(n)&&(i=y.exec(e.trim(t)))&&i[0]&&("<"!==t.charAt(0)&&r("$(html) HTML strings must start with '<' character"),i[3]&&r("$(html) HTML text after last tag is ignored"),"#"===i[0].charAt(0)&&(r("HTML string cannot start with a '#' character"),e.error("JQMIGRATE: Invalid selector string (XSS)")),n&&n.context&&(n=n.context),e.parseHTML)?v.call(this,e.parseHTML(i[2],n,!0),n,a):v.apply(this,arguments)},e.fn.init.prototype=e.fn,e.parseJSON=function(e){return e||null===e?m.apply(this,arguments):(r("jQuery.parseJSON requires a valid JSON string"),null)},e.uaMatch=function(e){e=e.toLowerCase();var t=/(chrome)[ \/]([\w.]+)/.exec(e)||/(webkit)[ \/]([\w.]+)/.exec(e)||/(opera)(?:.*version|)[ \/]([\w.]+)/.exec(e)||/(msie) ([\w.]+)/.exec(e)||0>e.indexOf("compatible")&&/(mozilla)(?:.*? rv:([\w.]+)|)/.exec(e)||[];return{browser:t[1]||"",version:t[2]||"0"}},e.browser||(g=e.uaMatch(navigator.userAgent),h={},g.browser&&(h[g.browser]=!0,h.version=g.version),h.chrome?h.webkit=!0:h.webkit&&(h.safari=!0),e.browser=h),a(e,"browser",e.browser,"jQuery.browser is deprecated"),e.sub=function(){function t(e,n){return new t.fn.init(e,n)}e.extend(!0,t,this),t.superclass=this,t.fn=t.prototype=this(),t.fn.constructor=t,t.sub=this.sub,t.fn.init=function(r,a){return a&&a instanceof e&&!(a instanceof t)&&(a=t(a)),e.fn.init.call(this,r,a,n)},t.fn.init.prototype=t.fn;var n=t(document);return r("jQuery.sub() is deprecated"),t},e.ajaxSetup({converters:{"text json":e.parseJSON}});var b=e.fn.data;e.fn.data=function(t){var a,i,o=this[0];return!o||"events"!==t||1!==arguments.length||(a=e.data(o,t),i=e._data(o,t),a!==n&&a!==i||i===n)?b.apply(this,arguments):(r("Use of jQuery.fn.data('events') is deprecated"),i)};var j=/\/(java|ecma)script/i,w=e.fn.andSelf||e.fn.addBack;e.fn.andSelf=function(){return r("jQuery.fn.andSelf() replaced by jQuery.fn.addBack()"),w.apply(this,arguments)},e.clean||(e.clean=function(t,a,i,o){a=a||document,a=!a.nodeType&&a[0]||a,a=a.ownerDocument||a,r("jQuery.clean() is deprecated");var s,u,c,l,d=[];if(e.merge(d,e.buildFragment(t,a).childNodes),i)for(c=function(e){return!e.type||j.test(e.type)?o?o.push(e.parentNode?e.parentNode.removeChild(e):e):i.appendChild(e):n},s=0;null!=(u=d[s]);s++)e.nodeName(u,"script")&&c(u)||(i.appendChild(u),u.getElementsByTagName!==n&&(l=e.grep(e.merge([],u.getElementsByTagName("script")),c),d.splice.apply(d,[s+1,0].concat(l)),s+=l.length));return d});var Q=e.event.add,x=e.event.remove,k=e.event.trigger,N=e.fn.toggle,T=e.fn.live,M=e.fn.die,S="ajaxStart|ajaxStop|ajaxSend|ajaxComplete|ajaxError|ajaxSuccess",C=RegExp("\\b(?:"+S+")\\b"),H=/(?:^|\s)hover(\.\S+|)\b/,A=function(t){return"string"!=typeof t||e.event.special.hover?t:(H.test(t)&&r("'hover' pseudo-event is deprecated, use 'mouseenter mouseleave'"),t&&t.replace(H,"mouseenter$1 mouseleave$1"))};e.event.props&&"attrChange"!==e.event.props[0]&&e.event.props.unshift("attrChange","attrName","relatedNode","srcElement"),e.event.dispatch&&a(e.event,"handle",e.event.dispatch,"jQuery.event.handle is undocumented and deprecated"),e.event.add=function(e,t,n,a,i){e!==document&&C.test(t)&&r("AJAX events should be attached to document: "+t),Q.call(this,e,A(t||""),n,a,i)},e.event.remove=function(e,t,n,r,a){x.call(this,e,A(t)||"",n,r,a)},e.fn.error=function(){var e=Array.prototype.slice.call(arguments,0);return r("jQuery.fn.error() is deprecated"),e.splice(0,0,"error"),arguments.length?this.bind.apply(this,e):(this.triggerHandler.apply(this,e),this)},e.fn.toggle=function(t,n){if(!e.isFunction(t)||!e.isFunction(n))return N.apply(this,arguments);r("jQuery.fn.toggle(handler, handler...) is deprecated");var a=arguments,i=t.guid||e.guid++,o=0,s=function(n){var r=(e._data(this,"lastToggle"+t.guid)||0)%o;return e._data(this,"lastToggle"+t.guid,r+1),n.preventDefault(),a[r].apply(this,arguments)||!1};for(s.guid=i;a.length>o;)a[o++].guid=i;return this.click(s)},e.fn.live=function(t,n,a){return r("jQuery.fn.live() is deprecated"),T?T.apply(this,arguments):(e(this.context).on(t,this.selector,n,a),this)},e.fn.die=function(t,n){return r("jQuery.fn.die() is deprecated"),M?M.apply(this,arguments):(e(this.context).off(t,this.selector||"**",n),this)},e.event.trigger=function(e,t,n,a){return n||C.test(e)||r("Global events are undocumented and deprecated"),k.call(this,e,t,n||document,a)},e.each(S.split("|"),function(t,n){e.event.special[n]={setup:function(){var t=this;return t!==document&&(e.event.add(document,n+"."+e.guid,function(){e.event.trigger(n,null,t,!0)}),e._data(this,n,e.guid++)),!1},teardown:function(){return this!==document&&e.event.remove(document,n+"."+e._data(this,n)),!1}}})}(jQuery,window);
--------------------------------------------------------------------------------
/js/jquery-noconflict.js:
--------------------------------------------------------------------------------
1 | jQuery.noConflict();
2 |
--------------------------------------------------------------------------------
/js/jui/jquery-migrate.min.js:
--------------------------------------------------------------------------------
1 | /*! jQuery Migrate v1.2.1 | (c) 2005, 2013 jQuery Foundation, Inc. and other contributors | jquery.org/license */
2 | jQuery.migrateMute===void 0&&(jQuery.migrateMute=!0),function(e,t,n){function r(n){var r=t.console;i[n]||(i[n]=!0,e.migrateWarnings.push(n),r&&r.warn&&!e.migrateMute&&(r.warn("JQMIGRATE: "+n),e.migrateTrace&&r.trace&&r.trace()))}function a(t,a,i,o){if(Object.defineProperty)try{return Object.defineProperty(t,a,{configurable:!0,enumerable:!0,get:function(){return r(o),i},set:function(e){r(o),i=e}}),n}catch(s){}e._definePropertyBroken=!0,t[a]=i}var i={};e.migrateWarnings=[],!e.migrateMute&&t.console&&t.console.log&&t.console.log("JQMIGRATE: Logging is active"),e.migrateTrace===n&&(e.migrateTrace=!0),e.migrateReset=function(){i={},e.migrateWarnings.length=0},"BackCompat"===document.compatMode&&r("jQuery is not compatible with Quirks Mode");var o=e(" ",{size:1}).attr("size")&&e.attrFn,s=e.attr,u=e.attrHooks.value&&e.attrHooks.value.get||function(){return null},c=e.attrHooks.value&&e.attrHooks.value.set||function(){return n},l=/^(?:input|button)$/i,d=/^[238]$/,p=/^(?:autofocus|autoplay|async|checked|controls|defer|disabled|hidden|loop|multiple|open|readonly|required|scoped|selected)$/i,f=/^(?:checked|selected)$/i;a(e,"attrFn",o||{},"jQuery.attrFn is deprecated"),e.attr=function(t,a,i,u){var c=a.toLowerCase(),g=t&&t.nodeType;return u&&(4>s.length&&r("jQuery.fn.attr( props, pass ) is deprecated"),t&&!d.test(g)&&(o?a in o:e.isFunction(e.fn[a])))?e(t)[a](i):("type"===a&&i!==n&&l.test(t.nodeName)&&t.parentNode&&r("Can't change the 'type' of an input or button in IE 6/7/8"),!e.attrHooks[c]&&p.test(c)&&(e.attrHooks[c]={get:function(t,r){var a,i=e.prop(t,r);return i===!0||"boolean"!=typeof i&&(a=t.getAttributeNode(r))&&a.nodeValue!==!1?r.toLowerCase():n},set:function(t,n,r){var a;return n===!1?e.removeAttr(t,r):(a=e.propFix[r]||r,a in t&&(t[a]=!0),t.setAttribute(r,r.toLowerCase())),r}},f.test(c)&&r("jQuery.fn.attr('"+c+"') may use property instead of attribute")),s.call(e,t,a,i))},e.attrHooks.value={get:function(e,t){var n=(e.nodeName||"").toLowerCase();return"button"===n?u.apply(this,arguments):("input"!==n&&"option"!==n&&r("jQuery.fn.attr('value') no longer gets properties"),t in e?e.value:null)},set:function(e,t){var a=(e.nodeName||"").toLowerCase();return"button"===a?c.apply(this,arguments):("input"!==a&&"option"!==a&&r("jQuery.fn.attr('value', val) no longer sets properties"),e.value=t,n)}};var g,h,v=e.fn.init,m=e.parseJSON,y=/^([^<]*)(<[\w\W]+>)([^>]*)$/;e.fn.init=function(t,n,a){var i;return t&&"string"==typeof t&&!e.isPlainObject(n)&&(i=y.exec(e.trim(t)))&&i[0]&&("<"!==t.charAt(0)&&r("$(html) HTML strings must start with '<' character"),i[3]&&r("$(html) HTML text after last tag is ignored"),"#"===i[0].charAt(0)&&(r("HTML string cannot start with a '#' character"),e.error("JQMIGRATE: Invalid selector string (XSS)")),n&&n.context&&(n=n.context),e.parseHTML)?v.call(this,e.parseHTML(i[2],n,!0),n,a):v.apply(this,arguments)},e.fn.init.prototype=e.fn,e.parseJSON=function(e){return e||null===e?m.apply(this,arguments):(r("jQuery.parseJSON requires a valid JSON string"),null)},e.uaMatch=function(e){e=e.toLowerCase();var t=/(chrome)[ \/]([\w.]+)/.exec(e)||/(webkit)[ \/]([\w.]+)/.exec(e)||/(opera)(?:.*version|)[ \/]([\w.]+)/.exec(e)||/(msie) ([\w.]+)/.exec(e)||0>e.indexOf("compatible")&&/(mozilla)(?:.*? rv:([\w.]+)|)/.exec(e)||[];return{browser:t[1]||"",version:t[2]||"0"}},e.browser||(g=e.uaMatch(navigator.userAgent),h={},g.browser&&(h[g.browser]=!0,h.version=g.version),h.chrome?h.webkit=!0:h.webkit&&(h.safari=!0),e.browser=h),a(e,"browser",e.browser,"jQuery.browser is deprecated"),e.sub=function(){function t(e,n){return new t.fn.init(e,n)}e.extend(!0,t,this),t.superclass=this,t.fn=t.prototype=this(),t.fn.constructor=t,t.sub=this.sub,t.fn.init=function(r,a){return a&&a instanceof e&&!(a instanceof t)&&(a=t(a)),e.fn.init.call(this,r,a,n)},t.fn.init.prototype=t.fn;var n=t(document);return r("jQuery.sub() is deprecated"),t},e.ajaxSetup({converters:{"text json":e.parseJSON}});var b=e.fn.data;e.fn.data=function(t){var a,i,o=this[0];return!o||"events"!==t||1!==arguments.length||(a=e.data(o,t),i=e._data(o,t),a!==n&&a!==i||i===n)?b.apply(this,arguments):(r("Use of jQuery.fn.data('events') is deprecated"),i)};var j=/\/(java|ecma)script/i,w=e.fn.andSelf||e.fn.addBack;e.fn.andSelf=function(){return r("jQuery.fn.andSelf() replaced by jQuery.fn.addBack()"),w.apply(this,arguments)},e.clean||(e.clean=function(t,a,i,o){a=a||document,a=!a.nodeType&&a[0]||a,a=a.ownerDocument||a,r("jQuery.clean() is deprecated");var s,u,c,l,d=[];if(e.merge(d,e.buildFragment(t,a).childNodes),i)for(c=function(e){return!e.type||j.test(e.type)?o?o.push(e.parentNode?e.parentNode.removeChild(e):e):i.appendChild(e):n},s=0;null!=(u=d[s]);s++)e.nodeName(u,"script")&&c(u)||(i.appendChild(u),u.getElementsByTagName!==n&&(l=e.grep(e.merge([],u.getElementsByTagName("script")),c),d.splice.apply(d,[s+1,0].concat(l)),s+=l.length));return d});var Q=e.event.add,x=e.event.remove,k=e.event.trigger,N=e.fn.toggle,T=e.fn.live,M=e.fn.die,S="ajaxStart|ajaxStop|ajaxSend|ajaxComplete|ajaxError|ajaxSuccess",C=RegExp("\\b(?:"+S+")\\b"),H=/(?:^|\s)hover(\.\S+|)\b/,A=function(t){return"string"!=typeof t||e.event.special.hover?t:(H.test(t)&&r("'hover' pseudo-event is deprecated, use 'mouseenter mouseleave'"),t&&t.replace(H,"mouseenter$1 mouseleave$1"))};e.event.props&&"attrChange"!==e.event.props[0]&&e.event.props.unshift("attrChange","attrName","relatedNode","srcElement"),e.event.dispatch&&a(e.event,"handle",e.event.dispatch,"jQuery.event.handle is undocumented and deprecated"),e.event.add=function(e,t,n,a,i){e!==document&&C.test(t)&&r("AJAX events should be attached to document: "+t),Q.call(this,e,A(t||""),n,a,i)},e.event.remove=function(e,t,n,r,a){x.call(this,e,A(t)||"",n,r,a)},e.fn.error=function(){var e=Array.prototype.slice.call(arguments,0);return r("jQuery.fn.error() is deprecated"),e.splice(0,0,"error"),arguments.length?this.bind.apply(this,e):(this.triggerHandler.apply(this,e),this)},e.fn.toggle=function(t,n){if(!e.isFunction(t)||!e.isFunction(n))return N.apply(this,arguments);r("jQuery.fn.toggle(handler, handler...) is deprecated");var a=arguments,i=t.guid||e.guid++,o=0,s=function(n){var r=(e._data(this,"lastToggle"+t.guid)||0)%o;return e._data(this,"lastToggle"+t.guid,r+1),n.preventDefault(),a[r].apply(this,arguments)||!1};for(s.guid=i;a.length>o;)a[o++].guid=i;return this.click(s)},e.fn.live=function(t,n,a){return r("jQuery.fn.live() is deprecated"),T?T.apply(this,arguments):(e(this.context).on(t,this.selector,n,a),this)},e.fn.die=function(t,n){return r("jQuery.fn.die() is deprecated"),M?M.apply(this,arguments):(e(this.context).off(t,this.selector||"**",n),this)},e.event.trigger=function(e,t,n,a){return n||C.test(e)||r("Global events are undocumented and deprecated"),k.call(this,e,t,n||document,a)},e.each(S.split("|"),function(t,n){e.event.special[n]={setup:function(){var t=this;return t!==document&&(e.event.add(document,n+"."+e.guid,function(){e.event.trigger(n,null,t,!0)}),e._data(this,n,e.guid++)),!1},teardown:function(){return this!==document&&e.event.remove(document,n+"."+e._data(this,n)),!1}}})}(jQuery,window);
--------------------------------------------------------------------------------
/js/jui/jquery-noconflict.js:
--------------------------------------------------------------------------------
1 | jQuery.noConflict();
2 |
--------------------------------------------------------------------------------
/js/modal.js:
--------------------------------------------------------------------------------
1 | /* ========================================================================
2 | * Bootstrap: modal.js v3.3.2
3 | * http://getbootstrap.com/javascript/#modals
4 | * ========================================================================
5 | * Copyright 2011-2015 Twitter, Inc.
6 | * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
7 | * ======================================================================== */
8 |
9 |
10 | +function ($) {
11 | 'use strict';
12 |
13 | // MODAL CLASS DEFINITION
14 | // ======================
15 |
16 | var Modal = function (element, options) {
17 | this.options = options
18 | this.$body = $(document.body)
19 | this.$element = $(element)
20 | this.$backdrop =
21 | this.isShown = null
22 | this.scrollbarWidth = 0
23 |
24 | if (this.options.remote) {
25 | this.$element
26 | .find('.modal-content')
27 | .load(this.options.remote, $.proxy(function () {
28 | this.$element.trigger('loaded.bs.modal')
29 | }, this))
30 | }
31 | }
32 |
33 | Modal.VERSION = '3.3.2'
34 |
35 | Modal.TRANSITION_DURATION = 300
36 | Modal.BACKDROP_TRANSITION_DURATION = 150
37 |
38 | Modal.DEFAULTS = {
39 | backdrop: true,
40 | keyboard: true,
41 | show: true
42 | }
43 |
44 | Modal.prototype.toggle = function (_relatedTarget) {
45 | return this.isShown ? this.hide() : this.show(_relatedTarget)
46 | }
47 |
48 | Modal.prototype.show = function (_relatedTarget) {
49 | var that = this
50 | var e = $.Event('show.bs.modal', { relatedTarget: _relatedTarget })
51 |
52 | this.$element.trigger(e)
53 |
54 | if (this.isShown || e.isDefaultPrevented()) return
55 |
56 | this.isShown = true
57 |
58 | this.checkScrollbar()
59 | this.setScrollbar()
60 | this.$body.addClass('modal-open')
61 |
62 | this.escape()
63 | this.resize()
64 |
65 | this.$element.on('click.dismiss.bs.modal', '[data-dismiss="modal"]', $.proxy(this.hide, this))
66 |
67 | this.backdrop(function () {
68 | var transition = $.support.transition && that.$element.hasClass('fade')
69 |
70 | if (!that.$element.parent().length) {
71 | that.$element.appendTo(that.$body) // don't move modals dom position
72 | }
73 |
74 | that.$element
75 | .show()
76 | .scrollTop(0)
77 |
78 | if (that.options.backdrop) that.adjustBackdrop()
79 | that.adjustDialog()
80 |
81 | if (transition) {
82 | that.$element[0].offsetWidth // force reflow
83 | }
84 |
85 | that.$element
86 | .addClass('in')
87 | .attr('aria-hidden', false)
88 |
89 | that.enforceFocus()
90 |
91 | var e = $.Event('shown.bs.modal', { relatedTarget: _relatedTarget })
92 |
93 | transition ?
94 | that.$element.find('.modal-dialog') // wait for modal to slide in
95 | .one('bsTransitionEnd', function () {
96 | that.$element.trigger('focus').trigger(e)
97 | })
98 | .emulateTransitionEnd(Modal.TRANSITION_DURATION) :
99 | that.$element.trigger('focus').trigger(e)
100 | })
101 | }
102 |
103 | Modal.prototype.hide = function (e) {
104 | if (e) e.preventDefault()
105 |
106 | e = $.Event('hide.bs.modal')
107 |
108 | this.$element.trigger(e)
109 |
110 | if (!this.isShown || e.isDefaultPrevented()) return
111 |
112 | this.isShown = false
113 |
114 | this.escape()
115 | this.resize()
116 |
117 | $(document).off('focusin.bs.modal')
118 |
119 | this.$element
120 | .removeClass('in')
121 | .attr('aria-hidden', true)
122 | .off('click.dismiss.bs.modal')
123 |
124 | $.support.transition && this.$element.hasClass('fade') ?
125 | this.$element
126 | .one('bsTransitionEnd', $.proxy(this.hideModal, this))
127 | .emulateTransitionEnd(Modal.TRANSITION_DURATION) :
128 | this.hideModal()
129 | }
130 |
131 | Modal.prototype.enforceFocus = function () {
132 | $(document)
133 | .off('focusin.bs.modal') // guard against infinite focus loop
134 | .on('focusin.bs.modal', $.proxy(function (e) {
135 | if (this.$element[0] !== e.target && !this.$element.has(e.target).length) {
136 | this.$element.trigger('focus')
137 | }
138 | }, this))
139 | }
140 |
141 | Modal.prototype.escape = function () {
142 | if (this.isShown && this.options.keyboard) {
143 | this.$element.on('keydown.dismiss.bs.modal', $.proxy(function (e) {
144 | e.which == 27 && this.hide()
145 | }, this))
146 | } else if (!this.isShown) {
147 | this.$element.off('keydown.dismiss.bs.modal')
148 | }
149 | }
150 |
151 | Modal.prototype.resize = function () {
152 | if (this.isShown) {
153 | $(window).on('resize.bs.modal', $.proxy(this.handleUpdate, this))
154 | } else {
155 | $(window).off('resize.bs.modal')
156 | }
157 | }
158 |
159 | Modal.prototype.hideModal = function () {
160 | var that = this
161 | this.$element.hide()
162 | this.backdrop(function () {
163 | that.$body.removeClass('modal-open')
164 | that.resetAdjustments()
165 | that.resetScrollbar()
166 | that.$element.trigger('hidden.bs.modal')
167 | })
168 | }
169 |
170 | Modal.prototype.removeBackdrop = function () {
171 | this.$backdrop && this.$backdrop.remove()
172 | this.$backdrop = null
173 | }
174 |
175 | Modal.prototype.backdrop = function (callback) {
176 | var that = this
177 | var animate = this.$element.hasClass('fade') ? 'fade' : ''
178 |
179 | if (this.isShown && this.options.backdrop) {
180 | var doAnimate = $.support.transition && animate
181 |
182 | this.$backdrop = $('
')
183 | .prependTo(this.$element)
184 | .on('click.dismiss.bs.modal', $.proxy(function (e) {
185 | if (e.target !== e.currentTarget) return
186 | this.options.backdrop == 'static'
187 | ? this.$element[0].focus.call(this.$element[0])
188 | : this.hide.call(this)
189 | }, this))
190 |
191 | if (doAnimate) this.$backdrop[0].offsetWidth // force reflow
192 |
193 | this.$backdrop.addClass('in')
194 |
195 | if (!callback) return
196 |
197 | doAnimate ?
198 | this.$backdrop
199 | .one('bsTransitionEnd', callback)
200 | .emulateTransitionEnd(Modal.BACKDROP_TRANSITION_DURATION) :
201 | callback()
202 |
203 | } else if (!this.isShown && this.$backdrop) {
204 | this.$backdrop.removeClass('in')
205 |
206 | var callbackRemove = function () {
207 | that.removeBackdrop()
208 | callback && callback()
209 | }
210 | $.support.transition && this.$element.hasClass('fade') ?
211 | this.$backdrop
212 | .one('bsTransitionEnd', callbackRemove)
213 | .emulateTransitionEnd(Modal.BACKDROP_TRANSITION_DURATION) :
214 | callbackRemove()
215 |
216 | } else if (callback) {
217 | callback()
218 | }
219 | }
220 |
221 | // these following methods are used to handle overflowing modals
222 |
223 | Modal.prototype.handleUpdate = function () {
224 | if (this.options.backdrop) this.adjustBackdrop()
225 | this.adjustDialog()
226 | }
227 |
228 | Modal.prototype.adjustBackdrop = function () {
229 | this.$backdrop
230 | .css('height', 0)
231 | .css('height', this.$element[0].scrollHeight)
232 | }
233 |
234 | Modal.prototype.adjustDialog = function () {
235 | var modalIsOverflowing = this.$element[0].scrollHeight > document.documentElement.clientHeight
236 |
237 | this.$element.css({
238 | paddingLeft: !this.bodyIsOverflowing && modalIsOverflowing ? this.scrollbarWidth : '',
239 | paddingRight: this.bodyIsOverflowing && !modalIsOverflowing ? this.scrollbarWidth : ''
240 | })
241 | }
242 |
243 | Modal.prototype.resetAdjustments = function () {
244 | this.$element.css({
245 | paddingLeft: '',
246 | paddingRight: ''
247 | })
248 | }
249 |
250 | Modal.prototype.checkScrollbar = function () {
251 | this.bodyIsOverflowing = document.body.scrollHeight > document.documentElement.clientHeight
252 | this.scrollbarWidth = this.measureScrollbar()
253 | }
254 |
255 | Modal.prototype.setScrollbar = function () {
256 | var bodyPad = parseInt((this.$body.css('padding-right') || 0), 10)
257 | if (this.bodyIsOverflowing) this.$body.css('padding-right', bodyPad + this.scrollbarWidth)
258 | }
259 |
260 | Modal.prototype.resetScrollbar = function () {
261 | this.$body.css('padding-right', '')
262 | }
263 |
264 | Modal.prototype.measureScrollbar = function () { // thx walsh
265 | var scrollDiv = document.createElement('div')
266 | scrollDiv.className = 'modal-scrollbar-measure'
267 | this.$body.append(scrollDiv)
268 | var scrollbarWidth = scrollDiv.offsetWidth - scrollDiv.clientWidth
269 | this.$body[0].removeChild(scrollDiv)
270 | return scrollbarWidth
271 | }
272 |
273 |
274 | // MODAL PLUGIN DEFINITION
275 | // =======================
276 |
277 | function Plugin(option, _relatedTarget) {
278 | return this.each(function () {
279 | var $this = $(this)
280 | var data = $this.data('bs.modal')
281 | var options = $.extend({}, Modal.DEFAULTS, $this.data(), typeof option == 'object' && option)
282 |
283 | if (!data) $this.data('bs.modal', (data = new Modal(this, options)))
284 | if (typeof option == 'string') data[option](_relatedTarget)
285 | else if (options.show) data.show(_relatedTarget)
286 | })
287 | }
288 |
289 | var old = $.fn.modal
290 |
291 | $.fn.modal = Plugin
292 | $.fn.modal.Constructor = Modal
293 |
294 |
295 | // MODAL NO CONFLICT
296 | // =================
297 |
298 | $.fn.modal.noConflict = function () {
299 | $.fn.modal = old
300 | return this
301 | }
302 |
303 |
304 | // MODAL DATA-API
305 | // ==============
306 |
307 | $(document).on('click.bs.modal.data-api', '[data-toggle="modal"]', function (e) {
308 | var $this = $(this)
309 | var href = $this.attr('href')
310 | var $target = $($this.attr('data-target') || (href && href.replace(/.*(?=#[^\s]+$)/, ''))) // strip for ie7
311 | var option = $target.data('bs.modal') ? 'toggle' : $.extend({ remote: !/#/.test(href) && href }, $target.data(), $this.data())
312 |
313 | if ($this.is('a')) e.preventDefault()
314 |
315 | $target.one('show.bs.modal', function (showEvent) {
316 | if (showEvent.isDefaultPrevented()) return // only register focus restorer if modal will actually get shown
317 | $target.one('hidden.bs.modal', function () {
318 | $this.is(':visible') && $this.trigger('focus')
319 | })
320 | })
321 | Plugin.call($target, option, this)
322 | })
323 |
324 | }(jQuery);
325 |
--------------------------------------------------------------------------------
/js/modernizr-2.8.3.js:
--------------------------------------------------------------------------------
1 | /* Modernizr 2.8.3 (Custom Build) | MIT & BSD
2 | * Build: http://modernizr.com/download/#-fontface-backgroundsize-borderimage-borderradius-boxshadow-flexbox-flexboxlegacy-hsla-multiplebgs-opacity-rgba-textshadow-cssanimations-csscolumns-generatedcontent-cssgradients-cssreflections-csstransforms-csstransforms3d-csstransitions-applicationcache-canvas-canvastext-draganddrop-hashchange-history-audio-video-indexeddb-input-inputtypes-localstorage-postmessage-sessionstorage-websockets-websqldatabase-webworkers-geolocation-inlinesvg-smil-svg-svgclippaths-touch-webgl-shiv-cssclasses-teststyles-testprop-testallprops-hasevent-prefixes-domprefixes-load
3 | */
4 | ;window.Modernizr=function(a,b,c){function C(a){j.cssText=a}function D(a,b){return C(n.join(a+";")+(b||""))}function E(a,b){return typeof a===b}function F(a,b){return!!~(""+a).indexOf(b)}function G(a,b){for(var d in a){var e=a[d];if(!F(e,"-")&&j[e]!==c)return b=="pfx"?e:!0}return!1}function H(a,b,d){for(var e in a){var f=b[a[e]];if(f!==c)return d===!1?a[e]:E(f,"function")?f.bind(d||b):f}return!1}function I(a,b,c){var d=a.charAt(0).toUpperCase()+a.slice(1),e=(a+" "+p.join(d+" ")+d).split(" ");return E(b,"string")||E(b,"undefined")?G(e,b):(e=(a+" "+q.join(d+" ")+d).split(" "),H(e,b,c))}function J(){e.input=function(c){for(var d=0,e=c.length;d',a,""].join(""),l.id=h,(m?l:n).innerHTML+=f,n.appendChild(l),m||(n.style.background="",n.style.overflow="hidden",k=g.style.overflow,g.style.overflow="hidden",g.appendChild(n)),i=c(l,a),m?l.parentNode.removeChild(l):(n.parentNode.removeChild(n),g.style.overflow=k),!!i},z=function(){function d(d,e){e=e||b.createElement(a[d]||"div"),d="on"+d;var f=d in e;return f||(e.setAttribute||(e=b.createElement("div")),e.setAttribute&&e.removeAttribute&&(e.setAttribute(d,""),f=E(e[d],"function"),E(e[d],"undefined")||(e[d]=c),e.removeAttribute(d))),e=null,f}var a={select:"input",change:"input",submit:"form",reset:"form",error:"img",load:"img",abort:"img"};return d}(),A={}.hasOwnProperty,B;!E(A,"undefined")&&!E(A.call,"undefined")?B=function(a,b){return A.call(a,b)}:B=function(a,b){return b in a&&E(a.constructor.prototype[b],"undefined")},Function.prototype.bind||(Function.prototype.bind=function(b){var c=this;if(typeof c!="function")throw new TypeError;var d=w.call(arguments,1),e=function(){if(this instanceof e){var a=function(){};a.prototype=c.prototype;var f=new a,g=c.apply(f,d.concat(w.call(arguments)));return Object(g)===g?g:f}return c.apply(b,d.concat(w.call(arguments)))};return e}),s.flexbox=function(){return I("flexWrap")},s.flexboxlegacy=function(){return I("boxDirection")},s.canvas=function(){var a=b.createElement("canvas");return!!a.getContext&&!!a.getContext("2d")},s.canvastext=function(){return!!e.canvas&&!!E(b.createElement("canvas").getContext("2d").fillText,"function")},s.webgl=function(){return!!a.WebGLRenderingContext},s.touch=function(){var c;return"ontouchstart"in a||a.DocumentTouch&&b instanceof DocumentTouch?c=!0:y(["@media (",n.join("touch-enabled),("),h,")","{#modernizr{top:9px;position:absolute}}"].join(""),function(a){c=a.offsetTop===9}),c},s.geolocation=function(){return"geolocation"in navigator},s.postmessage=function(){return!!a.postMessage},s.websqldatabase=function(){return!!a.openDatabase},s.indexedDB=function(){return!!I("indexedDB",a)},s.hashchange=function(){return z("hashchange",a)&&(b.documentMode===c||b.documentMode>7)},s.history=function(){return!!a.history&&!!history.pushState},s.draganddrop=function(){var a=b.createElement("div");return"draggable"in a||"ondragstart"in a&&"ondrop"in a},s.websockets=function(){return"WebSocket"in a||"MozWebSocket"in a},s.rgba=function(){return C("background-color:rgba(150,255,150,.5)"),F(j.backgroundColor,"rgba")},s.hsla=function(){return C("background-color:hsla(120,40%,100%,.5)"),F(j.backgroundColor,"rgba")||F(j.backgroundColor,"hsla")},s.multiplebgs=function(){return C("background:url(https://),url(https://),red url(https://)"),/(url\s*\(.*?){3}/.test(j.background)},s.backgroundsize=function(){return I("backgroundSize")},s.borderimage=function(){return I("borderImage")},s.borderradius=function(){return I("borderRadius")},s.boxshadow=function(){return I("boxShadow")},s.textshadow=function(){return b.createElement("div").style.textShadow===""},s.opacity=function(){return D("opacity:.55"),/^0.55$/.test(j.opacity)},s.cssanimations=function(){return I("animationName")},s.csscolumns=function(){return I("columnCount")},s.cssgradients=function(){var a="background-image:",b="gradient(linear,left top,right bottom,from(#9f9),to(white));",c="linear-gradient(left top,#9f9, white);";return C((a+"-webkit- ".split(" ").join(b+a)+n.join(c+a)).slice(0,-a.length)),F(j.backgroundImage,"gradient")},s.cssreflections=function(){return I("boxReflect")},s.csstransforms=function(){return!!I("transform")},s.csstransforms3d=function(){var a=!!I("perspective");return a&&"webkitPerspective"in g.style&&y("@media (transform-3d),(-webkit-transform-3d){#modernizr{left:9px;position:absolute;height:3px;}}",function(b,c){a=b.offsetLeft===9&&b.offsetHeight===3}),a},s.csstransitions=function(){return I("transition")},s.fontface=function(){var a;return y('@font-face {font-family:"font";src:url("https://")}',function(c,d){var e=b.getElementById("smodernizr"),f=e.sheet||e.styleSheet,g=f?f.cssRules&&f.cssRules[0]?f.cssRules[0].cssText:f.cssText||"":"";a=/src/i.test(g)&&g.indexOf(d.split(" ")[0])===0}),a},s.generatedcontent=function(){var a;return y(["#",h,"{font:0/0 a}#",h,':after{content:"',l,'";visibility:hidden;font:3px/1 a}'].join(""),function(b){a=b.offsetHeight>=3}),a},s.video=function(){var a=b.createElement("video"),c=!1;try{if(c=!!a.canPlayType)c=new Boolean(c),c.ogg=a.canPlayType('video/ogg; codecs="theora"').replace(/^no$/,""),c.h264=a.canPlayType('video/mp4; codecs="avc1.42E01E"').replace(/^no$/,""),c.webm=a.canPlayType('video/webm; codecs="vp8, vorbis"').replace(/^no$/,"")}catch(d){}return c},s.audio=function(){var a=b.createElement("audio"),c=!1;try{if(c=!!a.canPlayType)c=new Boolean(c),c.ogg=a.canPlayType('audio/ogg; codecs="vorbis"').replace(/^no$/,""),c.mp3=a.canPlayType("audio/mpeg;").replace(/^no$/,""),c.wav=a.canPlayType('audio/wav; codecs="1"').replace(/^no$/,""),c.m4a=(a.canPlayType("audio/x-m4a;")||a.canPlayType("audio/aac;")).replace(/^no$/,"")}catch(d){}return c},s.localstorage=function(){try{return localStorage.setItem(h,h),localStorage.removeItem(h),!0}catch(a){return!1}},s.sessionstorage=function(){try{return sessionStorage.setItem(h,h),sessionStorage.removeItem(h),!0}catch(a){return!1}},s.webworkers=function(){return!!a.Worker},s.applicationcache=function(){return!!a.applicationCache},s.svg=function(){return!!b.createElementNS&&!!b.createElementNS(r.svg,"svg").createSVGRect},s.inlinesvg=function(){var a=b.createElement("div");return a.innerHTML=" ",(a.firstChild&&a.firstChild.namespaceURI)==r.svg},s.smil=function(){return!!b.createElementNS&&/SVGAnimate/.test(m.call(b.createElementNS(r.svg,"animate")))},s.svgclippaths=function(){return!!b.createElementNS&&/SVGClipPath/.test(m.call(b.createElementNS(r.svg,"clipPath")))};for(var K in s)B(s,K)&&(x=K.toLowerCase(),e[x]=s[K](),v.push((e[x]?"":"no-")+x));return e.input||J(),e.addTest=function(a,b){if(typeof a=="object")for(var d in a)B(a,d)&&e.addTest(d,a[d]);else{a=a.toLowerCase();if(e[a]!==c)return e;b=typeof b=="function"?b():b,typeof f!="undefined"&&f&&(g.className+=" "+(b?"":"no-")+a),e[a]=b}return e},C(""),i=k=null,function(a,b){function l(a,b){var c=a.createElement("p"),d=a.getElementsByTagName("head")[0]||a.documentElement;return c.innerHTML="x",d.insertBefore(c.lastChild,d.firstChild)}function m(){var a=s.elements;return typeof a=="string"?a.split(" "):a}function n(a){var b=j[a[h]];return b||(b={},i++,a[h]=i,j[i]=b),b}function o(a,c,d){c||(c=b);if(k)return c.createElement(a);d||(d=n(c));var g;return d.cache[a]?g=d.cache[a].cloneNode():f.test(a)?g=(d.cache[a]=d.createElem(a)).cloneNode():g=d.createElem(a),g.canHaveChildren&&!e.test(a)&&!g.tagUrn?d.frag.appendChild(g):g}function p(a,c){a||(a=b);if(k)return a.createDocumentFragment();c=c||n(a);var d=c.frag.cloneNode(),e=0,f=m(),g=f.length;for(;e",g="hidden"in a,k=a.childNodes.length==1||function(){b.createElement("a");var a=b.createDocumentFragment();return typeof a.cloneNode=="undefined"||typeof a.createDocumentFragment=="undefined"||typeof a.createElement=="undefined"}()}catch(c){g=!0,k=!0}})();var s={elements:d.elements||"abbr article aside audio bdi canvas data datalist details dialog figcaption figure footer header hgroup main mark meter nav output progress section summary template time video",version:c,shivCSS:d.shivCSS!==!1,supportsUnknownElements:k,shivMethods:d.shivMethods!==!1,type:"default",shivDocument:r,createElement:o,createDocumentFragment:p};a.html5=s,r(b)}(this,b),e._version=d,e._prefixes=n,e._domPrefixes=q,e._cssomPrefixes=p,e.hasEvent=z,e.testProp=function(a){return G([a])},e.testAllProps=I,e.testStyles=y,g.className=g.className.replace(/(^|\s)no-js(\s|$)/,"$1$2")+(f?" js "+v.join(" "):""),e}(this,this.document),function(a,b,c){function d(a){return"[object Function]"==o.call(a)}function e(a){return"string"==typeof a}function f(){}function g(a){return!a||"loaded"==a||"complete"==a||"uninitialized"==a}function h(){var a=p.shift();q=1,a?a.t?m(function(){("c"==a.t?B.injectCss:B.injectJs)(a.s,0,a.a,a.x,a.e,1)},0):(a(),h()):q=0}function i(a,c,d,e,f,i,j){function k(b){if(!o&&g(l.readyState)&&(u.r=o=1,!q&&h(),l.onload=l.onreadystatechange=null,b)){"img"!=a&&m(function(){t.removeChild(l)},50);for(var d in y[c])y[c].hasOwnProperty(d)&&y[c][d].onload()}}var j=j||B.errorTimeout,l=b.createElement(a),o=0,r=0,u={t:d,s:c,e:f,a:i,x:j};1===y[c]&&(r=1,y[c]=[]),"object"==a?l.data=c:(l.src=c,l.type=a),l.width=l.height="0",l.onerror=l.onload=l.onreadystatechange=function(){k.call(this,r)},p.splice(e,0,u),"img"!=a&&(r||2===y[c]?(t.insertBefore(l,s?null:n),m(k,j)):y[c].push(l))}function j(a,b,c,d,f){return q=0,b=b||"j",e(a)?i("c"==b?v:u,a,b,this.i++,c,d,f):(p.splice(this.i++,0,a),1==p.length&&h()),this}function k(){var a=B;return a.loader={load:j,i:0},a}var l=b.documentElement,m=a.setTimeout,n=b.getElementsByTagName("script")[0],o={}.toString,p=[],q=0,r="MozAppearance"in l.style,s=r&&!!b.createRange().compareNode,t=s?l:n.parentNode,l=a.opera&&"[object Opera]"==o.call(a.opera),l=!!b.attachEvent&&!l,u=r?"object":l?"script":"img",v=l?"script":u,w=Array.isArray||function(a){return"[object Array]"==o.call(a)},x=[],y={},z={timeout:function(a,b){return b.length&&(a.timeout=b[0]),a}},A,B;B=function(a){function b(a){var a=a.split("!"),b=x.length,c=a.pop(),d=a.length,c={url:c,origUrl:c,prefixes:a},e,f,g;for(f=0;f
'
29 | })
30 |
31 |
32 | // NOTE: POPOVER EXTENDS tooltip.js
33 | // ================================
34 |
35 | Popover.prototype = $.extend({}, $.fn.tooltip.Constructor.prototype)
36 |
37 | Popover.prototype.constructor = Popover
38 |
39 | Popover.prototype.getDefaults = function () {
40 | return Popover.DEFAULTS
41 | }
42 |
43 | Popover.prototype.setContent = function () {
44 | var $tip = this.tip()
45 | var title = this.getTitle()
46 | var content = this.getContent()
47 |
48 | $tip.find('.popover-title')[this.options.html ? 'html' : 'text'](title)
49 | $tip.find('.popover-content').children().detach().end()[ // we use append for html objects to maintain js events
50 | this.options.html ? (typeof content == 'string' ? 'html' : 'append') : 'text'
51 | ](content)
52 |
53 | $tip.removeClass('fade top bottom left right in')
54 |
55 | // IE8 doesn't accept hiding via the `:empty` pseudo selector, we have to do
56 | // this manually by checking the contents.
57 | if (!$tip.find('.popover-title').html()) $tip.find('.popover-title').hide()
58 | }
59 |
60 | Popover.prototype.hasContent = function () {
61 | return this.getTitle() || this.getContent()
62 | }
63 |
64 | Popover.prototype.getContent = function () {
65 | var $e = this.$element
66 | var o = this.options
67 |
68 | return $e.attr('data-content')
69 | || (typeof o.content == 'function' ?
70 | o.content.call($e[0]) :
71 | o.content)
72 | }
73 |
74 | Popover.prototype.arrow = function () {
75 | return (this.$arrow = this.$arrow || this.tip().find('.arrow'))
76 | }
77 |
78 | Popover.prototype.tip = function () {
79 | if (!this.$tip) this.$tip = $(this.options.template)
80 | return this.$tip
81 | }
82 |
83 |
84 | // POPOVER PLUGIN DEFINITION
85 | // =========================
86 |
87 | function Plugin(option) {
88 | return this.each(function () {
89 | var $this = $(this)
90 | var data = $this.data('bs.popover')
91 | var options = typeof option == 'object' && option
92 |
93 | if (!data && option == 'destroy') return
94 | if (!data) $this.data('bs.popover', (data = new Popover(this, options)))
95 | if (typeof option == 'string') data[option]()
96 | })
97 | }
98 |
99 | var old = $.fn.popover
100 |
101 | $.fn.popover = Plugin
102 | $.fn.popover.Constructor = Popover
103 |
104 |
105 | // POPOVER NO CONFLICT
106 | // ===================
107 |
108 | $.fn.popover.noConflict = function () {
109 | $.fn.popover = old
110 | return this
111 | }
112 |
113 | }(jQuery);
114 |
--------------------------------------------------------------------------------
/js/template.js:
--------------------------------------------------------------------------------
1 | // Fix hide dropdown
2 | if (typeof MooTools != 'undefined') {
3 | var mHide = Element.prototype.hide;
4 | Element.implement({
5 | hide: function() {
6 | if (this.hasClass("deeper")) {
7 | return this;
8 | }
9 | mHide.apply(this, arguments);
10 | }
11 | });
12 | }
13 |
14 | (function($){
15 | $(document).ready(function () {
16 | // Dropdown menu
17 | if ($('.parent').children('ul').length > 0) {
18 | $('.parent').addClass('dropdown');
19 | $('.parent > a').addClass('dropdown-toggle');
20 | $('.parent > a').attr('data-toggle', 'dropdown');
21 | $('.parent > a').append(' ');
22 | $('.parent > ul').addClass('dropdown-menu');
23 | }
24 | // Fix hide dropdown
25 | $('.dropdown-menu input, .dropdown-menu label').click(function(e) {
26 | e.stopPropagation();
27 | });
28 | // Tooltip
29 | $('.tooltip').tooltip({
30 | html: true
31 | });
32 | // To top
33 | var offset = 220;
34 | var duration = 500;
35 | $(window).scroll(function() {
36 | if ($(this).scrollTop() > offset) {
37 | $('.back-to-top').fadeIn(duration);
38 | } else {
39 | $('.back-to-top').fadeOut(duration);
40 | }
41 | });
42 | $('.back-to-top').click(function(event) {
43 | event.preventDefault();
44 | $('html, body').animate({scrollTop: 0}, duration);
45 | return false;
46 | });
47 | });
48 | })(jQuery);
--------------------------------------------------------------------------------
/js/tooltip.js:
--------------------------------------------------------------------------------
1 | /* ========================================================================
2 | * Bootstrap: tooltip.js v3.3.2
3 | * http://getbootstrap.com/javascript/#tooltip
4 | * Inspired by the original jQuery.tipsy by Jason Frame
5 | * ========================================================================
6 | * Copyright 2011-2015 Twitter, Inc.
7 | * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
8 | * ======================================================================== */
9 |
10 |
11 | +function ($) {
12 | 'use strict';
13 |
14 | // TOOLTIP PUBLIC CLASS DEFINITION
15 | // ===============================
16 |
17 | var Tooltip = function (element, options) {
18 | this.type =
19 | this.options =
20 | this.enabled =
21 | this.timeout =
22 | this.hoverState =
23 | this.$element = null
24 |
25 | this.init('tooltip', element, options)
26 | }
27 |
28 | Tooltip.VERSION = '3.3.2'
29 |
30 | Tooltip.TRANSITION_DURATION = 150
31 |
32 | Tooltip.DEFAULTS = {
33 | animation: true,
34 | placement: 'top',
35 | selector: false,
36 | template: '',
37 | trigger: 'hover focus',
38 | title: '',
39 | delay: 0,
40 | html: false,
41 | container: false,
42 | viewport: {
43 | selector: 'body',
44 | padding: 0
45 | }
46 | }
47 |
48 | Tooltip.prototype.init = function (type, element, options) {
49 | this.enabled = true
50 | this.type = type
51 | this.$element = $(element)
52 | this.options = this.getOptions(options)
53 | this.$viewport = this.options.viewport && $(this.options.viewport.selector || this.options.viewport)
54 |
55 | var triggers = this.options.trigger.split(' ')
56 |
57 | for (var i = triggers.length; i--;) {
58 | var trigger = triggers[i]
59 |
60 | if (trigger == 'click') {
61 | this.$element.on('click.' + this.type, this.options.selector, $.proxy(this.toggle, this))
62 | } else if (trigger != 'manual') {
63 | var eventIn = trigger == 'hover' ? 'mouseenter' : 'focusin'
64 | var eventOut = trigger == 'hover' ? 'mouseleave' : 'focusout'
65 |
66 | this.$element.on(eventIn + '.' + this.type, this.options.selector, $.proxy(this.enter, this))
67 | this.$element.on(eventOut + '.' + this.type, this.options.selector, $.proxy(this.leave, this))
68 | }
69 | }
70 |
71 | this.options.selector ?
72 | (this._options = $.extend({}, this.options, { trigger: 'manual', selector: '' })) :
73 | this.fixTitle()
74 | }
75 |
76 | Tooltip.prototype.getDefaults = function () {
77 | return Tooltip.DEFAULTS
78 | }
79 |
80 | Tooltip.prototype.getOptions = function (options) {
81 | options = $.extend({}, this.getDefaults(), this.$element.data(), options)
82 |
83 | if (options.delay && typeof options.delay == 'number') {
84 | options.delay = {
85 | show: options.delay,
86 | hide: options.delay
87 | }
88 | }
89 |
90 | return options
91 | }
92 |
93 | Tooltip.prototype.getDelegateOptions = function () {
94 | var options = {}
95 | var defaults = this.getDefaults()
96 |
97 | this._options && $.each(this._options, function (key, value) {
98 | if (defaults[key] != value) options[key] = value
99 | })
100 |
101 | return options
102 | }
103 |
104 | Tooltip.prototype.enter = function (obj) {
105 | var self = obj instanceof this.constructor ?
106 | obj : $(obj.currentTarget).data('bs.' + this.type)
107 |
108 | if (self && self.$tip && self.$tip.is(':visible')) {
109 | self.hoverState = 'in'
110 | return
111 | }
112 |
113 | if (!self) {
114 | self = new this.constructor(obj.currentTarget, this.getDelegateOptions())
115 | $(obj.currentTarget).data('bs.' + this.type, self)
116 | }
117 |
118 | clearTimeout(self.timeout)
119 |
120 | self.hoverState = 'in'
121 |
122 | if (!self.options.delay || !self.options.delay.show) return self.show()
123 |
124 | self.timeout = setTimeout(function () {
125 | if (self.hoverState == 'in') self.show()
126 | }, self.options.delay.show)
127 | }
128 |
129 | Tooltip.prototype.leave = function (obj) {
130 | var self = obj instanceof this.constructor ?
131 | obj : $(obj.currentTarget).data('bs.' + this.type)
132 |
133 | if (!self) {
134 | self = new this.constructor(obj.currentTarget, this.getDelegateOptions())
135 | $(obj.currentTarget).data('bs.' + this.type, self)
136 | }
137 |
138 | clearTimeout(self.timeout)
139 |
140 | self.hoverState = 'out'
141 |
142 | if (!self.options.delay || !self.options.delay.hide) return self.hide()
143 |
144 | self.timeout = setTimeout(function () {
145 | if (self.hoverState == 'out') self.hide()
146 | }, self.options.delay.hide)
147 | }
148 |
149 | Tooltip.prototype.show = function () {
150 | var e = $.Event('show.bs.' + this.type)
151 |
152 | if (this.hasContent() && this.enabled) {
153 | this.$element.trigger(e)
154 |
155 | var inDom = $.contains(this.$element[0].ownerDocument.documentElement, this.$element[0])
156 | if (e.isDefaultPrevented() || !inDom) return
157 | var that = this
158 |
159 | var $tip = this.tip()
160 |
161 | var tipId = this.getUID(this.type)
162 |
163 | this.setContent()
164 | $tip.attr('id', tipId)
165 | this.$element.attr('aria-describedby', tipId)
166 |
167 | if (this.options.animation) $tip.addClass('fade')
168 |
169 | var placement = typeof this.options.placement == 'function' ?
170 | this.options.placement.call(this, $tip[0], this.$element[0]) :
171 | this.options.placement
172 |
173 | var autoToken = /\s?auto?\s?/i
174 | var autoPlace = autoToken.test(placement)
175 | if (autoPlace) placement = placement.replace(autoToken, '') || 'top'
176 |
177 | $tip
178 | .detach()
179 | .css({ top: 0, left: 0, display: 'block' })
180 | .addClass(placement)
181 | .data('bs.' + this.type, this)
182 |
183 | this.options.container ? $tip.appendTo(this.options.container) : $tip.insertAfter(this.$element)
184 |
185 | var pos = this.getPosition()
186 | var actualWidth = $tip[0].offsetWidth
187 | var actualHeight = $tip[0].offsetHeight
188 |
189 | if (autoPlace) {
190 | var orgPlacement = placement
191 | var $container = this.options.container ? $(this.options.container) : this.$element.parent()
192 | var containerDim = this.getPosition($container)
193 |
194 | placement = placement == 'bottom' && pos.bottom + actualHeight > containerDim.bottom ? 'top' :
195 | placement == 'top' && pos.top - actualHeight < containerDim.top ? 'bottom' :
196 | placement == 'right' && pos.right + actualWidth > containerDim.width ? 'left' :
197 | placement == 'left' && pos.left - actualWidth < containerDim.left ? 'right' :
198 | placement
199 |
200 | $tip
201 | .removeClass(orgPlacement)
202 | .addClass(placement)
203 | }
204 |
205 | var calculatedOffset = this.getCalculatedOffset(placement, pos, actualWidth, actualHeight)
206 |
207 | this.applyPlacement(calculatedOffset, placement)
208 |
209 | var complete = function () {
210 | var prevHoverState = that.hoverState
211 | that.$element.trigger('shown.bs.' + that.type)
212 | that.hoverState = null
213 |
214 | if (prevHoverState == 'out') that.leave(that)
215 | }
216 |
217 | $.support.transition && this.$tip.hasClass('fade') ?
218 | $tip
219 | .one('bsTransitionEnd', complete)
220 | .emulateTransitionEnd(Tooltip.TRANSITION_DURATION) :
221 | complete()
222 | }
223 | }
224 |
225 | Tooltip.prototype.applyPlacement = function (offset, placement) {
226 | var $tip = this.tip()
227 | var width = $tip[0].offsetWidth
228 | var height = $tip[0].offsetHeight
229 |
230 | // manually read margins because getBoundingClientRect includes difference
231 | var marginTop = parseInt($tip.css('margin-top'), 10)
232 | var marginLeft = parseInt($tip.css('margin-left'), 10)
233 |
234 | // we must check for NaN for ie 8/9
235 | if (isNaN(marginTop)) marginTop = 0
236 | if (isNaN(marginLeft)) marginLeft = 0
237 |
238 | offset.top = offset.top + marginTop
239 | offset.left = offset.left + marginLeft
240 |
241 | // $.fn.offset doesn't round pixel values
242 | // so we use setOffset directly with our own function B-0
243 | $.offset.setOffset($tip[0], $.extend({
244 | using: function (props) {
245 | $tip.css({
246 | top: Math.round(props.top),
247 | left: Math.round(props.left)
248 | })
249 | }
250 | }, offset), 0)
251 |
252 | $tip.addClass('in')
253 |
254 | // check to see if placing tip in new offset caused the tip to resize itself
255 | var actualWidth = $tip[0].offsetWidth
256 | var actualHeight = $tip[0].offsetHeight
257 |
258 | if (placement == 'top' && actualHeight != height) {
259 | offset.top = offset.top + height - actualHeight
260 | }
261 |
262 | var delta = this.getViewportAdjustedDelta(placement, offset, actualWidth, actualHeight)
263 |
264 | if (delta.left) offset.left += delta.left
265 | else offset.top += delta.top
266 |
267 | var isVertical = /top|bottom/.test(placement)
268 | var arrowDelta = isVertical ? delta.left * 2 - width + actualWidth : delta.top * 2 - height + actualHeight
269 | var arrowOffsetPosition = isVertical ? 'offsetWidth' : 'offsetHeight'
270 |
271 | $tip.offset(offset)
272 | this.replaceArrow(arrowDelta, $tip[0][arrowOffsetPosition], isVertical)
273 | }
274 |
275 | Tooltip.prototype.replaceArrow = function (delta, dimension, isHorizontal) {
276 | this.arrow()
277 | .css(isHorizontal ? 'left' : 'top', 50 * (1 - delta / dimension) + '%')
278 | .css(isHorizontal ? 'top' : 'left', '')
279 | }
280 |
281 | Tooltip.prototype.setContent = function () {
282 | var $tip = this.tip()
283 | var title = this.getTitle()
284 |
285 | $tip.find('.tooltip-inner')[this.options.html ? 'html' : 'text'](title)
286 | $tip.removeClass('fade in top bottom left right')
287 | }
288 |
289 | Tooltip.prototype.hide = function (callback) {
290 | var that = this
291 | var $tip = this.tip()
292 | var e = $.Event('hide.bs.' + this.type)
293 |
294 | function complete() {
295 | if (that.hoverState != 'in') $tip.detach()
296 | that.$element
297 | .removeAttr('aria-describedby')
298 | .trigger('hidden.bs.' + that.type)
299 | callback && callback()
300 | }
301 |
302 | this.$element.trigger(e)
303 |
304 | if (e.isDefaultPrevented()) return
305 |
306 | $tip.removeClass('in')
307 |
308 | $.support.transition && this.$tip.hasClass('fade') ?
309 | $tip
310 | .one('bsTransitionEnd', complete)
311 | .emulateTransitionEnd(Tooltip.TRANSITION_DURATION) :
312 | complete()
313 |
314 | this.hoverState = null
315 |
316 | return this
317 | }
318 |
319 | Tooltip.prototype.fixTitle = function () {
320 | var $e = this.$element
321 | if ($e.attr('title') || typeof ($e.attr('data-original-title')) != 'string') {
322 | $e.attr('data-original-title', $e.attr('title') || '').attr('title', '')
323 | }
324 | }
325 |
326 | Tooltip.prototype.hasContent = function () {
327 | return this.getTitle()
328 | }
329 |
330 | Tooltip.prototype.getPosition = function ($element) {
331 | $element = $element || this.$element
332 |
333 | var el = $element[0]
334 | var isBody = el.tagName == 'BODY'
335 |
336 | var elRect = el.getBoundingClientRect()
337 | if (elRect.width == null) {
338 | // width and height are missing in IE8, so compute them manually; see https://github.com/twbs/bootstrap/issues/14093
339 | elRect = $.extend({}, elRect, { width: elRect.right - elRect.left, height: elRect.bottom - elRect.top })
340 | }
341 | var elOffset = isBody ? { top: 0, left: 0 } : $element.offset()
342 | var scroll = { scroll: isBody ? document.documentElement.scrollTop || document.body.scrollTop : $element.scrollTop() }
343 | var outerDims = isBody ? { width: $(window).width(), height: $(window).height() } : null
344 |
345 | return $.extend({}, elRect, scroll, outerDims, elOffset)
346 | }
347 |
348 | Tooltip.prototype.getCalculatedOffset = function (placement, pos, actualWidth, actualHeight) {
349 | return placement == 'bottom' ? { top: pos.top + pos.height, left: pos.left + pos.width / 2 - actualWidth / 2 } :
350 | placement == 'top' ? { top: pos.top - actualHeight, left: pos.left + pos.width / 2 - actualWidth / 2 } :
351 | placement == 'left' ? { top: pos.top + pos.height / 2 - actualHeight / 2, left: pos.left - actualWidth } :
352 | /* placement == 'right' */ { top: pos.top + pos.height / 2 - actualHeight / 2, left: pos.left + pos.width }
353 |
354 | }
355 |
356 | Tooltip.prototype.getViewportAdjustedDelta = function (placement, pos, actualWidth, actualHeight) {
357 | var delta = { top: 0, left: 0 }
358 | if (!this.$viewport) return delta
359 |
360 | var viewportPadding = this.options.viewport && this.options.viewport.padding || 0
361 | var viewportDimensions = this.getPosition(this.$viewport)
362 |
363 | if (/right|left/.test(placement)) {
364 | var topEdgeOffset = pos.top - viewportPadding - viewportDimensions.scroll
365 | var bottomEdgeOffset = pos.top + viewportPadding - viewportDimensions.scroll + actualHeight
366 | if (topEdgeOffset < viewportDimensions.top) { // top overflow
367 | delta.top = viewportDimensions.top - topEdgeOffset
368 | } else if (bottomEdgeOffset > viewportDimensions.top + viewportDimensions.height) { // bottom overflow
369 | delta.top = viewportDimensions.top + viewportDimensions.height - bottomEdgeOffset
370 | }
371 | } else {
372 | var leftEdgeOffset = pos.left - viewportPadding
373 | var rightEdgeOffset = pos.left + viewportPadding + actualWidth
374 | if (leftEdgeOffset < viewportDimensions.left) { // left overflow
375 | delta.left = viewportDimensions.left - leftEdgeOffset
376 | } else if (rightEdgeOffset > viewportDimensions.width) { // right overflow
377 | delta.left = viewportDimensions.left + viewportDimensions.width - rightEdgeOffset
378 | }
379 | }
380 |
381 | return delta
382 | }
383 |
384 | Tooltip.prototype.getTitle = function () {
385 | var title
386 | var $e = this.$element
387 | var o = this.options
388 |
389 | title = $e.attr('data-original-title')
390 | || (typeof o.title == 'function' ? o.title.call($e[0]) : o.title)
391 |
392 | return title
393 | }
394 |
395 | Tooltip.prototype.getUID = function (prefix) {
396 | do prefix += ~~(Math.random() * 1000000)
397 | while (document.getElementById(prefix))
398 | return prefix
399 | }
400 |
401 | Tooltip.prototype.tip = function () {
402 | return (this.$tip = this.$tip || $(this.options.template))
403 | }
404 |
405 | Tooltip.prototype.arrow = function () {
406 | return (this.$arrow = this.$arrow || this.tip().find('.tooltip-arrow'))
407 | }
408 |
409 | Tooltip.prototype.enable = function () {
410 | this.enabled = true
411 | }
412 |
413 | Tooltip.prototype.disable = function () {
414 | this.enabled = false
415 | }
416 |
417 | Tooltip.prototype.toggleEnabled = function () {
418 | this.enabled = !this.enabled
419 | }
420 |
421 | Tooltip.prototype.toggle = function (e) {
422 | var self = this
423 | if (e) {
424 | self = $(e.currentTarget).data('bs.' + this.type)
425 | if (!self) {
426 | self = new this.constructor(e.currentTarget, this.getDelegateOptions())
427 | $(e.currentTarget).data('bs.' + this.type, self)
428 | }
429 | }
430 |
431 | self.tip().hasClass('in') ? self.leave(self) : self.enter(self)
432 | }
433 |
434 | Tooltip.prototype.destroy = function () {
435 | var that = this
436 | clearTimeout(this.timeout)
437 | this.hide(function () {
438 | that.$element.off('.' + that.type).removeData('bs.' + that.type)
439 | })
440 | }
441 |
442 |
443 | // TOOLTIP PLUGIN DEFINITION
444 | // =========================
445 |
446 | function Plugin(option) {
447 | return this.each(function () {
448 | var $this = $(this)
449 | var data = $this.data('bs.tooltip')
450 | var options = typeof option == 'object' && option
451 |
452 | if (!data && option == 'destroy') return
453 | if (!data) $this.data('bs.tooltip', (data = new Tooltip(this, options)))
454 | if (typeof option == 'string') data[option]()
455 | })
456 | }
457 |
458 | var old = $.fn.tooltip
459 |
460 | $.fn.tooltip = Plugin
461 | $.fn.tooltip.Constructor = Tooltip
462 |
463 |
464 | // TOOLTIP NO CONFLICT
465 | // ===================
466 |
467 | $.fn.tooltip.noConflict = function () {
468 | $.fn.tooltip = old
469 | return this
470 | }
471 |
472 | }(jQuery);
473 |
--------------------------------------------------------------------------------
/offline.php:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gsuez/MasterBootswatch/c2a4c05cab30c0c96aa57d7f4741eb4b43483b7c/offline.php
--------------------------------------------------------------------------------
/templateDetails.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Master Bootswatch
5 | 21 DIC 2014
6 | Gonzalo Suez
7 | Copyright © 2013 gsuez.cl
8 | info@gsuez.cl
9 | http://www.gsuez.cl
10 | Stable 1.0
11 | Master Bootswatch for Joomla! 3.x
13 | Un template para trabajar desde 0 con todas las ventajas de Twitter Bootstrap V 3.3.x
14 | ¡17 estilos de Bootswatch.com!
15 | A template to work from scratch, with all the advantages of Twitter Bootstrap.
16 | 17 Styles from Bootswatch.com!
17 | Created by Gonzalo Suez
18 | ]]>
19 |
20 | css
21 | fonts
22 | html
23 | images
24 | includes
25 | js
26 | component.php
27 | error.php
28 | index.php
29 | offline.php
30 | favicon.ico
31 | templateDetails.xml
32 |
33 |
34 | top
35 | navigation
36 | fullwidth
37 | showcase
38 | feature
39 | breadcrumbs
40 | left
41 | right
42 | content-top
43 | content-bottom
44 | bottom
45 | footer
46 | copy
47 | debug
48 |
49 |
50 |
51 |
52 |
53 | 2
54 | 3
55 | 4
56 | 5
57 |
58 |
59 | 2
60 | 3
61 | 4
62 | 5
63 |
64 |
65 |
66 | JYES
67 | JNO
68 |
69 |
70 |
73 | JNO
74 | JYES
75 |
76 |
77 |
80 | JNO
81 | JYES
82 |
83 |
84 |
87 | JNO
88 | JYES
89 |
90 |
91 |
92 |
93 |
94 |
95 |
96 |
97 |
98 |
99 |
100 |
101 | Default
102 | cerulean
103 | cosmo
104 | cyborg
105 | darkly
106 | flatly
107 | journal
108 | lumen
109 | paper
110 | readable
111 | sandstone
112 | simplex
113 | slate
114 | spacelab
115 | superhero
116 | united
117 | yeti
118 |
119 |
120 |
121 |
122 |
--------------------------------------------------------------------------------