├── .editorconfig ├── .gitattributes ├── .github └── dependabot.yml ├── .gitignore ├── .npmignore ├── .prettierignore ├── LICENSE ├── README.md ├── app ├── fonts │ ├── font-awesome │ │ ├── FontAwesome.otf │ │ ├── fontawesome-webfont.eot │ │ ├── fontawesome-webfont.svg │ │ ├── fontawesome-webfont.ttf │ │ └── fontawesome-webfont.woff │ └── glyphicons │ │ ├── glyphicons-halflings-regular.eot │ │ ├── glyphicons-halflings-regular.svg │ │ ├── glyphicons-halflings-regular.ttf │ │ └── glyphicons-halflings-regular.woff └── less │ ├── alerts.less │ ├── checkbox.less │ ├── labels.less │ ├── metro-bootstrap.less │ ├── modals.less │ ├── navbar-side.less │ ├── radio.less │ ├── slider.less │ ├── switcher.less │ ├── tiles.less │ └── variables.less ├── dist ├── css │ ├── metro-bootstrap.css │ ├── metro-bootstrap.css.map │ └── metro-bootstrap.min.css └── fonts │ ├── font-awesome │ ├── FontAwesome.otf │ ├── fontawesome-webfont.eot │ ├── fontawesome-webfont.svg │ ├── fontawesome-webfont.ttf │ └── fontawesome-webfont.woff │ └── glyphicons │ ├── glyphicons-halflings-regular.eot │ ├── glyphicons-halflings-regular.svg │ ├── glyphicons-halflings-regular.ttf │ └── glyphicons-halflings-regular.woff ├── gulpfile.js ├── metro-bootstrap.nuspec ├── package-lock.json └── package.json /.editorconfig: -------------------------------------------------------------------------------- 1 | # EditorConfig helps developers define and maintain consistent 2 | # coding styles between different editors and IDEs 3 | # http://editorconfig.org 4 | 5 | root = true 6 | 7 | [*] 8 | # Change these settings to your own preference 9 | indent_style = space 10 | indent_size = 2 11 | 12 | # We recommend you to keep these unchanged 13 | end_of_line = lf 14 | charset = utf-8 15 | trim_trailing_whitespace = true 16 | insert_final_newline = true 17 | 18 | [*.md] 19 | trim_trailing_whitespace = false 20 | -------------------------------------------------------------------------------- /.gitattributes: -------------------------------------------------------------------------------- 1 | * text=auto -------------------------------------------------------------------------------- /.github/dependabot.yml: -------------------------------------------------------------------------------- 1 | # To get started with Dependabot version updates, you'll need to specify which 2 | # package ecosystems to update and where the package manifests are located. 3 | # Please see the documentation for all configuration options: 4 | # https://docs.github.com/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file 5 | 6 | version: 2 7 | updates: 8 | - package-ecosystem: "npm" # See documentation for possible values 9 | directory: "/" # Location of package manifests 10 | schedule: 11 | interval: "weekly" 12 | # Raise all npm pull requests with reviewers 13 | reviewers: 14 | - "TalksLab/metro-bootstrap-maintainers" 15 | # Raise all npm pull requests with assignees 16 | assignees: 17 | - "Bashamega" 18 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # Numerous always-ignore extensions 2 | *.diff 3 | *.err 4 | *.orig 5 | *.log 6 | *.rej 7 | *.swo 8 | *.swp 9 | *.zip 10 | *.vi 11 | *~ 12 | 13 | # OS folders 14 | .DS_Store 15 | ._* 16 | Thumbs.db 17 | 18 | # Folders to ignore 19 | .hg 20 | .svn 21 | .CVS 22 | .idea 23 | .nupkg 24 | 25 | node_modules 26 | .tmp 27 | app/bower_components 28 | app/bootstrap 29 | nuget/* -------------------------------------------------------------------------------- /.npmignore: -------------------------------------------------------------------------------- 1 | app/ -------------------------------------------------------------------------------- /.prettierignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | README.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | Apache License 2 | Version 2.0, January 2004 3 | http://www.apache.org/licenses/ 4 | 5 | TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION 6 | 7 | 1. Definitions. 8 | 9 | "License" shall mean the terms and conditions for use, reproduction, 10 | and distribution as defined by Sections 1 through 9 of this document. 11 | 12 | "Licensor" shall mean the copyright owner or entity authorized by 13 | the copyright owner that is granting the License. 14 | 15 | "Legal Entity" shall mean the union of the acting entity and all 16 | other entities that control, are controlled by, or are under common 17 | control with that entity. For the purposes of this definition, 18 | "control" means (i) the power, direct or indirect, to cause the 19 | direction or management of such entity, whether by contract or 20 | otherwise, or (ii) ownership of fifty percent (50%) or more of the 21 | outstanding shares, or (iii) beneficial ownership of such entity. 22 | 23 | "You" (or "Your") shall mean an individual or Legal Entity 24 | exercising permissions granted by this License. 25 | 26 | "Source" form shall mean the preferred form for making modifications, 27 | including but not limited to software source code, documentation 28 | source, and configuration files. 29 | 30 | "Object" form shall mean any form resulting from mechanical 31 | transformation or translation of a Source form, including but 32 | not limited to compiled object code, generated documentation, 33 | and conversions to other media types. 34 | 35 | "Work" shall mean the work of authorship, whether in Source or 36 | Object form, made available under the License, as indicated by a 37 | copyright notice that is included in or attached to the work 38 | (an example is provided in the Appendix below). 39 | 40 | "Derivative Works" shall mean any work, whether in Source or Object 41 | form, that is based on (or derived from) the Work and for which the 42 | editorial revisions, annotations, elaborations, or other modifications 43 | represent, as a whole, an original work of authorship. For the purposes 44 | of this License, Derivative Works shall not include works that remain 45 | separable from, or merely link (or bind by name) to the interfaces of, 46 | the Work and Derivative Works thereof. 47 | 48 | "Contribution" shall mean any work of authorship, including 49 | the original version of the Work and any modifications or additions 50 | to that Work or Derivative Works thereof, that is intentionally 51 | submitted to Licensor for inclusion in the Work by the copyright owner 52 | or by an individual or Legal Entity authorized to submit on behalf of 53 | the copyright owner. For the purposes of this definition, "submitted" 54 | means any form of electronic, verbal, or written communication sent 55 | to the Licensor or its representatives, including but not limited to 56 | communication on electronic mailing lists, source code control systems, 57 | and issue tracking systems that are managed by, or on behalf of, the 58 | Licensor for the purpose of discussing and improving the Work, but 59 | excluding communication that is conspicuously marked or otherwise 60 | designated in writing by the copyright owner as "Not a Contribution." 61 | 62 | "Contributor" shall mean Licensor and any individual or Legal Entity 63 | on behalf of whom a Contribution has been received by Licensor and 64 | subsequently incorporated within the Work. 65 | 66 | 2. Grant of Copyright License. Subject to the terms and conditions of 67 | this License, each Contributor hereby grants to You a perpetual, 68 | worldwide, non-exclusive, no-charge, royalty-free, irrevocable 69 | copyright license to reproduce, prepare Derivative Works of, 70 | publicly display, publicly perform, sublicense, and distribute the 71 | Work and such Derivative Works in Source or Object form. 72 | 73 | 3. Grant of Patent License. Subject to the terms and conditions of 74 | this License, each Contributor hereby grants to You a perpetual, 75 | worldwide, non-exclusive, no-charge, royalty-free, irrevocable 76 | (except as stated in this section) patent license to make, have made, 77 | use, offer to sell, sell, import, and otherwise transfer the Work, 78 | where such license applies only to those patent claims licensable 79 | by such Contributor that are necessarily infringed by their 80 | Contribution(s) alone or by combination of their Contribution(s) 81 | with the Work to which such Contribution(s) was submitted. If You 82 | institute patent litigation against any entity (including a 83 | cross-claim or counterclaim in a lawsuit) alleging that the Work 84 | or a Contribution incorporated within the Work constitutes direct 85 | or contributory patent infringement, then any patent licenses 86 | granted to You under this License for that Work shall terminate 87 | as of the date such litigation is filed. 88 | 89 | 4. Redistribution. You may reproduce and distribute copies of the 90 | Work or Derivative Works thereof in any medium, with or without 91 | modifications, and in Source or Object form, provided that You 92 | meet the following conditions: 93 | 94 | (a) You must give any other recipients of the Work or 95 | Derivative Works a copy of this License; and 96 | 97 | (b) You must cause any modified files to carry prominent notices 98 | stating that You changed the files; and 99 | 100 | (c) You must retain, in the Source form of any Derivative Works 101 | that You distribute, all copyright, patent, trademark, and 102 | attribution notices from the Source form of the Work, 103 | excluding those notices that do not pertain to any part of 104 | the Derivative Works; and 105 | 106 | (d) If the Work includes a "NOTICE" text file as part of its 107 | distribution, then any Derivative Works that You distribute must 108 | include a readable copy of the attribution notices contained 109 | within such NOTICE file, excluding those notices that do not 110 | pertain to any part of the Derivative Works, in at least one 111 | of the following places: within a NOTICE text file distributed 112 | as part of the Derivative Works; within the Source form or 113 | documentation, if provided along with the Derivative Works; or, 114 | within a display generated by the Derivative Works, if and 115 | wherever such third-party notices normally appear. The contents 116 | of the NOTICE file are for informational purposes only and 117 | do not modify the License. You may add Your own attribution 118 | notices within Derivative Works that You distribute, alongside 119 | or as an addendum to the NOTICE text from the Work, provided 120 | that such additional attribution notices cannot be construed 121 | as modifying the License. 122 | 123 | You may add Your own copyright statement to Your modifications and 124 | may provide additional or different license terms and conditions 125 | for use, reproduction, or distribution of Your modifications, or 126 | for any such Derivative Works as a whole, provided Your use, 127 | reproduction, and distribution of the Work otherwise complies with 128 | the conditions stated in this License. 129 | 130 | 5. Submission of Contributions. Unless You explicitly state otherwise, 131 | any Contribution intentionally submitted for inclusion in the Work 132 | by You to the Licensor shall be under the terms and conditions of 133 | this License, without any additional terms or conditions. 134 | Notwithstanding the above, nothing herein shall supersede or modify 135 | the terms of any separate license agreement you may have executed 136 | with Licensor regarding such Contributions. 137 | 138 | 6. Trademarks. This License does not grant permission to use the trade 139 | names, trademarks, service marks, or product names of the Licensor, 140 | except as required for reasonable and customary use in describing the 141 | origin of the Work and reproducing the content of the NOTICE file. 142 | 143 | 7. Disclaimer of Warranty. Unless required by applicable law or 144 | agreed to in writing, Licensor provides the Work (and each 145 | Contributor provides its Contributions) on an "AS IS" BASIS, 146 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or 147 | implied, including, without limitation, any warranties or conditions 148 | of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A 149 | PARTICULAR PURPOSE. You are solely responsible for determining the 150 | appropriateness of using or redistributing the Work and assume any 151 | risks associated with Your exercise of permissions under this License. 152 | 153 | 8. Limitation of Liability. In no event and under no legal theory, 154 | whether in tort (including negligence), contract, or otherwise, 155 | unless required by applicable law (such as deliberate and grossly 156 | negligent acts) or agreed to in writing, shall any Contributor be 157 | liable to You for damages, including any direct, indirect, special, 158 | incidental, or consequential damages of any character arising as a 159 | result of this License or out of the use or inability to use the 160 | Work (including but not limited to damages for loss of goodwill, 161 | work stoppage, computer failure or malfunction, or any and all 162 | other commercial damages or losses), even if such Contributor 163 | has been advised of the possibility of such damages. 164 | 165 | 9. Accepting Warranty or Additional Liability. While redistributing 166 | the Work or Derivative Works thereof, You may choose to offer, 167 | and charge a fee for, acceptance of support, warranty, indemnity, 168 | or other liability obligations and/or rights consistent with this 169 | License. However, in accepting such obligations, You may act only 170 | on Your own behalf and on Your sole responsibility, not on behalf 171 | of any other Contributor, and only if You agree to indemnify, 172 | defend, and hold each Contributor harmless for any liability 173 | incurred by, or claims asserted against, such Contributor by reason 174 | of your accepting any such warranty or additional liability. 175 | 176 | END OF TERMS AND CONDITIONS -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # metro-bootstrap 2 | 3 | Simple bootstrap from Twitter with Metro style. 4 | 5 | 6 | 7 | ## Maintainers Wanted 8 | 9 | Unfortunately, the former maintainers no longer have the time and/or resources to work on this project. This means that bugs will not be fixed and features will not be added unless someone else does so. 10 | 11 | If you're interested in fixing up metro-bootstrap, please reply to this [GitHub issue (#65)](https://github.com/TalksLab/metro-bootstrap/issues/65). 12 | 13 | ## Demo 14 | 15 | For a live preview of the theme, see [http://talkslab.github.com/metro-bootstrap](http://talkslab.github.com/metro-bootstrap). 16 | 17 | ## Repository structure 18 | 19 | In the repository you will find the following directories: 20 | 21 | app/ 22 | ├── fonts/ 23 | │ └── (FontAwesome files) 24 | └── less/ 25 | └── (metro-bootstrap less files) 26 | dist/ 27 | ├── fonts/ 28 | │ └── font-awesome/ 29 | │ │ └── (FontAwesome files) 30 | └── css/ 31 | ├── metro-bootstrap.css 32 | └── metro-bootstrap.min.css 33 | 34 | We provide compiled CSS (`metro-bootstrap.css`) in the dist folder, as well as compiled and minified CSS (`metro-bootstrap.min.css`). 35 | 36 | ## Installation 37 | 38 | You can install and use `metro-bootstrap` in your project using npm: 39 | 40 | ```bash 41 | npm install @talkslab/metro-bootstrap 42 | ``` 43 | 44 | ### Alternatively, you can also use either a **Git clone** or a **CDN**. 45 | 46 | ### 1. Using Git Clone 47 | 48 | To clone the repository and include `metro-bootstrap`: 49 | 50 | ```bash 51 | git clone https://github.com/TalksLab/metro-bootstrap.git 52 | ``` 53 | 54 | After cloning, you can directly link the CSS files located in the `dist/css/` directory in your HTML: 55 | 56 | ```html 57 | 58 | ``` 59 | 60 | ### 2. Using a CDN 61 | 62 | You can include the `metro-bootstrap` CSS directly from a CDN for ease of use. Add the following line in your HTML ``: 63 | 64 | ```html 65 | 66 | ``` 67 | 68 | This will pull the latest compiled and minified CSS directly from the repository. 69 | 70 | ## Installing Dependencies 71 | 72 | We manage dependencies using npm. 73 | 74 | 1. Make sure you have Node.js installed. 75 | 2. Go to the `metro-bootstrap` directory, then run: 76 | 77 | ```bash 78 | npm install 79 | ``` 80 | 81 | This will install the necessary dependencies as specified in the `package.json` file. 82 | 83 | ## Compiling CSS 84 | 85 | We compile `metro-bootstrap` using Gulp. To do so, follow these steps: 86 | 87 | 1. If you don't have Gulp installed globally, you can install it by running: 88 | 89 | ```bash 90 | npm install -g gulp-cli 91 | ``` 92 | 93 | 2. To compile the CSS into the `dist` folder, run: 94 | 95 | ```bash 96 | gulp 97 | ``` 98 | 99 | This command will clean the `dist` directory, compile the LESS files, and copy the fonts. 100 | 101 | ## License 102 | 103 | Licensed under the Apache License, Version 2.0 (the "License"); you may not use this work except in compliance with the License. You may obtain a copy of the License in the LICENSE file, or at: 104 | 105 | [http://www.apache.org/licenses/LICENSE-2.0](http://www.apache.org/licenses/LICENSE-2.0) 106 | 107 | Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. 108 | 109 | -------------------------------------------------------------------------------- /app/fonts/font-awesome/FontAwesome.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TalksLab/metro-bootstrap/80595744da03c6c1390c1252ed3d058d49e6e3c3/app/fonts/font-awesome/FontAwesome.otf -------------------------------------------------------------------------------- /app/fonts/font-awesome/fontawesome-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TalksLab/metro-bootstrap/80595744da03c6c1390c1252ed3d058d49e6e3c3/app/fonts/font-awesome/fontawesome-webfont.eot -------------------------------------------------------------------------------- /app/fonts/font-awesome/fontawesome-webfont.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TalksLab/metro-bootstrap/80595744da03c6c1390c1252ed3d058d49e6e3c3/app/fonts/font-awesome/fontawesome-webfont.ttf -------------------------------------------------------------------------------- /app/fonts/font-awesome/fontawesome-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TalksLab/metro-bootstrap/80595744da03c6c1390c1252ed3d058d49e6e3c3/app/fonts/font-awesome/fontawesome-webfont.woff -------------------------------------------------------------------------------- /app/fonts/glyphicons/glyphicons-halflings-regular.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TalksLab/metro-bootstrap/80595744da03c6c1390c1252ed3d058d49e6e3c3/app/fonts/glyphicons/glyphicons-halflings-regular.eot -------------------------------------------------------------------------------- /app/fonts/glyphicons/glyphicons-halflings-regular.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | 75 | 76 | 77 | 78 | 79 | 80 | 81 | 82 | 83 | 84 | 85 | 86 | 87 | 88 | 89 | 90 | 91 | 92 | 93 | 94 | 95 | 96 | 97 | 98 | 99 | 100 | 101 | 102 | 103 | 104 | 105 | 106 | 107 | 108 | 109 | 110 | 111 | 112 | 113 | 114 | 115 | 116 | 117 | 118 | 119 | 120 | 121 | 122 | 123 | 124 | 125 | 126 | 127 | 128 | 129 | 130 | 131 | 132 | 133 | 134 | 135 | 136 | 137 | 138 | 139 | 140 | 141 | 142 | 143 | 144 | 145 | 146 | 147 | 148 | 149 | 150 | 151 | 152 | 153 | 154 | 155 | 156 | 157 | 158 | 159 | 160 | 161 | 162 | 163 | 164 | 165 | 166 | 167 | 168 | 169 | 170 | 171 | 172 | 173 | 174 | 175 | 176 | 177 | 178 | 179 | 180 | 181 | 182 | 183 | 184 | 185 | 186 | 187 | 188 | 189 | 190 | 191 | 192 | 193 | 194 | 195 | 196 | 197 | 198 | 199 | 200 | 201 | 202 | 203 | 204 | 205 | 206 | 207 | 208 | 209 | 210 | 211 | 212 | 213 | 214 | 215 | 216 | 217 | 218 | 219 | 220 | 221 | 222 | 223 | 224 | 225 | 226 | 227 | 228 | 229 | -------------------------------------------------------------------------------- /app/fonts/glyphicons/glyphicons-halflings-regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TalksLab/metro-bootstrap/80595744da03c6c1390c1252ed3d058d49e6e3c3/app/fonts/glyphicons/glyphicons-halflings-regular.ttf -------------------------------------------------------------------------------- /app/fonts/glyphicons/glyphicons-halflings-regular.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TalksLab/metro-bootstrap/80595744da03c6c1390c1252ed3d058d49e6e3c3/app/fonts/glyphicons/glyphicons-halflings-regular.woff -------------------------------------------------------------------------------- /app/less/alerts.less: -------------------------------------------------------------------------------- 1 | @import "variables.less"; 2 | // 3 | // Alerts 4 | // -------------------------------------------------- 5 | 6 | // Base styles 7 | // ------------------------- 8 | 9 | .alert { 10 | border: none; 11 | color: white; 12 | .alert-link { 13 | color: white; 14 | font-weight: bold; 15 | font-variant: small-caps; 16 | } 17 | } 18 | 19 | // Alternate styles 20 | // 21 | // Generate contextual modifier classes for colorizing the alert. 22 | 23 | .alert-success { 24 | background-color: @btn-success-bg; 25 | } 26 | .alert-info { 27 | background-color: @btn-primary-bg; 28 | } 29 | .alert-warning { 30 | background-color: @btn-warning-bg; 31 | } 32 | .alert-danger { 33 | background-color: @btn-danger-bg; 34 | } 35 | -------------------------------------------------------------------------------- /app/less/checkbox.less: -------------------------------------------------------------------------------- 1 | // Checkboxes 2 | .checkbox { 3 | display: inline-block; 4 | margin-right: 10px; 5 | margin-bottom: 10px; 6 | cursor: pointer; 7 | 8 | & > input[type="checkbox"] { 9 | position: absolute; 10 | opacity: 0; 11 | } 12 | & > span { 13 | } 14 | 15 | .checkbox-label { 16 | padding-left: 28px; 17 | position: relative; 18 | } 19 | 20 | .checkbox-label:before { 21 | position: absolute; 22 | display: block; 23 | height: 24px; 24 | width: 24px; 25 | content: ""; 26 | text-indent: -9999px; 27 | border: 2px #d9d9d9 solid; 28 | z-index: 1; 29 | opacity: 1; 30 | top: 0; 31 | left: 0; 32 | } 33 | 34 | input[type="checkbox"]:checked ~ .checkbox-label:after { 35 | position: absolute; 36 | display: block; 37 | content: "\f00c"; 38 | font-size: 10pt; 39 | height: 14px; 40 | width: 14px; 41 | line-height: 14px; 42 | z-index: 2; 43 | top: 50%; 44 | margin-top: -6px; 45 | left: 0; 46 | margin-left: 4px; 47 | font-family: FontAwesome; 48 | } 49 | } 50 | -------------------------------------------------------------------------------- /app/less/labels.less: -------------------------------------------------------------------------------- 1 | // 2 | // Labels 3 | // -------------------------------------------------- 4 | 5 | .label { 6 | border-radius: 0px; 7 | } 8 | 9 | // Colors 10 | // Contextual variations (linked labels get darker on :hover) 11 | 12 | .label-default { 13 | border-radius: 0px; 14 | } 15 | 16 | .label-primary { 17 | border-radius: 0px; 18 | } 19 | 20 | .label-success { 21 | border-radius: 0px; 22 | } 23 | 24 | .label-info { 25 | border-radius: 0px; 26 | } 27 | 28 | .label-warning { 29 | border-radius: 0px; 30 | } 31 | 32 | .label-danger { 33 | border-radius: 0px; 34 | } 35 | -------------------------------------------------------------------------------- /app/less/metro-bootstrap.less: -------------------------------------------------------------------------------- 1 | /*! 2 | * metro-bootstrap v3.2.0.1 3 | * 4 | * from talkslab based on twitter bootstrap. 5 | */ 6 | 7 | // Core variables and mixins 8 | @import "../bootstrap/variables.less"; 9 | @import "variables.less"; 10 | @import "../bootstrap/mixins.less"; 11 | 12 | // Reset 13 | @import "../bootstrap/normalize.less"; 14 | @import "../bootstrap/print.less"; 15 | 16 | // Core CSS 17 | @import "../bootstrap/scaffolding.less"; 18 | @import "../bootstrap/type.less"; 19 | @import "../bootstrap/code.less"; 20 | @import "../bootstrap/grid.less"; 21 | @import "../bootstrap/tables.less"; 22 | @import "../bootstrap/forms.less"; 23 | @import "../bootstrap/buttons.less"; 24 | 25 | // Components 26 | @import "../bootstrap/component-animations.less"; 27 | @import "../bootstrap/glyphicons.less"; 28 | @import "../bootstrap/dropdowns.less"; 29 | @import "../bootstrap/button-groups.less"; 30 | @import "../bootstrap/input-groups.less"; 31 | @import "../bootstrap/navs.less"; 32 | @import "../bootstrap/navbar.less"; 33 | @import "../bootstrap/breadcrumbs.less"; 34 | @import "../bootstrap/pagination.less"; 35 | @import "../bootstrap/pager.less"; 36 | @import "../bootstrap/labels.less"; 37 | @import "../bootstrap/badges.less"; 38 | @import "../bootstrap/jumbotron.less"; 39 | @import "../bootstrap/thumbnails.less"; 40 | @import "../bootstrap/alerts.less"; 41 | @import "../bootstrap/progress-bars.less"; 42 | @import "../bootstrap/media.less"; 43 | @import "../bootstrap/list-group.less"; 44 | @import "../bootstrap/panels.less"; 45 | @import "../bootstrap/wells.less"; 46 | @import "../bootstrap/close.less"; 47 | 48 | // Components w/ JavaScript 49 | @import "../bootstrap/modals.less"; 50 | @import "../bootstrap/tooltip.less"; 51 | @import "../bootstrap/popovers.less"; 52 | @import "../bootstrap/carousel.less"; 53 | 54 | // Utility classes 55 | @import "../bootstrap/utilities.less"; 56 | @import "../bootstrap/responsive-utilities.less"; 57 | 58 | /* 59 | * metro-bootstrap files 60 | */ 61 | 62 | @import "tiles.less"; 63 | @import "alerts.less"; 64 | @import "checkbox.less"; 65 | @import "radio.less"; 66 | @import "labels.less"; 67 | @import "modals.less"; 68 | @import "navbar-side.less"; 69 | @import "switcher.less"; 70 | @import "slider.less"; 71 | -------------------------------------------------------------------------------- /app/less/modals.less: -------------------------------------------------------------------------------- 1 | // 2 | // Modals 3 | // -------------------------------------------------- 4 | 5 | // Shell div to position the modal with bottom padding 6 | .modal-dialog { 7 | margin-left: auto; 8 | margin-right: auto; 9 | } 10 | -------------------------------------------------------------------------------- /app/less/navbar-side.less: -------------------------------------------------------------------------------- 1 | @import "variables.less"; 2 | @media (min-width: @grid-float-breakpoint) { 3 | .navbar-side { 4 | width: 225px; 5 | margin-left: -225px; 6 | left: 225px; 7 | position: fixed; 8 | height: 100%; 9 | z-index: 1000; 10 | } 11 | 12 | .navbar-side .navbar-header { 13 | float: none; 14 | padding-top: 15px; 15 | } 16 | 17 | .navbar-side .navbar-nav { 18 | float: none; 19 | } 20 | 21 | .navbar-side .navbar-collapse { 22 | padding-right: 0; 23 | padding-left: 0; 24 | padding-top: 30px; 25 | margin-bottom: 50px; 26 | } 27 | 28 | .navbar-side .navbar-nav > li { 29 | float: none; 30 | } 31 | 32 | .navbar-side .navbar-nav > li > a { 33 | display: inline-block; 34 | width: 100%; 35 | padding-left: 25px; 36 | } 37 | 38 | .navbar-side .navbar-nav > li > a:hover { 39 | background: fade(@navbar-inverse-link-hover-bg, 50%); 40 | } 41 | 42 | .navbar-side.navbar-side-closed { 43 | width: 85px; 44 | margin-left: -85px; 45 | left: 85px; 46 | } 47 | 48 | .navbar-side.navbar-side-closed .navbar-nav .fa { 49 | font-size: 2em; 50 | } 51 | 52 | .navbar-side.navbar-side-closed .navbar-nav span { 53 | font-size: 12px; 54 | } 55 | .navbar-side.navbar-side-closed .navbar-nav > li > a { 56 | padding-left: 0px; 57 | padding-right: 0px; 58 | text-align: center; 59 | } 60 | 61 | .navbar-side.navbar-side-closed .navbar-nav > li > a > span { 62 | display: list-item; 63 | } 64 | } 65 | 66 | .navbar-side-options { 67 | padding-left: 0px; 68 | padding-right: 0px; 69 | padding-top: 40px; 70 | width: 100%; 71 | text-align: center; 72 | 73 | @media (max-width: @grid-float-breakpoint) { 74 | display: none; 75 | } 76 | } 77 | -------------------------------------------------------------------------------- /app/less/radio.less: -------------------------------------------------------------------------------- 1 | // Radio 2 | .radio { 3 | display: inline-block; 4 | margin-right: 10px; 5 | margin-bottom: 10px; 6 | cursor: pointer; 7 | 8 | & > input[type="radio"] { 9 | position: absolute; 10 | opacity: 0; 11 | } 12 | & > span { 13 | } 14 | 15 | .radio-label { 16 | padding-left: 28px; 17 | position: relative; 18 | } 19 | 20 | .radio-label:before { 21 | position: absolute; 22 | display: block; 23 | height: 24px; 24 | width: 24px; 25 | content: ""; 26 | text-indent: -9999px; 27 | border: 2px #d9d9d9 solid; 28 | z-index: 1; 29 | opacity: 1; 30 | top: 0; 31 | left: 0; 32 | border-radius: 100%; 33 | } 34 | 35 | input[type="radio"]:checked ~ .radio-label:after { 36 | position: absolute; 37 | display: block; 38 | content: ""; 39 | color: #1a1a1a; 40 | z-index: 2; 41 | font-size: 16px; 42 | font-weight: bold; 43 | left: 10px; 44 | margin-left: -3px; 45 | top: 60%; 46 | margin-top: -4px; 47 | background-color: #1a1a1a; 48 | width: 10px; 49 | height: 10px; 50 | border-radius: 100%; 51 | } 52 | } 53 | -------------------------------------------------------------------------------- /app/less/slider.less: -------------------------------------------------------------------------------- 1 | @import "variables.less"; 2 | .metro-slider { 3 | width: 100%; 4 | max-width: 300px; 5 | margin: 20px 0; 6 | 7 | .slider-range { 8 | -webkit-appearance: none; 9 | width: 100%; 10 | height: 6px; 11 | background: @slider-secondary-color; 12 | outline: none; 13 | border-radius: 5px; 14 | transition: background 0.3s; 15 | 16 | &::-webkit-slider-thumb { 17 | -webkit-appearance: none; 18 | appearance: none; 19 | width: @slider-thumb-size; 20 | height: @slider-thumb-size; 21 | background: @slider-primary-color; 22 | border: 2px solid @slider-accent-color; 23 | border-radius: 50%; 24 | cursor: pointer; 25 | transition: 26 | background 0.3s, 27 | transform 0.3s; 28 | } 29 | 30 | &::-moz-range-thumb { 31 | width: @slider-thumb-size; 32 | height: @slider-thumb-size; 33 | background: @slider-primary-color; 34 | border: 2px solid @slider-accent-color; 35 | border-radius: 50%; 36 | cursor: pointer; 37 | transition: 38 | background 0.3s, 39 | transform 0.3s; 40 | } 41 | 42 | &:hover::-webkit-slider-thumb, 43 | &:hover::-moz-range-thumb { 44 | background: darken(@slider-primary-color, 10%); 45 | transform: scale(1.1); 46 | } 47 | 48 | &:active::-webkit-slider-thumb, 49 | &:active::-moz-range-thumb { 50 | background: lighten(@slider-primary-color, 10%); 51 | transform: scale(1.15); 52 | } 53 | } 54 | } 55 | -------------------------------------------------------------------------------- /app/less/switcher.less: -------------------------------------------------------------------------------- 1 | @import "variables.less"; 2 | 3 | .switch { 4 | position: relative; 5 | display: inline-block; 6 | width: 60px; 7 | height: 30px; 8 | 9 | .switch-checkbox { 10 | opacity: 0; 11 | width: 0; 12 | height: 0; 13 | } 14 | 15 | .switch-label { 16 | position: absolute; 17 | top: 0; 18 | left: 0; 19 | right: 0; 20 | bottom: 0; 21 | cursor: pointer; 22 | background-color: @secondary-color; 23 | border-radius: 15px; 24 | transition: background-color 0.3s; 25 | 26 | .switch-inner { 27 | display: none; 28 | } 29 | 30 | .switch-slider { 31 | position: absolute; 32 | height: 26px; 33 | width: 26px; 34 | top: 2px; 35 | left: 2px; 36 | border-radius: 50%; 37 | background-color: @accent-color; 38 | transition: all 0.3s; 39 | } 40 | } 41 | 42 | .switch-checkbox:checked + .switch-label { 43 | background-color: @primary-color; 44 | 45 | .switch-slider { 46 | transform: translateX(30px); 47 | } 48 | } 49 | } 50 | -------------------------------------------------------------------------------- /app/less/tiles.less: -------------------------------------------------------------------------------- 1 | @import "variables.less"; 2 | .tile { 3 | display: block; 4 | cursor: pointer; 5 | -webkit-perspective: 0; 6 | -webkit-transform-style: preserve-3d; 7 | -webkit-transition: -webkit-transform 0.2s; 8 | float: left; 9 | min-width: 75px; 10 | min-height: 75px; 11 | text-align: center; 12 | opacity: 0.75; 13 | background-color: @tile-bg; 14 | z-index: 1; 15 | border: @tile-border @tile-border-bg solid; 16 | color: @tile-text-color; 17 | position: relative; 18 | 19 | h1, 20 | h2, 21 | h3, 22 | h4, 23 | h5, 24 | h6 { 25 | color: @tile-text-color; 26 | -webkit-user-select: none; 27 | } 28 | h2 { 29 | margin-top: -20px; 30 | margin-left: 0px; 31 | } 32 | h3, 33 | h4 { 34 | margin-top: -15px; 35 | } 36 | 37 | h1.tile-text, 38 | h2.tile-text, 39 | h3.tile-text, 40 | h4.tile-text { 41 | margin-top: 20px; 42 | } 43 | 44 | h1 { 45 | font-size: @tile-font-size-h1; 46 | } 47 | h2 { 48 | font-size: @tile-font-size-h2; 49 | } 50 | h3 { 51 | font-size: @tile-font-size-h3; 52 | } 53 | h4 { 54 | font-size: @tile-font-size-h4; 55 | } 56 | 57 | a:hover { 58 | text-decoration: none; 59 | } 60 | .text-left { 61 | position: absolute; 62 | bottom: 5px; 63 | left: 5px; 64 | color: @gray-light; 65 | } 66 | .text-right { 67 | position: absolute; 68 | bottom: 5px; 69 | right: 5px; 70 | color: @gray-light; 71 | } 72 | } 73 | 74 | .tile img { 75 | border: 0; 76 | } 77 | .tile:hover { 78 | opacity: 1; 79 | } 80 | 81 | .tile .tile-label { 82 | position: absolute; 83 | bottom: 10px; 84 | left: 20px; 85 | font-size: 14px; 86 | color: @tile-text-color; 87 | } 88 | 89 | .tile .tile-content .tile-icon-large { 90 | margin-left: 0px; 91 | vertical-align: middle !important; 92 | text-align: center; 93 | } 94 | 95 | .tile .tile-content { 96 | padding-top: 20px; 97 | line-height: normal; 98 | position: relative; 99 | width: 100%; 100 | -moz-box-sizing: border-box; 101 | box-sizing: border-box; 102 | } 103 | 104 | .tile.tile-sky-blue { 105 | background-color: @sky-blue; 106 | } 107 | .tile.tile-blue { 108 | background-color: @blue; 109 | } 110 | .tile.tile-green { 111 | background-color: @green; 112 | } 113 | .tile.tile-red { 114 | background-color: @red; 115 | } 116 | .tile.tile-yellow { 117 | background-color: @yellow; 118 | } 119 | .tile.tile-orange { 120 | background-color: @orange; 121 | } 122 | .tile.tile-pink { 123 | background-color: @pink; 124 | } 125 | .tile.tile-purple { 126 | background-color: @purple; 127 | } 128 | .tile.tile-lime { 129 | background-color: @lime; 130 | } 131 | .tile.tile-magenta { 132 | background-color: @magenta; 133 | } 134 | .tile.tile-teal { 135 | background-color: @teal; 136 | } 137 | .tile.tile-turquoise { 138 | background-color: @turquoise; 139 | } 140 | .tile.tile-green-sea { 141 | background-color: @green-sea; 142 | } 143 | .tile.tile-emerald { 144 | background-color: @emerald; 145 | } 146 | .tile.tile-nephritis { 147 | background-color: @nephritis; 148 | } 149 | .tile.tile-peter-river { 150 | background-color: @peter-river; 151 | } 152 | .tile.tile-belize-hole { 153 | background-color: @belize-hole; 154 | } 155 | .tile.tile-amethyst { 156 | background-color: @amethyst; 157 | } 158 | .tile.tile-wisteria { 159 | background-color: @wisteria; 160 | } 161 | .tile.tile-wet-asphalt { 162 | background-color: @wet-asphalt; 163 | } 164 | .tile.tile-midnight-blue { 165 | background-color: @midnight-blue; 166 | } 167 | .tile.tile-sun-flower { 168 | background-color: @sun-flower; 169 | } 170 | .tile.tile-carrot { 171 | background-color: @carrot; 172 | } 173 | .tile.tile-pumpkin { 174 | background-color: @pumpkin; 175 | } 176 | .tile.tile-alizarin { 177 | background-color: @alizarin; 178 | } 179 | .tile.tile-pomegranate { 180 | background-color: @pomegranate; 181 | } 182 | .tile.tile-clouds { 183 | background-color: @clouds; 184 | color: @tile-light-text-color; 185 | h1, 186 | h2, 187 | h3, 188 | h4, 189 | h5, 190 | h6 { 191 | color: @tile-light-text-color; 192 | } 193 | } 194 | 195 | .tile.tile-clouds .tile-label { 196 | color: @tile-light-text-color; 197 | } 198 | 199 | .tile.tile-silver { 200 | background-color: @silver; 201 | } 202 | .tile.tile-concrete { 203 | background-color: @concrete; 204 | } 205 | .tile.tile-asbestos { 206 | background-color: @asbestos; 207 | } 208 | 209 | .tile.tile-info { 210 | background-color: @tile-info-bg; 211 | } 212 | .tile.tile-danger { 213 | background-color: @tile-danger-bg; 214 | } 215 | .tile.tile-warning { 216 | background-color: @tile-warning-bg; 217 | } 218 | .tile.tile-success { 219 | background-color: @tile-success-bg; 220 | } 221 | 222 | a.fa-links { 223 | color: #ffffff; 224 | } 225 | a.fa-links:hover, 226 | a.fa-links:focus { 227 | color: #ffffff; 228 | } 229 | 230 | .tile.tile-small { 231 | height: 70px; 232 | width: 70px; 233 | } 234 | .tile.tile-medium { 235 | height: 150px; 236 | width: 150px; 237 | } 238 | .tile.tile-wide, 239 | .tile.tile-double { 240 | height: 150px; 241 | width: 310px; 242 | } 243 | .tile.tile-large { 244 | height: 310px; 245 | width: 310px; 246 | } 247 | .tile.tile-full { 248 | width: 100%; 249 | height: 100%; 250 | } 251 | .tile.tile-h-full { 252 | height: 100%; 253 | } 254 | .tile.tile-w-full { 255 | width: 100%; 256 | } 257 | -------------------------------------------------------------------------------- /app/less/variables.less: -------------------------------------------------------------------------------- 1 | @grid-float-breakpoint: 768px; 2 | @gray-light: #d3d3d3; 3 | @gray: #808080; 4 | @font-size-h1: 2em; // Default value for h1 font size 5 | @font-size-h2: 1.5em; // Default value for h2 font size 6 | @font-size-h3: 1.17em; // Default value for h3 font size 7 | @font-size-h4: 1em; // Default value for h4 font size 8 | @font-size-h5: 0.83em; // Default value for h5 font size 9 | @font-size-h6: 0.67em; // Default value for h6 font size 10 | @btn-success-bg: @green; 11 | @btn-primary-bg: @blue; 12 | @btn-warning-bg: @orange; 13 | @btn-danger-bg: @red; 14 | // Windows 8 Colors (HEX code) 15 | // Refrence: http://www.creepyed.com/2012/09/01/windows-8-colors-hex-code/ 16 | // ------------------------- 17 | @sky-blue: #094ab2; 18 | 19 | // Accent colors 20 | // ------------------------- 21 | @blue: #2e8bcc; 22 | @green: #339933; 23 | @red: #e51400; 24 | @yellow: #ffc40d; 25 | @pink: #e671b8; 26 | @purple: #7b4f9d; 27 | @lime: #8cbf26; 28 | @magenta: #ff0097; 29 | @teal: #00aba9; 30 | @white: #ffffff; 31 | 32 | // Flat colors 33 | // Reference: http://flatuicolors.com/ 34 | // ------------------------- 35 | @turquoise: #1abc9c; 36 | @green-sea: #16a085; 37 | @emerald: #2ecc71; 38 | @nephritis: #27ae60; 39 | @peter-river: #3498db; 40 | @belize-hole: #2980b9; 41 | @amethyst: #9b59b6; 42 | @wisteria: #8e44ad; 43 | @wet-asphalt: #34495e; 44 | @midnight-blue: #2c3e50; 45 | @sun-flower: #f1c40f; 46 | @orange: #f39c12; 47 | @carrot: #e67e22; 48 | @pumpkin: #d35400; 49 | @alizarin: #e74c3c; 50 | @pomegranate: #c0392b; 51 | @clouds: #ecf0f1; 52 | @silver: #bdc3c7; 53 | @concrete: #95a5a6; 54 | @asbestos: #7f8c8d; 55 | 56 | @brand-success: @emerald; 57 | @brand-info: @peter-river; 58 | @brand-warning: @sun-flower; 59 | @brand-danger: @alizarin; 60 | 61 | // Typography 62 | // ------------------------- 63 | 64 | @font-family-sans-serif: "Segoe UI Light", "Segoe UI", "Segoe WP", 65 | "Helvetica Neue", sans-serif; 66 | @font-family-serif: Georgia, "Times New Roman", Times, serif; 67 | @font-family-monospace: Monaco, Menlo, Consolas, "Courier New", monospace; 68 | @font-family-base: @font-family-sans-serif; 69 | 70 | @headings-font-family: "Segoe UI Light", "Helvetica Neue", "Segoe UI", 71 | "Segoe WP", sans-serif; 72 | @headings-font-weight: 100; 73 | 74 | // Components 75 | // ------------------------- 76 | 77 | @border-radius-base: 0px; 78 | @border-radius-large: 0px; 79 | @border-radius-small: 0px; 80 | 81 | // Navbar 82 | // ------------------------- 83 | 84 | // Basics of a navbar 85 | @navbar-default-bg: @blue; 86 | @navbar-default-border: @blue; 87 | 88 | // Navbar links 89 | @navbar-default-link-color: @white; 90 | @navbar-default-link-hover-color: @white; 91 | @navbar-default-link-hover-bg: darken(@navbar-default-bg, 6.5%); 92 | @navbar-default-link-active-color: @white; 93 | @navbar-default-link-active-bg: darken(@navbar-default-bg, 6.5%); 94 | @navbar-default-link-disabled-color: #ccc; 95 | @navbar-default-link-disabled-bg: transparent; 96 | 97 | // Inverted navbar 98 | // 99 | // Reset inverted navbar basics 100 | @navbar-inverse-color: @gray-light; 101 | @navbar-inverse-bg: #222; 102 | @navbar-inverse-border: @navbar-inverse-bg; 103 | 104 | // Inverted navbar links 105 | @navbar-inverse-link-color: @white; 106 | @navbar-inverse-link-hover-color: @white; 107 | @navbar-inverse-link-hover-bg: @gray; 108 | @navbar-inverse-link-active-color: @navbar-inverse-link-hover-color; 109 | @navbar-inverse-link-active-bg: @peter-river; 110 | @navbar-inverse-link-disabled-color: #444; 111 | @navbar-inverse-link-disabled-bg: transparent; 112 | 113 | // Tiles 114 | // ----------------------- 115 | @tile-border: 4px; 116 | @tile-border-bg: @white; 117 | @tile-bg: @blue; 118 | @tile-text-color: @white; 119 | @tile-light-text-color: @wet-asphalt; 120 | 121 | @tile-success-bg: @state-success-bg; 122 | @tile-info-bg: @state-info-bg; 123 | @tile-warning-bg: @state-warning-bg; 124 | @tile-danger-bg: @state-danger-bg; 125 | 126 | @tile-font-size-h1: @font-size-h1; 127 | @tile-font-size-h2: @font-size-h2; 128 | @tile-font-size-h3: @font-size-h3; 129 | @tile-font-size-h4: @font-size-h4; 130 | 131 | // Pager 132 | // ------------------------- 133 | 134 | @pager-border-radius: 0px; 135 | @pager-disabled-color: @gray-light; 136 | 137 | // Badges 138 | // ------------------------- 139 | @badge-border-radius: 0px; 140 | 141 | //== Form states and alerts 142 | // 143 | //## Define colors for form feedback states and, by default, alerts. 144 | 145 | @state-success-bg: @brand-success; 146 | @state-success-border: darken(spin(@state-success-bg, -10), 5%); 147 | 148 | @state-info-bg: @brand-info; 149 | @state-info-border: darken(spin(@state-info-bg, -10), 7%); 150 | 151 | @state-warning-bg: @brand-warning; 152 | @state-warning-border: darken(spin(@state-warning-bg, -10), 5%); 153 | 154 | @state-danger-bg: @brand-danger; 155 | @state-danger-border: darken(spin(@state-danger-bg, -10), 5%); 156 | 157 | //Switcher 158 | // ------------------------- 159 | @primary-color: #00a2ed; // Metro Blue Color 160 | @secondary-color: #e6e6e6; // Light Gray 161 | @accent-color: #fff; // White 162 | @slider-primary-color: #00a2ed; // Metro Blue Color 163 | //Slider 164 | // ------------------------- 165 | @slider-secondary-color: #e6e6e6; // Light Gray 166 | @slider-accent-color: #fff; // White 167 | @slider-thumb-size: 20px; // Size of the thumb button 168 | -------------------------------------------------------------------------------- /dist/fonts/font-awesome/FontAwesome.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TalksLab/metro-bootstrap/80595744da03c6c1390c1252ed3d058d49e6e3c3/dist/fonts/font-awesome/FontAwesome.otf -------------------------------------------------------------------------------- /dist/fonts/font-awesome/fontawesome-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TalksLab/metro-bootstrap/80595744da03c6c1390c1252ed3d058d49e6e3c3/dist/fonts/font-awesome/fontawesome-webfont.eot -------------------------------------------------------------------------------- /dist/fonts/font-awesome/fontawesome-webfont.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TalksLab/metro-bootstrap/80595744da03c6c1390c1252ed3d058d49e6e3c3/dist/fonts/font-awesome/fontawesome-webfont.ttf -------------------------------------------------------------------------------- /dist/fonts/font-awesome/fontawesome-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TalksLab/metro-bootstrap/80595744da03c6c1390c1252ed3d058d49e6e3c3/dist/fonts/font-awesome/fontawesome-webfont.woff -------------------------------------------------------------------------------- /dist/fonts/glyphicons/glyphicons-halflings-regular.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TalksLab/metro-bootstrap/80595744da03c6c1390c1252ed3d058d49e6e3c3/dist/fonts/glyphicons/glyphicons-halflings-regular.eot -------------------------------------------------------------------------------- /dist/fonts/glyphicons/glyphicons-halflings-regular.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | 75 | 76 | 77 | 78 | 79 | 80 | 81 | 82 | 83 | 84 | 85 | 86 | 87 | 88 | 89 | 90 | 91 | 92 | 93 | 94 | 95 | 96 | 97 | 98 | 99 | 100 | 101 | 102 | 103 | 104 | 105 | 106 | 107 | 108 | 109 | 110 | 111 | 112 | 113 | 114 | 115 | 116 | 117 | 118 | 119 | 120 | 121 | 122 | 123 | 124 | 125 | 126 | 127 | 128 | 129 | 130 | 131 | 132 | 133 | 134 | 135 | 136 | 137 | 138 | 139 | 140 | 141 | 142 | 143 | 144 | 145 | 146 | 147 | 148 | 149 | 150 | 151 | 152 | 153 | 154 | 155 | 156 | 157 | 158 | 159 | 160 | 161 | 162 | 163 | 164 | 165 | 166 | 167 | 168 | 169 | 170 | 171 | 172 | 173 | 174 | 175 | 176 | 177 | 178 | 179 | 180 | 181 | 182 | 183 | 184 | 185 | 186 | 187 | 188 | 189 | 190 | 191 | 192 | 193 | 194 | 195 | 196 | 197 | 198 | 199 | 200 | 201 | 202 | 203 | 204 | 205 | 206 | 207 | 208 | 209 | 210 | 211 | 212 | 213 | 214 | 215 | 216 | 217 | 218 | 219 | 220 | 221 | 222 | 223 | 224 | 225 | 226 | 227 | 228 | 229 | -------------------------------------------------------------------------------- /dist/fonts/glyphicons/glyphicons-halflings-regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TalksLab/metro-bootstrap/80595744da03c6c1390c1252ed3d058d49e6e3c3/dist/fonts/glyphicons/glyphicons-halflings-regular.ttf -------------------------------------------------------------------------------- /dist/fonts/glyphicons/glyphicons-halflings-regular.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TalksLab/metro-bootstrap/80595744da03c6c1390c1252ed3d058d49e6e3c3/dist/fonts/glyphicons/glyphicons-halflings-regular.woff -------------------------------------------------------------------------------- /gulpfile.js: -------------------------------------------------------------------------------- 1 | const gulp = require("gulp"); 2 | const less = require("gulp-less"); 3 | const path = require("path"); 4 | const clean = require("gulp-clean"); 5 | const cssmin = require("gulp-cssnano"); 6 | const plumber = require("gulp-plumber"); 7 | const rename = require("gulp-rename"); 8 | const sourcemaps = require("gulp-sourcemaps"); // Import sourcemaps 9 | 10 | // Define paths 11 | // Define paths 12 | const paths = { 13 | less: "app/less/metro-bootstrap.less", // Main LESS file 14 | dist: "dist/css/", // Destination folder for compiled CSS 15 | fonts: "app/fonts/**/*", // Path to the original font files 16 | fontsDist: "dist/fonts/", // Destination for moved font files 17 | }; 18 | 19 | // Task to compile LESS files 20 | gulp.task("less", function () { 21 | return ( 22 | gulp 23 | .src(paths.less) 24 | .pipe( 25 | plumber({ 26 | errorHandler: function (err) { 27 | console.error("Error!", err.message); 28 | this.emit("end"); 29 | }, 30 | }), 31 | ) 32 | .pipe(sourcemaps.init()) // Initialize sourcemaps 33 | .pipe( 34 | less({ 35 | paths: [path.join(__dirname, "app/less")], 36 | }), 37 | ) 38 | .pipe(rename("metro-bootstrap.css")) // Rename to metro-bootstrap.css 39 | .pipe(gulp.dest(paths.dist)) // Output the non-minified CSS 40 | 41 | .pipe(cssmin()) // Minify CSS 42 | .pipe(rename("metro-bootstrap.min.css")) // Rename to metro-bootstrap.min.css 43 | .pipe(gulp.dest(paths.dist)) // Output the minified CSS 44 | 45 | // Write sourcemaps after minification 46 | .pipe( 47 | sourcemaps.write(".", { 48 | mapFile: function () { 49 | return "metro-bootstrap.css.map"; // Rename the sourcemap file 50 | }, 51 | }), 52 | ) 53 | .pipe(gulp.dest(paths.dist)) 54 | ); // Output the source map 55 | }); 56 | 57 | // Task to copy font files 58 | gulp.task("fonts", function () { 59 | return gulp 60 | .src(paths.fonts) // Source font files 61 | .pipe(gulp.dest(paths.fontsDist)); // Destination for font files 62 | }); 63 | 64 | // Task to clean the dist folder 65 | gulp.task("clean", function () { 66 | return gulp.src("dist", { read: false, allowEmpty: true }).pipe(clean()); 67 | }); 68 | 69 | // Default task to clean, compile LESS, and copy fonts 70 | gulp.task("default", gulp.series("clean", "less", "fonts")); 71 | -------------------------------------------------------------------------------- /metro-bootstrap.nuspec: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 8 | metro-bootstrap 9 | 10 | 13 | 0.0.0 14 | 15 | 16 | TalksLab 17 | TalksLab 18 | false 19 | Copyright 2014 20 | 21 | 22 | metro-bootstrap: Twitter Bootstrap with Metro style 23 | - 24 | twitter bootstrap css metro responsive html5 talkslab 25 | 26 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@talkslab/metro-bootstrap", 3 | "version": "3.3.1", 4 | "main": "./dist/css/metro-bootstrap.css", 5 | "keywords": [ 6 | "Bootstrap", 7 | "UI", 8 | "Metro" 9 | ], 10 | "scripts": { 11 | "prettier:check": "prettier . --check", 12 | "prettier:write": "prettier . --write" 13 | }, 14 | "author": "TalksLab", 15 | "license": "Apache-2.0", 16 | "publishConfig": { 17 | "access": "public" 18 | }, 19 | "repository": { 20 | "type": "git", 21 | "url": "https://github.com/TalksLab/metro-bootstrap" 22 | }, 23 | "homepage": "http://talkslab.github.io/metro-bootstrap", 24 | "devDependencies": { 25 | "browser-sync": "^3.0.4", 26 | "gulp": "^5.0.0", 27 | "gulp-clean": "^0.4.0", 28 | "gulp-concat": "^2.6.1", 29 | "gulp-connect": "^5.7.0", 30 | "gulp-copy": "^5.0.0", 31 | "gulp-cssmin": "^0.2.0", 32 | "gulp-cssnano": "^2.1.3", 33 | "gulp-htmlmin": "^5.0.1", 34 | "gulp-if": "^3.0.0", 35 | "gulp-imagemin": "^9.1.0", 36 | "gulp-jshint": "^2.1.0", 37 | "gulp-less": "^5.0.0", 38 | "gulp-livereload": "^4.0.2", 39 | "gulp-load-plugins": "^2.0.7", 40 | "gulp-mocha": "^10.0.1", 41 | "gulp-plumber": "^1.2.1", 42 | "gulp-rename": "^2.0.0", 43 | "gulp-rev": "^11.0.0", 44 | "gulp-rev-replace": "^0.4.3", 45 | "gulp-sourcemaps": "^3.0.0", 46 | "gulp-svgmin": "^4.1.0", 47 | "gulp-svgo": "^2.2.1", 48 | "gulp-uglify": "^3.0.2", 49 | "gulp-usemin": "^0.3.30", 50 | "gulp-watch": "^5.0.1", 51 | "jshint-stylish": "^2.2.1", 52 | "prettier": "3.5.3" 53 | }, 54 | "dependencies": { 55 | "bootstrap": "^5.3.6", 56 | "font-awesome": "^4.7.0" 57 | } 58 | } 59 | --------------------------------------------------------------------------------