├── .editorconfig ├── .eslintrc.js ├── .gitignore ├── .sass-lint.yml ├── LICENSE ├── README.md ├── Version Updating.txt ├── _fonts └── bootstrap │ ├── glyphicons-halflings-regular.svg │ ├── glyphicons-halflings-regular.ttf │ └── glyphicons-halflings-regular.woff ├── _img ├── favicon.ico ├── ftux_arrow.svg ├── icon16.png ├── icon32.png ├── logo.png ├── macicon.icns └── ugui.png ├── _markup ├── ugui-about.htm ├── ugui-devtools.htm └── ugui-multiargnames.htm ├── _sass ├── _app.sass ├── _footer.sass ├── _header.sass ├── _main.sass ├── _mediaqueries.sass ├── _meyer.sass ├── _normalize.sass ├── _ugui.sass ├── _var.sass ├── _ven.bootstrap-slider.scss ├── _ven.bootstrap.theme.scss ├── _ven.dropdown-enhance.sass ├── _ven.ezdz.sass ├── style.scss ├── ugui-devtools.sass ├── ven.bootstrap.scss ├── ven.bootstrap │ ├── _alerts.scss │ ├── _badges.scss │ ├── _breadcrumbs.scss │ ├── _button-groups.scss │ ├── _buttons.scss │ ├── _carousel.scss │ ├── _close.scss │ ├── _code.scss │ ├── _component-animations.scss │ ├── _dropdowns.scss │ ├── _forms.scss │ ├── _glyphicons.scss │ ├── _grid.scss │ ├── _input-groups.scss │ ├── _jumbotron.scss │ ├── _labels.scss │ ├── _list-group.scss │ ├── _media.scss │ ├── _mixins.scss │ ├── _modals.scss │ ├── _navbar.scss │ ├── _navs.scss │ ├── _normalize.scss │ ├── _pager.scss │ ├── _pagination.scss │ ├── _panels.scss │ ├── _popovers.scss │ ├── _print.scss │ ├── _progress-bars.scss │ ├── _responsive-embed.scss │ ├── _responsive-utilities.scss │ ├── _scaffolding.scss │ ├── _tables.scss │ ├── _theme.scss │ ├── _thumbnails.scss │ ├── _tooltip.scss │ ├── _type.scss │ ├── _utilities.scss │ ├── _variables.scss │ ├── _wells.scss │ ├── bootstrap.scss │ └── mixins │ │ ├── _alerts.scss │ │ ├── _background-variant.scss │ │ ├── _border-radius.scss │ │ ├── _buttons.scss │ │ ├── _center-block.scss │ │ ├── _clearfix.scss │ │ ├── _forms.scss │ │ ├── _gradients.scss │ │ ├── _grid-framework.scss │ │ ├── _grid.scss │ │ ├── _hide-text.scss │ │ ├── _image.scss │ │ ├── _labels.scss │ │ ├── _list-group.scss │ │ ├── _nav-divider.scss │ │ ├── _nav-vertical-align.scss │ │ ├── _opacity.scss │ │ ├── _pagination.scss │ │ ├── _panels.scss │ │ ├── _progress-bar.scss │ │ ├── _reset-filter.scss │ │ ├── _resize.scss │ │ ├── _responsive-visibility.scss │ │ ├── _size.scss │ │ ├── _tab-focus.scss │ │ ├── _table-row.scss │ │ ├── _text-emphasis.scss │ │ ├── _text-overflow.scss │ │ └── _vendor-prefixes.scss └── ven.bootswatch │ ├── amelia │ ├── _bootswatch.scss │ └── _variables.scss │ ├── cerulean │ ├── _bootswatch.scss │ └── _variables.scss │ ├── cosmo │ ├── _bootswatch.scss │ └── _variables.scss │ ├── custom │ ├── _bootswatch.scss │ └── _variables.scss │ ├── cyborg │ ├── _bootswatch.scss │ └── _variables.scss │ ├── darkly │ ├── _bootswatch.scss │ └── _variables.scss │ ├── flatly │ ├── _bootswatch.scss │ └── _variables.scss │ ├── journal │ ├── _bootswatch.scss │ └── _variables.scss │ ├── lumen │ ├── _bootswatch.scss │ └── _variables.scss │ ├── paper │ ├── _bootswatch.scss │ └── _variables.scss │ ├── readable │ ├── _bootswatch.scss │ └── _variables.scss │ ├── sandstone │ ├── _bootswatch.scss │ └── _variables.scss │ ├── simplex │ ├── _bootswatch.scss │ └── _variables.scss │ ├── slate │ ├── _bootswatch.scss │ └── _variables.scss │ ├── spacelab │ ├── _bootswatch.scss │ └── _variables.scss │ ├── superhero │ ├── _bootswatch.scss │ └── _variables.scss │ ├── united │ ├── _bootswatch.scss │ └── _variables.scss │ └── yeti │ ├── _bootswatch.scss │ └── _variables.scss ├── _scripts ├── app.js ├── menubar.js ├── node.js ├── tray.js ├── ugui.js ├── ven.bootstrap-3.2.0.min.js ├── ven.bootstrap-slider.min.js ├── ven.dropdowns-enhancement.js └── ven.jquery-2.1.1.min.js ├── _style ├── style.css ├── ugui-devtools.css ├── ven.bootstrap.css ├── ven.bootstrap │ └── bootstrap.css └── ven.bootswatch │ ├── cerulean.min.css │ ├── classic.min.css │ ├── cosmo.min.css │ ├── cyborg.min.css │ ├── darkly.min.css │ ├── default.min.css │ ├── flatly.min.css │ ├── journal.min.css │ ├── lumen.min.css │ ├── none.min.css │ ├── paper.min.css │ ├── readable.min.css │ ├── sandstone.min.css │ ├── simplex.min.css │ ├── slate.min.css │ ├── spacelab.min.css │ ├── superhero.min.css │ ├── united.min.css │ └── yeti.min.css ├── index.htm ├── package (annotated).json ├── package.json └── sasslinter.js /.editorconfig: -------------------------------------------------------------------------------- 1 | # EditorConfig is awesome: http://EditorConfig.org 2 | 3 | # top-most EditorConfig file 4 | root = true 5 | 6 | # Unix-style newlines with a newline ending every file 7 | [*] 8 | end_of_line = crlf 9 | insert_final_newline = true 10 | 11 | # Matches multiple files with brace expansion notation 12 | # Set default charset 13 | [*.{js,css,html}] 14 | charset = utf-8 15 | 16 | # 4 space indentation 17 | [*.{js,css}] 18 | indent_style = space 19 | indent_size = 4 20 | 21 | # Indentation override for all JS under lib directory 22 | [*.{html}] 23 | indent_style = space 24 | indent_size = 2 25 | -------------------------------------------------------------------------------- /.eslintrc.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | "env": { 3 | "browser": true, 4 | "node": true 5 | }, 6 | "extends": "eslint:recommended", 7 | "rules": { 8 | "comma-dangle": ["error", "never"], 9 | "comma-spacing": ["error", { "before": false, "after": true }], 10 | "comma-style": ["error", "last"], 11 | "curly": ["error"], 12 | "indent": ["error", 4, { "SwitchCase": 1 }], 13 | "linebreak-style": ["error", "windows"], 14 | "no-multi-spaces": ["error"], 15 | "no-ternary": ["error"], 16 | "one-var": ["error", "never"], 17 | "quotes": ["error", "single"], 18 | "semi": ["error", "always"], 19 | "space-before-function-paren": ["error", "always"], 20 | "space-in-parens": ["error", "never"], 21 | "space-infix-ops": ["error"], 22 | "spaced-comment": ["error", "always"] 23 | } 24 | }; 25 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # Logs 2 | logs 3 | *.log 4 | 5 | # OSX 6 | .DS_Store 7 | 8 | # Sass cache 9 | .sass-cache/* 10 | .sass-cache 11 | 12 | # Runtime data 13 | pids 14 | *.pid 15 | *.seed 16 | 17 | # Directory for instrumented libs generated by jscoverage/JSCover 18 | lib-cov 19 | 20 | # Coverage directory used by tools like istanbul 21 | coverage 22 | 23 | # Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files) 24 | .grunt 25 | 26 | # Compiled binary addons (http://nodejs.org/api/addons.html) 27 | build/Release 28 | 29 | # Dependency directory 30 | # Commenting this out is preferred by some people, see 31 | # https://www.npmjs.org/doc/misc/npm-faq.html#should-i-check-my-node_modules-folder-into-git- 32 | node_modules 33 | 34 | # Users Environment Variables 35 | .lock-wscript 36 | 37 | .idea/ 38 | -------------------------------------------------------------------------------- /.sass-lint.yml: -------------------------------------------------------------------------------- 1 | ######################### 2 | ## Sample Sass Lint File 3 | ######################### 4 | # Linter Options 5 | options: 6 | # Don't merge default rules 7 | merge-default-rules: false 8 | # Raise an error if more than 50 warnings are generated 9 | max-warnings: 50 10 | formatter: json 11 | # File Options 12 | files: 13 | include: '_sass/*.s+(a|c)ss' 14 | # Rule Configuration 15 | rules: 16 | attribute-quotes: 2 17 | brace-style: 18 | - 2 19 | - allow-single-line: false 20 | - style: '1tbs' 21 | declarations-before-nesting: 2 22 | empty-args: 23 | - 2 24 | - include: false 25 | extends-before-declarations: 2 26 | extends-before-mixins: 2 27 | final-newline: 28 | - 2 29 | - include: true 30 | hex-length: 31 | - 2 32 | - style: short 33 | hex-notation: 34 | - 2 35 | - style: uppercase 36 | indentation: 37 | - 2 38 | - size: 4 39 | leading-zero: 40 | - 2 41 | - include: true 42 | mixins-before-declarations: 43 | - 2 44 | - exclude: 45 | - breakpoint 46 | - mq 47 | no-color-keywords: 1 48 | no-debug: 1 49 | no-duplicate-properties: 2 50 | no-empty-rulesets: 2 51 | no-important: 2 52 | no-invalid-hex: 1 53 | no-mergeable-selectors: 2 54 | no-misspelled-properties: 1 55 | no-qualifying-elements: 56 | - 2 57 | - allow-element-with-attribute: true 58 | - allow-element-with-class: false 59 | - allow-element-with-id: false 60 | no-trailing-whitespace: 1 61 | no-warn: 1 62 | placeholder-in-extend: 2 63 | property-sort-order: 64 | - 1 65 | - ignore-custom-properties: true 66 | order: 67 | - content 68 | 69 | - position 70 | - top 71 | - right 72 | - bottom 73 | - left 74 | 75 | - display 76 | - align-content 77 | - align-items 78 | - align-self 79 | - flex 80 | - flex-basis 81 | - flex-direction 82 | - flex-flow 83 | - flex-grow 84 | - flex-shrink 85 | - flex-wrap 86 | - justify-content 87 | - order 88 | 89 | - width 90 | - height 91 | - min-width 92 | - min-height 93 | - max-width 94 | - max-height 95 | 96 | - background 97 | - background-color 98 | - background-image 99 | - background-position 100 | - background-repeat 101 | - background-size 102 | 103 | - border 104 | - border-width 105 | - border-style 106 | - border-color 107 | - border-top 108 | - border-top-width 109 | - border-top-style 110 | - border-top-color 111 | - border-right 112 | - border-right-width 113 | - border-right-style 114 | - border-right-color 115 | - border-bottom 116 | - border-bottom-width 117 | - border-bottom-style 118 | - border-bottom-color 119 | - border-left 120 | - border-left-width 121 | - border-left-style 122 | - border-left-color 123 | - border-radius 124 | - border-top-left-radius 125 | - border-top-right-radius 126 | - border-bottom-right-radius 127 | - border-bottom-left-radius 128 | - margin 129 | - margin-top 130 | - margin-right 131 | - margin-bottom 132 | - margin-left 133 | - padding 134 | - padding-top 135 | - padding-right 136 | - padding-bottom 137 | - padding-left 138 | 139 | - color 140 | - font-family 141 | - font-size 142 | - -webkit-font-smoothing 143 | - font-smoothing 144 | - font-style 145 | - font-weight 146 | - font-variant 147 | - letter-spacing 148 | - line-height 149 | - list-style 150 | - list-style-image 151 | - list-style-position 152 | - list-style-type 153 | - speak 154 | - text-align 155 | - text-decoration 156 | - text-overflow 157 | - text-rendering 158 | - text-shadow 159 | - text-transform 160 | - white-space 161 | - word-break 162 | 163 | - box-shadow 164 | - clear 165 | - cursor 166 | - float 167 | - opacity 168 | - outline 169 | - outline-offset 170 | - overflow 171 | - perspective 172 | - pointer-events 173 | - -webkit-transform 174 | - transform 175 | - -webkit-transition 176 | - transition 177 | - vertical-align 178 | - visibility 179 | - z-index 180 | single-line-per-selector: 1 181 | space-after-bang: 182 | - 2 183 | - include: false 184 | space-after-colon: 185 | - 1 186 | - include: true 187 | space-after-comma: 188 | - 1 189 | - include: true 190 | space-around-operator: 191 | - 1 192 | - include: true 193 | space-before-bang: 194 | - 1 195 | - include: true 196 | space-before-brace: 197 | - 1 198 | - include: true 199 | space-before-colon: 200 | - 1 201 | - include: false 202 | space-between-parens: 203 | - 1 204 | - include: false 205 | trailing-semicolon: 206 | - 1 207 | - include: true 208 | url-quotes: 1 209 | zero-unit: 210 | - 1 211 | - include: true 212 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) 2014 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /Version Updating.txt: -------------------------------------------------------------------------------- 1 | UGUI\README.md:18 //Release Download 2 | UGUI\README.md:62 //Master Branch Version 3 | UGUI\README.md:66 //Remove items if complete 4 | UGUI\_markup\ugui-about.htm:3 //Master Branch Version (not important) 5 | UGUI\_markup\ugui-devtools.htm:40 //Master Branch Version (not important) 6 | UGUI\_scripts\ugui.js:119 //Master Branch Version (important) 7 | UniversalGUI.github.io\docs\update.bat //Run Docco, rename generated files 8 | -------------------------------------------------------------------------------- /_fonts/bootstrap/glyphicons-halflings-regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/UniversalGUI/UGUI/948d03474ee3b3f7d32a89d20ab04e873d81b8a5/_fonts/bootstrap/glyphicons-halflings-regular.ttf -------------------------------------------------------------------------------- /_fonts/bootstrap/glyphicons-halflings-regular.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/UniversalGUI/UGUI/948d03474ee3b3f7d32a89d20ab04e873d81b8a5/_fonts/bootstrap/glyphicons-halflings-regular.woff -------------------------------------------------------------------------------- /_img/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/UniversalGUI/UGUI/948d03474ee3b3f7d32a89d20ab04e873d81b8a5/_img/favicon.ico -------------------------------------------------------------------------------- /_img/icon16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/UniversalGUI/UGUI/948d03474ee3b3f7d32a89d20ab04e873d81b8a5/_img/icon16.png -------------------------------------------------------------------------------- /_img/icon32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/UniversalGUI/UGUI/948d03474ee3b3f7d32a89d20ab04e873d81b8a5/_img/icon32.png -------------------------------------------------------------------------------- /_img/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/UniversalGUI/UGUI/948d03474ee3b3f7d32a89d20ab04e873d81b8a5/_img/logo.png -------------------------------------------------------------------------------- /_img/macicon.icns: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/UniversalGUI/UGUI/948d03474ee3b3f7d32a89d20ab04e873d81b8a5/_img/macicon.icns -------------------------------------------------------------------------------- /_img/ugui.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/UniversalGUI/UGUI/948d03474ee3b3f7d32a89d20ab04e873d81b8a5/_img/ugui.png -------------------------------------------------------------------------------- /_markup/ugui-about.htm: -------------------------------------------------------------------------------- 1 |
2 |
3 | V1.3.0 4 |

About Universal GUI

5 |
6 |
7 |

8 | The Universal Graphical User Interface (UGUI) enables you to create your own desktop applications in minutes.
9 |
10 | UGUI uses 11 | NW.js, 12 | Chromium, 13 | IO.js, 14 | jQuery, 15 | Bootstrap, 16 | Bootswatch, 17 | Sass, 18 | ezdz, 19 | Bootstrap Slider, 20 | Bootstrap Dropdowns Enhancement, and 21 | nw-contextmenu. 22 |
23 |
24 | NW.js uses Node.js/IO.js, parts of Chromium, Webkit, and V8. For a full listing of technologies used by NW.js visit nwjs.io.
25 |
26 | Contributors to the UGUI Project:
27 | 28 | 29 | 34 | 35 | 36 | TheJaredWilcurt 37 | TheJaredWilcurt, 38 | 39 | hai5nguy 40 | hai5nguy, 41 | 42 | danodea 43 | danodea, 44 | 45 | StephanRaab 46 | StephanRaab, 47 | 48 | gwatt 49 | gwatt, 50 | 51 | boymanjor 52 | Boyma Fahnbulleh, 53 | 54 | smckinney1 55 | Shannon McKinney 56 | 57 |

58 |
59 |
60 | -------------------------------------------------------------------------------- /_markup/ugui-devtools.htm: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 19 | 20 | 21 | 22 |
23 | UGUI Logo 24 |

UGUI Developer Tools

25 |

Watch the UGUI Introduction video in fullscreen.

26 |

To hide the UGUI Developer Tools change the <body role="document" class="dev"> to <body role="document" class="prod">.

27 |

You are using version 1.3.0 of UGUI.

28 |
29 | 30 | 31 | 32 |
33 | Select an executable to preview its output. 34 | 35 |

36 |   
37 | 38 | 39 | 40 |
41 |

Active key bindings while in developer mode:

42 | 48 |
49 | 50 | 51 | 52 |
53 |

Test out different looks for your application. Click 'Keep' to use the currently display style

54 | 55 | 56 | Saved 57 |
58 | 59 | 60 | 61 |
62 |
Get information from your executable. 63 | 64 | 79 |
80 |

81 |   
82 | 83 | 84 | 85 |
86 | -------------------------------------------------------------------------------- /_markup/ugui-multiargnames.htm: -------------------------------------------------------------------------------- 1 | 6 | -------------------------------------------------------------------------------- /_sass/_app.sass: -------------------------------------------------------------------------------- 1 | 2 | // App specific styles 3 | -------------------------------------------------------------------------------- /_sass/_footer.sass: -------------------------------------------------------------------------------- 1 | 2 | // Put any Sass styling here for the Footer section 3 | -------------------------------------------------------------------------------- /_sass/_header.sass: -------------------------------------------------------------------------------- 1 | 2 | // Put any custom Sass here for the header, navigation, and breadcrumbs 3 | 4 | .navbar-brand 5 | cursor: default 6 | img 7 | max-width: 32px 8 | max-height: 32px 9 | margin: 0px 7px 0px 0px 10 | 11 | .drag-enable 12 | -webkit-app-region: drag 13 | 14 | .drag-disable 15 | -webkit-app-region: no-drag 16 | -------------------------------------------------------------------------------- /_sass/_main.sass: -------------------------------------------------------------------------------- 1 | 2 | // The main document, every page refers to this basic document 3 | 4 | *, 5 | *:before, 6 | *:after 7 | box-sizing: border-box 8 | 9 | html 10 | +bmp0 11 | width: 100% 12 | height: 100% 13 | 14 | body 15 | +bmp0 16 | width: 100% 17 | padding-top: 57px 18 | 19 | input[type="color"] 20 | +bmp0 21 | width: 3em 22 | height: 1.5em 23 | background: transparent 24 | 25 | .truncate 26 | white-space: nowrap 27 | overflow: hidden 28 | text-overflow: ellipsis 29 | 30 | .row 31 | margin-top: 8px 32 | 33 | .vtop, 34 | .vmiddle, 35 | .vcenter, 36 | .vbottom 37 | display: inline-block 38 | float: none 39 | 40 | .vtop 41 | vertical-align: top 42 | 43 | .vmiddle, 44 | .vcenter 45 | vertical-align: middle 46 | 47 | .vbottom 48 | vertical-align: bottom 49 | -------------------------------------------------------------------------------- /_sass/_mediaqueries.sass: -------------------------------------------------------------------------------- 1 | 2 | // Media Queries that alter the styles on the page depending on browser width 3 | 4 | // Extra small devices (phones, less than 768px) 5 | // No media query since this is the default in Bootstrap 6 | 7 | // Small devices (tablets) 8 | // @media (min-width: 768px) 9 | 10 | // Medium devices (desktops) 11 | // @media (min-width: 992px) 12 | 13 | // Large devices (large desktops) 14 | // @media (min-width: 1200px) 15 | -------------------------------------------------------------------------------- /_sass/_meyer.sass: -------------------------------------------------------------------------------- 1 | 2 | //Resets the default styles in all browsers so they don't render things differently by default. 3 | 4 | // http://meyerweb.com/eric/tools/css/reset/ 5 | // v2.0 | 20110126 6 | // License: none (public domain) 7 | 8 | html, body, div, span, applet, object, iframe, 9 | h1, h2, h3, h4, h5, h6, p, blockquote, pre, 10 | a, abbr, acronym, address, big, cite, code, 11 | del, dfn, em, img, ins, kbd, q, s, samp, 12 | small, strike, strong, sub, sup, tt, var, 13 | b, u, i, center, 14 | dl, dt, dd, ol, ul, li, 15 | fieldset, form, label, legend, 16 | table, caption, tbody, tfoot, thead, tr, th, td, 17 | article, aside, canvas, details, embed, 18 | figure, figcaption, footer, header, hgroup, 19 | menu, nav, output, ruby, section, summary, 20 | time, mark, audio, video 21 | margin: 0 22 | padding: 0 23 | border: 0 24 | font-size: 100% 25 | font: inherit 26 | vertical-align: baseline 27 | 28 | // HTML5 display-role reset for older browsers 29 | 30 | article, aside, details, figcaption, figure, 31 | footer, header, hgroup, menu, nav, section 32 | display: block 33 | 34 | body 35 | line-height: 1 36 | 37 | ol, ul 38 | list-style: none 39 | 40 | blockquote, q 41 | quotes: none 42 | 43 | blockquote:before, blockquote:after, 44 | q:before, q:after 45 | content: '' 46 | content: none 47 | 48 | table 49 | border-collapse: collapse 50 | border-spacing: 0 51 | -------------------------------------------------------------------------------- /_sass/_ugui.sass: -------------------------------------------------------------------------------- 1 | 2 | // Styles only used by UGUI 3 | 4 | cmd, 5 | cmd def, 6 | cmd arg 7 | display: none 8 | font-size: 0px 9 | opacity: 0 10 | color: transparent 11 | 12 | .modal 13 | background-color: rgba(0,0,0,0.6) 14 | .glyphicon-remove 15 | cursor: pointer 16 | .versionApp, 17 | .versionUGUI 18 | position: relative 19 | top: -0.2em 20 | background-color: rgba(0,0,0,0.2) 21 | border-radius: 100px 22 | margin: 0px 23 | padding: 3px 8px 24 | color: #FFF 25 | line-height: normal 26 | box-shadow: inset 1px 1px 2px rgba(0,0,0,0.25) 27 | 28 | body .devNav, 29 | body.prod .devNav 30 | display: none !important 31 | 32 | body.dev .devNav 33 | display: block !important 34 | 35 | #aboutModal 36 | z-index: 1080 37 | .modal-body 38 | overflow: auto 39 | min-height: 115px 40 | .versionUGUI:before 41 | content: "V" 42 | 43 | .modal-header.shortScreen 44 | padding: 0px 9px !important 45 | h4 46 | margin: 8px 4px !important 47 | 48 | .gitHubContributors 49 | font-size: 0px 50 | img 51 | max-width: 32px 52 | max-height: 32px 53 | 54 | .notOnline 55 | font-size: 1em 56 | img 57 | display: none 58 | 59 | .returnedCmdText 60 | max-height: 225px 61 | 62 | .no-overflow 63 | overflow: hidden 64 | 65 | .ugui-zoom-level 66 | position: absolute 67 | top: 6px 68 | right: 5px 69 | background: #FFF 70 | border: 1px solid rgba(0,0,0,0.82) 71 | border-radius: 6px 72 | padding: 3px 6px 0px 9px 73 | color: #000 74 | font-family: sans-serif 75 | font-size: 17px 76 | font-weight: bold 77 | box-shadow: 0px 0px 3px 0px rgba(0,0,0,0.4) 78 | opacity: 1 79 | z-index: 3000 80 | -------------------------------------------------------------------------------- /_sass/_var.sass: -------------------------------------------------------------------------------- 1 | 2 | // Supplies mixins and variables that other Sass files can call 3 | 4 | @mixin bmp0 5 | border: 0px 6 | margin: 0px 7 | padding: 0px 8 | 9 | @mixin user-select-none 10 | -webkit-user-select: none 11 | user-select: none 12 | 13 | $quick: 0.5s ease all 14 | $uguiTextColor: #333 15 | -------------------------------------------------------------------------------- /_sass/_ven.bootstrap-slider.scss: -------------------------------------------------------------------------------- 1 | /* 2 | * Slider for Bootstrap 3 | * 4 | * Copyright 2012 Stefan Petre 5 | * Licensed under the Apache License v2.0 6 | * http://www.apache.org/licenses/LICENSE-2.0 7 | * 8 | * SCSS File by Detlef Beyer 9 | */ 10 | 11 | @import "compass"; 12 | 13 | @mixin slider_background-image ($colorstart:#F5F5F5, $colorend:#F9F9F9, $backcolor: #F7F7F7) { 14 | background-color: $backcolor; 15 | background-image: linear-gradient(to bottom, $colorstart, $colorend); 16 | background-repeat: repeat-x; 17 | } 18 | 19 | /* Variables should be defined outside of this file */ 20 | /* doing it here just to keep things together in github */ 21 | $baseLineHeight: 20px; 22 | $baseBorderRadius: 4px; 23 | 24 | 25 | .slider { 26 | display: inline-block; 27 | vertical-align: middle; 28 | position: relative; 29 | &.slider-horizontal { 30 | width: 210px; 31 | height: $baseLineHeight; 32 | .slider-track { 33 | height: $baseLineHeight/2; 34 | width: 100%; 35 | margin-top: -$baseLineHeight/4; 36 | top: 50%; 37 | left: 0; 38 | } 39 | .slider-selection { 40 | height: 100%; 41 | top: 0; 42 | bottom: 0; 43 | } 44 | .slider-handle { 45 | margin-left: -$baseLineHeight/2; 46 | margin-top: -$baseLineHeight/4; 47 | &.triangle { 48 | border-width: 0 $baseLineHeight/2 $baseLineHeight/2 $baseLineHeight/2; 49 | width: 0; 50 | height: 0; 51 | border-bottom-color: #0480BE; 52 | margin-top: 0; 53 | } 54 | } 55 | } 56 | &.slider-vertical { 57 | height: 210px; 58 | width: $baseLineHeight; 59 | .slider-track { 60 | width: $baseLineHeight/2; 61 | height: 100%; 62 | margin-left: -$baseLineHeight/4; 63 | left: 50%; 64 | top: 0; 65 | } 66 | .slider-selection { 67 | width: 100%; 68 | left: 0; 69 | top: 0; 70 | bottom: 0; 71 | } 72 | .slider-handle { 73 | margin-left: -$baseLineHeight/4; 74 | margin-top: -$baseLineHeight/2; 75 | &.triangle { 76 | border-width: $baseLineHeight/2 0 $baseLineHeight/2 $baseLineHeight/2; 77 | width: 1px; 78 | height: 1px; 79 | border-left-color: #0480BE; 80 | margin-left: 0; 81 | } 82 | } 83 | } 84 | input { 85 | display: none; 86 | } 87 | .tooltip-inner { 88 | white-space: nowrap; 89 | } 90 | } 91 | 92 | .slider-track { 93 | position: absolute; 94 | cursor: pointer; 95 | @include slider_background-image(#F5F5F5, #F9F9F9, #F7F7F7); 96 | @include box-shadow(inset 0 1px 2px rgba(0,0,0,0.1)); 97 | @include border-radius($baseBorderRadius); 98 | } 99 | 100 | .slider-selection { 101 | position: absolute; 102 | @include slider_background-image(#F9F9F9, #F5F5F5, #F7F7F7); 103 | @include box-shadow(inset 0 -1px 0 rgba(0,0,0,0.15)); 104 | @include box-sizing(border-box); 105 | @include border-radius($baseBorderRadius); 106 | } 107 | 108 | .slider-handle { 109 | position: absolute; 110 | width: 20px; 111 | height: 20px; 112 | background-color: #337AB7; 113 | @include slider_background-image(#149BDF, #0480BE, #0E90D2); 114 | @include box-shadow(inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05)); 115 | border: 0px solid transparent; 116 | &.round { 117 | @include border-radius($baseLineHeight); 118 | } 119 | &.triangle { 120 | background: transparent none; 121 | } 122 | } 123 | 124 | //Custom stuff 125 | 126 | .slider { 127 | margin: 0px 10px; 128 | .slider-selection { 129 | background: #CCC; 130 | } 131 | } 132 | 133 | .tooltip.top { 134 | margin-top: -35px; 135 | } 136 | -------------------------------------------------------------------------------- /_sass/_ven.ezdz.sass: -------------------------------------------------------------------------------- 1 | .ezdz 2 | position: relative 3 | label 4 | margin: 0px 5 | line-height: 1.5em 6 | vertical-align: middle 7 | &:after 8 | content: " " 9 | span 10 | vertical-align: middle 11 | img 12 | display: block 13 | border-radius: 10px 14 | vertical-align: middle 15 | max-width: 100px 16 | max-height: 50px 17 | margin: 0px 5px 0px 0px 18 | [type="file"] 19 | position: absolute 20 | cursor: pointer 21 | opacity: 0 22 | top: 0px 23 | right: 0px 24 | width: 100% 25 | height: 100% 26 | [type="file"] /deep/ [type="button"] 27 | display: none 28 | -------------------------------------------------------------------------------- /_sass/style.scss: -------------------------------------------------------------------------------- 1 | @charset "utf-8"; // Character type for the stylesheet 2 | 3 | //Stuff that goes at the start 4 | @import "_var.sass"; // Sass Variables and Mixins - Does not effect page, but other Sass files reference this file. 5 | //@import "_meyer.sass"; // Resets browser defaults so browsers render pages the same 6 | //@import "_normalize.sass"; // Removes inconsistencies in the way different browsers render items by default. Bootstrap comes with Normalize. 7 | 8 | //Stuff that effects every page 9 | @import "_main.sass"; // Main CSS for the app 10 | @import "_header.sass"; // CSS for the header and navigation at the top of the app. 11 | @import "_footer.sass"; // CSS for the footer at the bottom of the app. 12 | 13 | //Stuff that effects specific pages 14 | @import "_app.sass"; // CSS specifc to the app you create using UGUI 15 | 16 | //Stuff that goes at the end 17 | @import "_ugui.sass"; // UGUI specific styles for UGUI dev tools and such 18 | @import "_ven.dropdown-enhance.sass"; // Makes dropdown form elements prettier, goes with .js file 19 | @import "_ven.bootstrap-slider.scss"; // Styles the range slider 20 | @import "_ven.ezdz.sass"; // CSS for the drag and drop file browse box js plugin, EZDZ. 21 | @import "_mediaqueries.sass"; // Adjusts the CSS of elements depending on window resolution/size. 22 | -------------------------------------------------------------------------------- /_sass/ugui-devtools.sass: -------------------------------------------------------------------------------- 1 | 2 | @import "_var.sass" 3 | 4 | // Styles only used by UGUI Developer Toolbar 5 | 6 | body.dev 7 | margin-bottom: 280px 8 | 9 | #uguiDevTools 10 | display: none 11 | background-color: #E0E0E0 12 | color: $uguiTextColor 13 | padding: 0px 10px 0px 10px 14 | border-width: 3px 3px 0px 3px 15 | border-style: solid 16 | border-color: #777 17 | border-radius: 25px 25px 0px 0px 18 | width: 80% 19 | position: fixed 20 | bottom: 0px 21 | left: 10% 22 | letter-spacing: 0px 23 | text-rendering: optimizeSpeed !important 24 | -webkit-font-smoothing: antialiased 25 | font-family: sans-serif 26 | font-size: 14px 27 | line-height: 20px 28 | transition: $quick 29 | z-index: 9999 30 | a 31 | color: #428BCA 32 | &:hover, 33 | &:focus 34 | color: #2A6496 35 | nav 36 | margin: 0px 0px 9px 9px 37 | span 38 | +user-select-none 39 | font-size: 10px 40 | color: #666 41 | cursor: pointer 42 | &.selected 43 | font-weight: bold 44 | color: #555 45 | text-shadow: 1px 1px 0px #FAFAFA, -1px -1px 0px #FAFAFA, -1px 1px 0px #FAFAFA, 1px -1px 0px #FAFAFA 46 | &:after 47 | content: " | " 48 | color: #666 49 | font-weight: normal 50 | text-shadow: 0px 0px 0px rgba(0,0,0,0.0) 51 | &:last-of-type:after 52 | content: "" 53 | select 54 | background-color: #F5F5F5 55 | border: 1px solid #CCC 56 | padding: 2px 57 | font-size: 13px 58 | font-family: sans-serif 59 | margin: 0px 0px 3px 0px 60 | section 61 | padding: 1px 62 | margin: 0px 0px 10px 0px 63 | display: block 64 | height: auto 65 | img 66 | display: block 67 | width: 320px 68 | height: 180px 69 | float: left 70 | border: 0px 71 | margin: 0px 7px 10px 0px 72 | padding: 0px 73 | h3 74 | +bmp0 75 | border: 0px 76 | margin: 18px 0px 0px 0px 77 | padding: 0px 78 | font-family: sans-serif 79 | font-size: 18px 80 | font-weight: bold 81 | color: $uguiTextColor 82 | text-shadow: inherit 83 | p 84 | border: 0px 85 | padding: 0px 86 | margin: 8px 0px 87 | font-size: 14px 88 | line-height: 1.4 89 | color: $uguiTextColor 90 | code 91 | +bmp0 92 | color: $uguiTextColor 93 | font-size: 11px 94 | font-family: monospace 95 | ul, 96 | li strong 97 | +bmp0 98 | color: $uguiTextColor 99 | font-size: 14px 100 | line-height: 1.4 101 | li 102 | line-height: 1.4 103 | color: $uguiTextColor 104 | font-size: 14px 105 | border: 0px 106 | padding: 0px 107 | margin: 0px 0px 0px 23px 108 | &.slideHide 109 | bottom: -7px !important 110 | transition: $quick 111 | * 112 | transition: $quick 113 | .uguiSwapper p, 114 | .uguiCommand span, 115 | .helpIntro 116 | font-size: 12px 117 | color: #444 118 | 119 | .shrink 120 | height: 0px !important 121 | border: 0px !important 122 | margin: 0px !important 123 | padding: 0px !important 124 | font-size: 0px !important 125 | line-height: 0px !important 126 | opacity: 0 !important 127 | 128 | #commandLine 129 | background-color: #F5F5F5 130 | border: 1px solid #CCC 131 | margin: 0px 132 | padding: 10px 133 | color: $uguiTextColor 134 | font-size: 11px 135 | font-family: monospace 136 | line-height: 1.4 137 | max-height: 92px 138 | overflow: auto 139 | &:before 140 | content: "Command Line Output Preview:" 141 | font-weight: bold 142 | 143 | .commandLineHint 144 | font-family: sans-serif 145 | font-size: 12px 146 | em 147 | background-color: #F1F1F1 148 | border: 1px solid #CCC 149 | border-radius: 3px 150 | padding: 2px 151 | font-weight: bold 152 | font-size: 11px 153 | font-style: normal 154 | 155 | #swatchSwapper, 156 | span[data-nav="uguiExecutable"], 157 | .executableName 158 | text-transform: capitalize 159 | 160 | #setNewSwatch 161 | height: 24px 162 | background: #F5F5F5 163 | border: 1px solid #CCC 164 | padding: 0px 10px 165 | font-size: 11px 166 | line-height: 0px 167 | box-shadow: 0px 0px 2px #CCC 168 | vertical-align: top 169 | 170 | .newSwatchSaved 171 | font-style: italic 172 | opacity: 0 173 | -webkit-transition: 0.5s ease-in-out 174 | transition: 0.5s ease-in-out 175 | &.showSaved 176 | opacity: 1 177 | 178 | .executableName 179 | color: #555 180 | 181 | .executableHelp 182 | max-height: 156px 183 | -------------------------------------------------------------------------------- /_sass/ven.bootstrap.scss: -------------------------------------------------------------------------------- 1 | // Core variables and mixins 2 | @import "ven.bootstrap/variables"; 3 | @import "ven.bootstrap/mixins"; 4 | 5 | // Reset and dependencies 6 | @import "ven.bootstrap/normalize"; 7 | @import "ven.bootstrap/print"; 8 | @import "ven.bootstrap/glyphicons"; 9 | 10 | // Core CSS 11 | @import "ven.bootstrap/scaffolding"; 12 | @import "ven.bootstrap/type"; 13 | @import "ven.bootstrap/code"; 14 | @import "ven.bootstrap/grid"; 15 | @import "ven.bootstrap/tables"; 16 | @import "ven.bootstrap/forms"; 17 | @import "ven.bootstrap/buttons"; 18 | 19 | // Components 20 | @import "ven.bootstrap/component-animations"; 21 | @import "ven.bootstrap/dropdowns"; 22 | @import "ven.bootstrap/button-groups"; 23 | @import "ven.bootstrap/input-groups"; 24 | @import "ven.bootstrap/navs"; 25 | @import "ven.bootstrap/navbar"; 26 | @import "ven.bootstrap/breadcrumbs"; 27 | @import "ven.bootstrap/pagination"; 28 | @import "ven.bootstrap/pager"; 29 | @import "ven.bootstrap/labels"; 30 | @import "ven.bootstrap/badges"; 31 | @import "ven.bootstrap/jumbotron"; 32 | @import "ven.bootstrap/thumbnails"; 33 | @import "ven.bootstrap/alerts"; 34 | @import "ven.bootstrap/progress-bars"; 35 | @import "ven.bootstrap/media"; 36 | @import "ven.bootstrap/list-group"; 37 | @import "ven.bootstrap/panels"; 38 | @import "ven.bootstrap/responsive-embed"; 39 | @import "ven.bootstrap/wells"; 40 | @import "ven.bootstrap/close"; 41 | 42 | // Components w/ JavaScript 43 | @import "ven.bootstrap/modals"; 44 | @import "ven.bootstrap/tooltip"; 45 | @import "ven.bootstrap/popovers"; 46 | @import "ven.bootstrap/carousel"; 47 | 48 | // Utility classes 49 | @import "ven.bootstrap/utilities"; 50 | @import "ven.bootstrap/responsive-utilities"; 51 | -------------------------------------------------------------------------------- /_sass/ven.bootstrap/_alerts.scss: -------------------------------------------------------------------------------- 1 | // 2 | // Alerts 3 | // -------------------------------------------------- 4 | 5 | 6 | // Base styles 7 | // ------------------------- 8 | 9 | .alert { 10 | padding: $alert-padding; 11 | margin-bottom: $line-height-computed; 12 | border: 1px solid transparent; 13 | border-radius: $alert-border-radius; 14 | 15 | // Headings for larger alerts 16 | h4 { 17 | margin-top: 0; 18 | // Specified for the h4 to prevent conflicts of changing $headings-color 19 | color: inherit; 20 | } 21 | // Provide class for links that match alerts 22 | .alert-link { 23 | font-weight: $alert-link-font-weight; 24 | } 25 | 26 | // Improve alignment and spacing of inner content 27 | > p, 28 | > ul { 29 | margin-bottom: 0; 30 | } 31 | > p + p { 32 | margin-top: 5px; 33 | } 34 | } 35 | 36 | // Dismissible alerts 37 | // 38 | // Expand the right padding and account for the close button's positioning. 39 | 40 | .alert-dismissable, // The misspelled .alert-dismissable was deprecated in 3.2.0. 41 | .alert-dismissible { 42 | padding-right: ($alert-padding + 20); 43 | 44 | // Adjust close link position 45 | .close { 46 | position: relative; 47 | top: -2px; 48 | right: -21px; 49 | color: inherit; 50 | } 51 | } 52 | 53 | // Alternate styles 54 | // 55 | // Generate contextual modifier classes for colorizing the alert. 56 | 57 | .alert-success { 58 | @include alert-variant($alert-success-bg, $alert-success-border, $alert-success-text); 59 | } 60 | .alert-info { 61 | @include alert-variant($alert-info-bg, $alert-info-border, $alert-info-text); 62 | } 63 | .alert-warning { 64 | @include alert-variant($alert-warning-bg, $alert-warning-border, $alert-warning-text); 65 | } 66 | .alert-danger { 67 | @include alert-variant($alert-danger-bg, $alert-danger-border, $alert-danger-text); 68 | } 69 | -------------------------------------------------------------------------------- /_sass/ven.bootstrap/_badges.scss: -------------------------------------------------------------------------------- 1 | // 2 | // Badges 3 | // -------------------------------------------------- 4 | 5 | 6 | // Base class 7 | .badge { 8 | display: inline-block; 9 | min-width: 10px; 10 | padding: 3px 7px; 11 | font-size: $font-size-small; 12 | font-weight: $badge-font-weight; 13 | color: $badge-color; 14 | line-height: $badge-line-height; 15 | vertical-align: baseline; 16 | white-space: nowrap; 17 | text-align: center; 18 | background-color: $badge-bg; 19 | border-radius: $badge-border-radius; 20 | 21 | // Empty badges collapse automatically (not available in IE8) 22 | &:empty { 23 | display: none; 24 | } 25 | 26 | // Quick fix for badges in buttons 27 | .btn & { 28 | position: relative; 29 | top: -1px; 30 | } 31 | .btn-xs & { 32 | top: 0; 33 | padding: 1px 5px; 34 | } 35 | 36 | // [converter] extracted a& to a.badge 37 | 38 | // Account for badges in navs 39 | a.list-group-item.active > &, 40 | .nav-pills > .active > a > & { 41 | color: $badge-active-color; 42 | background-color: $badge-active-bg; 43 | } 44 | .nav-pills > li > a > & { 45 | margin-left: 3px; 46 | } 47 | } 48 | 49 | // Hover state, but only for links 50 | a.badge { 51 | &:hover, 52 | &:focus { 53 | color: $badge-link-hover-color; 54 | text-decoration: none; 55 | cursor: pointer; 56 | } 57 | } 58 | -------------------------------------------------------------------------------- /_sass/ven.bootstrap/_breadcrumbs.scss: -------------------------------------------------------------------------------- 1 | // 2 | // Breadcrumbs 3 | // -------------------------------------------------- 4 | 5 | 6 | .breadcrumb { 7 | padding: $breadcrumb-padding-vertical $breadcrumb-padding-horizontal; 8 | margin-bottom: $line-height-computed; 9 | list-style: none; 10 | background-color: $breadcrumb-bg; 11 | border-radius: $border-radius-base; 12 | 13 | > li { 14 | display: inline-block; 15 | 16 | + li:before { 17 | content: "#{$breadcrumb-separator}\00a0"; // Unicode space added since inline-block means non-collapsing white-space 18 | padding: 0 5px; 19 | color: $breadcrumb-color; 20 | } 21 | } 22 | 23 | > .active { 24 | color: $breadcrumb-active-color; 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /_sass/ven.bootstrap/_buttons.scss: -------------------------------------------------------------------------------- 1 | // 2 | // Buttons 3 | // -------------------------------------------------- 4 | 5 | 6 | // Base styles 7 | // -------------------------------------------------- 8 | 9 | .btn { 10 | display: inline-block; 11 | margin-bottom: 0; // For input.btn 12 | font-weight: $btn-font-weight; 13 | text-align: center; 14 | vertical-align: middle; 15 | cursor: pointer; 16 | border: 1px solid transparent; 17 | white-space: nowrap; 18 | @include button-size($padding-base-vertical, $padding-base-horizontal, $font-size-base, $line-height-base, $border-radius-base); 19 | @include user-select(none); 20 | 21 | &, 22 | &:active, 23 | &.active { 24 | &:focus { 25 | @include tab-focus(); 26 | } 27 | } 28 | 29 | &:hover, 30 | &:focus { 31 | color: $btn-default-color; 32 | text-decoration: none; 33 | } 34 | 35 | &:active, 36 | &.active { 37 | outline: 0; 38 | background-image: none; 39 | @include box-shadow(inset 0 3px 5px rgba(0,0,0,.125)); 40 | } 41 | 42 | &.disabled, 43 | &[disabled], 44 | fieldset[disabled] & { 45 | cursor: not-allowed; 46 | pointer-events: none; // Future-proof disabling of clicks 47 | @include opacity(.65); 48 | @include box-shadow(none); 49 | } 50 | } 51 | 52 | 53 | // Alternate buttons 54 | // -------------------------------------------------- 55 | 56 | .btn-default { 57 | @include button-variant($btn-default-color, $btn-default-bg, $btn-default-border); 58 | } 59 | .btn-primary { 60 | @include button-variant($btn-primary-color, $btn-primary-bg, $btn-primary-border); 61 | } 62 | // Success appears as green 63 | .btn-success { 64 | @include button-variant($btn-success-color, $btn-success-bg, $btn-success-border); 65 | } 66 | // Info appears as blue-green 67 | .btn-info { 68 | @include button-variant($btn-info-color, $btn-info-bg, $btn-info-border); 69 | } 70 | // Warning appears as orange 71 | .btn-warning { 72 | @include button-variant($btn-warning-color, $btn-warning-bg, $btn-warning-border); 73 | } 74 | // Danger and error appear as red 75 | .btn-danger { 76 | @include button-variant($btn-danger-color, $btn-danger-bg, $btn-danger-border); 77 | } 78 | 79 | 80 | // Link buttons 81 | // ------------------------- 82 | 83 | // Make a button look and behave like a link 84 | .btn-link { 85 | color: $link-color; 86 | font-weight: normal; 87 | cursor: pointer; 88 | border-radius: 0; 89 | 90 | &, 91 | &:active, 92 | &[disabled], 93 | fieldset[disabled] & { 94 | background-color: transparent; 95 | @include box-shadow(none); 96 | } 97 | &, 98 | &:hover, 99 | &:focus, 100 | &:active { 101 | border-color: transparent; 102 | } 103 | &:hover, 104 | &:focus { 105 | color: $link-hover-color; 106 | text-decoration: underline; 107 | background-color: transparent; 108 | } 109 | &[disabled], 110 | fieldset[disabled] & { 111 | &:hover, 112 | &:focus { 113 | color: $btn-link-disabled-color; 114 | text-decoration: none; 115 | } 116 | } 117 | } 118 | 119 | 120 | // Button Sizes 121 | // -------------------------------------------------- 122 | 123 | .btn-lg { 124 | // line-height: ensure even-numbered height of button next to large input 125 | @include button-size($padding-large-vertical, $padding-large-horizontal, $font-size-large, $line-height-large, $border-radius-large); 126 | } 127 | .btn-sm { 128 | // line-height: ensure proper height of button next to small input 129 | @include button-size($padding-small-vertical, $padding-small-horizontal, $font-size-small, $line-height-small, $border-radius-small); 130 | } 131 | .btn-xs { 132 | @include button-size($padding-xs-vertical, $padding-xs-horizontal, $font-size-small, $line-height-small, $border-radius-small); 133 | } 134 | 135 | 136 | // Block button 137 | // -------------------------------------------------- 138 | 139 | .btn-block { 140 | display: block; 141 | width: 100%; 142 | } 143 | 144 | // Vertically space out multiple block buttons 145 | .btn-block + .btn-block { 146 | margin-top: 5px; 147 | } 148 | 149 | // Specificity overrides 150 | input[type="submit"], 151 | input[type="reset"], 152 | input[type="button"] { 153 | &.btn-block { 154 | width: 100%; 155 | } 156 | } 157 | -------------------------------------------------------------------------------- /_sass/ven.bootstrap/_carousel.scss: -------------------------------------------------------------------------------- 1 | // 2 | // Carousel 3 | // -------------------------------------------------- 4 | 5 | 6 | // Wrapper for the slide container and indicators 7 | .carousel { 8 | position: relative; 9 | } 10 | 11 | .carousel-inner { 12 | position: relative; 13 | overflow: hidden; 14 | width: 100%; 15 | 16 | > .item { 17 | display: none; 18 | position: relative; 19 | @include transition(.6s ease-in-out left); 20 | 21 | // Account for jankitude on images 22 | > img, 23 | > a > img { 24 | @include img-responsive(); 25 | line-height: 1; 26 | } 27 | } 28 | 29 | > .active, 30 | > .next, 31 | > .prev { 32 | display: block; 33 | } 34 | 35 | > .active { 36 | left: 0; 37 | } 38 | 39 | > .next, 40 | > .prev { 41 | position: absolute; 42 | top: 0; 43 | width: 100%; 44 | } 45 | 46 | > .next { 47 | left: 100%; 48 | } 49 | > .prev { 50 | left: -100%; 51 | } 52 | > .next.left, 53 | > .prev.right { 54 | left: 0; 55 | } 56 | 57 | > .active.left { 58 | left: -100%; 59 | } 60 | > .active.right { 61 | left: 100%; 62 | } 63 | 64 | } 65 | 66 | // Left/right controls for nav 67 | // --------------------------- 68 | 69 | .carousel-control { 70 | position: absolute; 71 | top: 0; 72 | left: 0; 73 | bottom: 0; 74 | width: $carousel-control-width; 75 | @include opacity($carousel-control-opacity); 76 | font-size: $carousel-control-font-size; 77 | color: $carousel-control-color; 78 | text-align: center; 79 | text-shadow: $carousel-text-shadow; 80 | // We can't have this transition here because WebKit cancels the carousel 81 | // animation if you trip this while in the middle of another animation. 82 | 83 | // Set gradients for backgrounds 84 | &.left { 85 | @include gradient-horizontal($start-color: rgba(0,0,0,.5), $end-color: rgba(0,0,0,.0001)); 86 | } 87 | &.right { 88 | left: auto; 89 | right: 0; 90 | @include gradient-horizontal($start-color: rgba(0,0,0,.0001), $end-color: rgba(0,0,0,.5)); 91 | } 92 | 93 | // Hover/focus state 94 | &:hover, 95 | &:focus { 96 | outline: 0; 97 | color: $carousel-control-color; 98 | text-decoration: none; 99 | @include opacity(.9); 100 | } 101 | 102 | // Toggles 103 | .icon-prev, 104 | .icon-next, 105 | .glyphicon-chevron-left, 106 | .glyphicon-chevron-right { 107 | position: absolute; 108 | top: 50%; 109 | z-index: 5; 110 | display: inline-block; 111 | } 112 | .icon-prev, 113 | .glyphicon-chevron-left { 114 | left: 50%; 115 | margin-left: -10px; 116 | } 117 | .icon-next, 118 | .glyphicon-chevron-right { 119 | right: 50%; 120 | margin-right: -10px; 121 | } 122 | .icon-prev, 123 | .icon-next { 124 | width: 20px; 125 | height: 20px; 126 | margin-top: -10px; 127 | font-family: serif; 128 | } 129 | 130 | 131 | .icon-prev { 132 | &:before { 133 | content: '\2039';// SINGLE LEFT-POINTING ANGLE QUOTATION MARK (U+2039) 134 | } 135 | } 136 | .icon-next { 137 | &:before { 138 | content: '\203a';// SINGLE RIGHT-POINTING ANGLE QUOTATION MARK (U+203A) 139 | } 140 | } 141 | } 142 | 143 | // Optional indicator pips 144 | // 145 | // Add an unordered list with the following class and add a list item for each 146 | // slide your carousel holds. 147 | 148 | .carousel-indicators { 149 | position: absolute; 150 | bottom: 10px; 151 | left: 50%; 152 | z-index: 15; 153 | width: 60%; 154 | margin-left: -30%; 155 | padding-left: 0; 156 | list-style: none; 157 | text-align: center; 158 | 159 | li { 160 | display: inline-block; 161 | width: 10px; 162 | height: 10px; 163 | margin: 1px; 164 | text-indent: -999px; 165 | border: 1px solid $carousel-indicator-border-color; 166 | border-radius: 10px; 167 | cursor: pointer; 168 | 169 | // IE8-9 hack for event handling 170 | // 171 | // Internet Explorer 8-9 does not support clicks on elements without a set 172 | // `background-color`. We cannot use `filter` since that's not viewed as a 173 | // background color by the browser. Thus, a hack is needed. 174 | // 175 | // For IE8, we set solid black as it doesn't support `rgba()`. For IE9, we 176 | // set alpha transparency for the best results possible. 177 | background-color: #000 \9; // IE8 178 | background-color: rgba(0,0,0,0); // IE9 179 | } 180 | .active { 181 | margin: 0; 182 | width: 12px; 183 | height: 12px; 184 | background-color: $carousel-indicator-active-bg; 185 | } 186 | } 187 | 188 | // Optional captions 189 | // ----------------------------- 190 | // Hidden by default for smaller viewports 191 | .carousel-caption { 192 | position: absolute; 193 | left: 15%; 194 | right: 15%; 195 | bottom: 20px; 196 | z-index: 10; 197 | padding-top: 20px; 198 | padding-bottom: 20px; 199 | color: $carousel-caption-color; 200 | text-align: center; 201 | text-shadow: $carousel-text-shadow; 202 | & .btn { 203 | text-shadow: none; // No shadow for button elements in carousel-caption 204 | } 205 | } 206 | 207 | 208 | // Scale up controls for tablets and up 209 | @media screen and (min-width: $screen-sm-min) { 210 | 211 | // Scale up the controls a smidge 212 | .carousel-control { 213 | .glyphicon-chevron-left, 214 | .glyphicon-chevron-right, 215 | .icon-prev, 216 | .icon-next { 217 | width: 30px; 218 | height: 30px; 219 | margin-top: -15px; 220 | font-size: 30px; 221 | } 222 | .glyphicon-chevron-left, 223 | .icon-prev { 224 | margin-left: -15px; 225 | } 226 | .glyphicon-chevron-right, 227 | .icon-next { 228 | margin-right: -15px; 229 | } 230 | } 231 | 232 | // Show and left align the captions 233 | .carousel-caption { 234 | left: 20%; 235 | right: 20%; 236 | padding-bottom: 30px; 237 | } 238 | 239 | // Move up the indicators 240 | .carousel-indicators { 241 | bottom: 20px; 242 | } 243 | } 244 | -------------------------------------------------------------------------------- /_sass/ven.bootstrap/_close.scss: -------------------------------------------------------------------------------- 1 | // 2 | // Close icons 3 | // -------------------------------------------------- 4 | 5 | 6 | .close { 7 | float: right; 8 | font-size: ($font-size-base * 1.5); 9 | font-weight: $close-font-weight; 10 | line-height: 1; 11 | color: $close-color; 12 | text-shadow: $close-text-shadow; 13 | @include opacity(.2); 14 | 15 | &:hover, 16 | &:focus { 17 | color: $close-color; 18 | text-decoration: none; 19 | cursor: pointer; 20 | @include opacity(.5); 21 | } 22 | 23 | // [converter] extracted button& to button.close 24 | } 25 | 26 | // Additional properties for button version 27 | // iOS requires the button element instead of an anchor tag. 28 | // If you want the anchor version, it requires `href="#"`. 29 | button.close { 30 | padding: 0; 31 | cursor: pointer; 32 | background: transparent; 33 | border: 0; 34 | -webkit-appearance: none; 35 | } 36 | -------------------------------------------------------------------------------- /_sass/ven.bootstrap/_code.scss: -------------------------------------------------------------------------------- 1 | // 2 | // Code (inline and block) 3 | // -------------------------------------------------- 4 | 5 | 6 | // Inline and block code styles 7 | code, 8 | kbd, 9 | pre, 10 | samp { 11 | font-family: $font-family-monospace; 12 | } 13 | 14 | // Inline code 15 | code { 16 | padding: 2px 4px; 17 | font-size: 90%; 18 | color: $code-color; 19 | background-color: $code-bg; 20 | border-radius: $border-radius-base; 21 | } 22 | 23 | // User input typically entered via keyboard 24 | kbd { 25 | padding: 2px 4px; 26 | font-size: 90%; 27 | color: $kbd-color; 28 | background-color: $kbd-bg; 29 | border-radius: $border-radius-small; 30 | box-shadow: inset 0 -1px 0 rgba(0,0,0,.25); 31 | 32 | kbd { 33 | padding: 0; 34 | font-size: 100%; 35 | box-shadow: none; 36 | } 37 | } 38 | 39 | // Blocks of code 40 | pre { 41 | display: block; 42 | padding: (($line-height-computed - 1) / 2); 43 | margin: 0 0 ($line-height-computed / 2); 44 | font-size: ($font-size-base - 1); // 14px to 13px 45 | line-height: $line-height-base; 46 | word-break: break-all; 47 | word-wrap: break-word; 48 | color: $pre-color; 49 | background-color: $pre-bg; 50 | border: 1px solid $pre-border-color; 51 | border-radius: $border-radius-base; 52 | 53 | // Account for some code outputs that place code tags in pre tags 54 | code { 55 | padding: 0; 56 | font-size: inherit; 57 | color: inherit; 58 | white-space: pre-wrap; 59 | background-color: transparent; 60 | border-radius: 0; 61 | } 62 | } 63 | 64 | // Enable scrollable blocks of code 65 | .pre-scrollable { 66 | max-height: $pre-scrollable-max-height; 67 | overflow-y: scroll; 68 | } 69 | -------------------------------------------------------------------------------- /_sass/ven.bootstrap/_component-animations.scss: -------------------------------------------------------------------------------- 1 | // 2 | // Component animations 3 | // -------------------------------------------------- 4 | 5 | // Heads up! 6 | // 7 | // We don't use the `.opacity()` mixin here since it causes a bug with text 8 | // fields in IE7-8. Source: https://github.com/twbs/bootstrap/pull/3552. 9 | 10 | .fade { 11 | opacity: 0; 12 | @include transition(opacity .15s linear); 13 | &.in { 14 | opacity: 1; 15 | } 16 | } 17 | 18 | .collapse { 19 | display: none; 20 | 21 | &.in { display: block; } 22 | // [converter] extracted tr&.in to tr.collapse.in 23 | // [converter] extracted tbody&.in to tbody.collapse.in 24 | } 25 | 26 | tr.collapse.in { display: table-row; } 27 | 28 | tbody.collapse.in { display: table-row-group; } 29 | 30 | .collapsing { 31 | position: relative; 32 | height: 0; 33 | overflow: hidden; 34 | @include transition(height .35s ease); 35 | } 36 | -------------------------------------------------------------------------------- /_sass/ven.bootstrap/_dropdowns.scss: -------------------------------------------------------------------------------- 1 | // 2 | // Dropdown menus 3 | // -------------------------------------------------- 4 | 5 | 6 | // Dropdown arrow/caret 7 | .caret { 8 | display: inline-block; 9 | width: 0; 10 | height: 0; 11 | margin-left: 2px; 12 | vertical-align: middle; 13 | border-top: $caret-width-base solid; 14 | border-right: $caret-width-base solid transparent; 15 | border-left: $caret-width-base solid transparent; 16 | } 17 | 18 | // The dropdown wrapper (div) 19 | .dropdown { 20 | position: relative; 21 | } 22 | 23 | // Prevent the focus on the dropdown toggle when closing dropdowns 24 | .dropdown-toggle:focus { 25 | outline: 0; 26 | } 27 | 28 | // The dropdown menu (ul) 29 | .dropdown-menu { 30 | position: absolute; 31 | top: 100%; 32 | left: 0; 33 | z-index: $zindex-dropdown; 34 | display: none; // none by default, but block on "open" of the menu 35 | float: left; 36 | min-width: 160px; 37 | padding: 5px 0; 38 | margin: 2px 0 0; // override default ul 39 | list-style: none; 40 | font-size: $font-size-base; 41 | text-align: left; // Ensures proper alignment if parent has it changed (e.g., modal footer) 42 | background-color: $dropdown-bg; 43 | border: 1px solid $dropdown-border; 44 | border-radius: $border-radius-base; 45 | @include box-shadow(0 6px 12px rgba(0,0,0,.175)); 46 | background-clip: padding-box; 47 | 48 | // Aligns the dropdown menu to right 49 | // 50 | // Deprecated as of 3.1.0 in favor of `.dropdown-menu-[dir]` 51 | &.pull-right { 52 | right: 0; 53 | left: auto; 54 | } 55 | 56 | // Dividers (basically an hr) within the dropdown 57 | .divider { 58 | @include nav-divider($dropdown-divider-bg); 59 | } 60 | 61 | // Links within the dropdown menu 62 | > li > a { 63 | display: block; 64 | padding: 3px 20px; 65 | clear: both; 66 | font-weight: normal; 67 | line-height: $line-height-base; 68 | color: $dropdown-link-color; 69 | white-space: nowrap; // prevent links from randomly breaking onto new lines 70 | } 71 | } 72 | 73 | // Hover/Focus state 74 | .dropdown-menu > li > a { 75 | &:hover, 76 | &:focus { 77 | text-decoration: none; 78 | color: $dropdown-link-hover-color; 79 | background-color: $dropdown-link-hover-bg; 80 | } 81 | } 82 | 83 | // Active state 84 | .dropdown-menu > .active > a { 85 | &, 86 | &:hover, 87 | &:focus { 88 | color: $dropdown-link-active-color; 89 | text-decoration: none; 90 | outline: 0; 91 | background-color: $dropdown-link-active-bg; 92 | } 93 | } 94 | 95 | // Disabled state 96 | // 97 | // Gray out text and ensure the hover/focus state remains gray 98 | 99 | .dropdown-menu > .disabled > a { 100 | &, 101 | &:hover, 102 | &:focus { 103 | color: $dropdown-link-disabled-color; 104 | } 105 | } 106 | // Nuke hover/focus effects 107 | .dropdown-menu > .disabled > a { 108 | &:hover, 109 | &:focus { 110 | text-decoration: none; 111 | background-color: transparent; 112 | background-image: none; // Remove CSS gradient 113 | @include reset-filter(); 114 | cursor: not-allowed; 115 | } 116 | } 117 | 118 | // Open state for the dropdown 119 | .open { 120 | // Show the menu 121 | > .dropdown-menu { 122 | display: block; 123 | } 124 | 125 | // Remove the outline when :focus is triggered 126 | > a { 127 | outline: 0; 128 | } 129 | } 130 | 131 | // Menu positioning 132 | // 133 | // Add extra class to `.dropdown-menu` to flip the alignment of the dropdown 134 | // menu with the parent. 135 | .dropdown-menu-right { 136 | left: auto; // Reset the default from `.dropdown-menu` 137 | right: 0; 138 | } 139 | // With v3, we enabled auto-flipping if you have a dropdown within a right 140 | // aligned nav component. To enable the undoing of that, we provide an override 141 | // to restore the default dropdown menu alignment. 142 | // 143 | // This is only for left-aligning a dropdown menu within a `.navbar-right` or 144 | // `.pull-right` nav component. 145 | .dropdown-menu-left { 146 | left: 0; 147 | right: auto; 148 | } 149 | 150 | // Dropdown section headers 151 | .dropdown-header { 152 | display: block; 153 | padding: 3px 20px; 154 | font-size: $font-size-small; 155 | line-height: $line-height-base; 156 | color: $dropdown-header-color; 157 | white-space: nowrap; // as with > li > a 158 | } 159 | 160 | // Backdrop to catch body clicks on mobile, etc. 161 | .dropdown-backdrop { 162 | position: fixed; 163 | left: 0; 164 | right: 0; 165 | bottom: 0; 166 | top: 0; 167 | z-index: ($zindex-dropdown - 10); 168 | } 169 | 170 | // Right aligned dropdowns 171 | .pull-right > .dropdown-menu { 172 | right: 0; 173 | left: auto; 174 | } 175 | 176 | // Allow for dropdowns to go bottom up (aka, dropup-menu) 177 | // 178 | // Just add .dropup after the standard .dropdown class and you're set, bro. 179 | // TODO: abstract this so that the navbar fixed styles are not placed here? 180 | 181 | .dropup, 182 | .navbar-fixed-bottom .dropdown { 183 | // Reverse the caret 184 | .caret { 185 | border-top: 0; 186 | border-bottom: $caret-width-base solid; 187 | content: ""; 188 | } 189 | // Different positioning for bottom up menu 190 | .dropdown-menu { 191 | top: auto; 192 | bottom: 100%; 193 | margin-bottom: 1px; 194 | } 195 | } 196 | 197 | 198 | // Component alignment 199 | // 200 | // Reiterate per navbar.less and the modified component alignment there. 201 | 202 | @media (min-width: $grid-float-breakpoint) { 203 | .navbar-right { 204 | .dropdown-menu { 205 | right: 0; left: auto; 206 | } 207 | // Necessary for overrides of the default right aligned menu. 208 | // Will remove come v4 in all likelihood. 209 | .dropdown-menu-left { 210 | left: 0; right: auto; 211 | } 212 | } 213 | } 214 | 215 | -------------------------------------------------------------------------------- /_sass/ven.bootstrap/_grid.scss: -------------------------------------------------------------------------------- 1 | // 2 | // Grid system 3 | // -------------------------------------------------- 4 | 5 | 6 | // Container widths 7 | // 8 | // Set the container width, and override it for fixed navbars in media queries. 9 | 10 | .container { 11 | @include container-fixed(); 12 | 13 | @media (min-width: $screen-sm-min) { 14 | width: $container-sm; 15 | } 16 | @media (min-width: $screen-md-min) { 17 | width: $container-md; 18 | } 19 | @media (min-width: $screen-lg-min) { 20 | width: $container-lg; 21 | } 22 | } 23 | 24 | 25 | // Fluid container 26 | // 27 | // Utilizes the mixin meant for fixed width containers, but without any defined 28 | // width for fluid, full width layouts. 29 | 30 | .container-fluid { 31 | @include container-fixed(); 32 | } 33 | 34 | 35 | // Row 36 | // 37 | // Rows contain and clear the floats of your columns. 38 | 39 | .row { 40 | @include make-row(); 41 | } 42 | 43 | 44 | // Columns 45 | // 46 | // Common styles for small and large grid columns 47 | 48 | @include make-grid-columns(); 49 | 50 | 51 | // Extra small grid 52 | // 53 | // Columns, offsets, pushes, and pulls for extra small devices like 54 | // smartphones. 55 | 56 | @include make-grid(xs); 57 | 58 | 59 | // Small grid 60 | // 61 | // Columns, offsets, pushes, and pulls for the small device range, from phones 62 | // to tablets. 63 | 64 | @media (min-width: $screen-sm-min) { 65 | @include make-grid(sm); 66 | } 67 | 68 | 69 | // Medium grid 70 | // 71 | // Columns, offsets, pushes, and pulls for the desktop device range. 72 | 73 | @media (min-width: $screen-md-min) { 74 | @include make-grid(md); 75 | } 76 | 77 | 78 | // Large grid 79 | // 80 | // Columns, offsets, pushes, and pulls for the large desktop device range. 81 | 82 | @media (min-width: $screen-lg-min) { 83 | @include make-grid(lg); 84 | } 85 | -------------------------------------------------------------------------------- /_sass/ven.bootstrap/_input-groups.scss: -------------------------------------------------------------------------------- 1 | // 2 | // Input groups 3 | // -------------------------------------------------- 4 | 5 | // Base styles 6 | // ------------------------- 7 | .input-group { 8 | position: relative; // For dropdowns 9 | display: table; 10 | border-collapse: separate; // prevent input groups from inheriting border styles from table cells when placed within a table 11 | 12 | // Undo padding and float of grid classes 13 | &[class*="col-"] { 14 | float: none; 15 | padding-left: 0; 16 | padding-right: 0; 17 | } 18 | 19 | .form-control { 20 | // Ensure that the input is always above the *appended* addon button for 21 | // proper border colors. 22 | position: relative; 23 | z-index: 2; 24 | 25 | // IE9 fubars the placeholder attribute in text inputs and the arrows on 26 | // select elements in input groups. To fix it, we float the input. Details: 27 | // https://github.com/twbs/bootstrap/issues/11561#issuecomment-28936855 28 | float: left; 29 | 30 | width: 100%; 31 | margin-bottom: 0; 32 | } 33 | } 34 | 35 | // Sizing options 36 | // 37 | // Remix the default form control sizing classes into new ones for easier 38 | // manipulation. 39 | 40 | .input-group-lg > .form-control, 41 | .input-group-lg > .input-group-addon, 42 | .input-group-lg > .input-group-btn > .btn { 43 | @extend .input-lg; 44 | } 45 | .input-group-sm > .form-control, 46 | .input-group-sm > .input-group-addon, 47 | .input-group-sm > .input-group-btn > .btn { 48 | @extend .input-sm; 49 | } 50 | 51 | 52 | // Display as table-cell 53 | // ------------------------- 54 | .input-group-addon, 55 | .input-group-btn, 56 | .input-group .form-control { 57 | display: table-cell; 58 | 59 | &:not(:first-child):not(:last-child) { 60 | border-radius: 0; 61 | } 62 | } 63 | // Addon and addon wrapper for buttons 64 | .input-group-addon, 65 | .input-group-btn { 66 | width: 1%; 67 | white-space: nowrap; 68 | vertical-align: middle; // Match the inputs 69 | } 70 | 71 | // Text input groups 72 | // ------------------------- 73 | .input-group-addon { 74 | padding: $padding-base-vertical $padding-base-horizontal; 75 | font-size: $font-size-base; 76 | font-weight: normal; 77 | line-height: 1; 78 | color: $input-color; 79 | text-align: center; 80 | background-color: $input-group-addon-bg; 81 | border: 1px solid $input-group-addon-border-color; 82 | border-radius: $border-radius-base; 83 | 84 | // Sizing 85 | &.input-sm { 86 | padding: $padding-small-vertical $padding-small-horizontal; 87 | font-size: $font-size-small; 88 | border-radius: $border-radius-small; 89 | } 90 | &.input-lg { 91 | padding: $padding-large-vertical $padding-large-horizontal; 92 | font-size: $font-size-large; 93 | border-radius: $border-radius-large; 94 | } 95 | 96 | // Nuke default margins from checkboxes and radios to vertically center within. 97 | input[type="radio"], 98 | input[type="checkbox"] { 99 | margin-top: 0; 100 | } 101 | } 102 | 103 | // Reset rounded corners 104 | .input-group .form-control:first-child, 105 | .input-group-addon:first-child, 106 | .input-group-btn:first-child > .btn, 107 | .input-group-btn:first-child > .btn-group > .btn, 108 | .input-group-btn:first-child > .dropdown-toggle, 109 | .input-group-btn:last-child > .btn:not(:last-child):not(.dropdown-toggle), 110 | .input-group-btn:last-child > .btn-group:not(:last-child) > .btn { 111 | @include border-right-radius(0); 112 | } 113 | .input-group-addon:first-child { 114 | border-right: 0; 115 | } 116 | .input-group .form-control:last-child, 117 | .input-group-addon:last-child, 118 | .input-group-btn:last-child > .btn, 119 | .input-group-btn:last-child > .btn-group > .btn, 120 | .input-group-btn:last-child > .dropdown-toggle, 121 | .input-group-btn:first-child > .btn:not(:first-child), 122 | .input-group-btn:first-child > .btn-group:not(:first-child) > .btn { 123 | @include border-left-radius(0); 124 | } 125 | .input-group-addon:last-child { 126 | border-left: 0; 127 | } 128 | 129 | // Button input groups 130 | // ------------------------- 131 | .input-group-btn { 132 | position: relative; 133 | // Jankily prevent input button groups from wrapping with `white-space` and 134 | // `font-size` in combination with `inline-block` on buttons. 135 | font-size: 0; 136 | white-space: nowrap; 137 | 138 | // Negative margin for spacing, position for bringing hovered/focused/actived 139 | // element above the siblings. 140 | > .btn { 141 | position: relative; 142 | + .btn { 143 | margin-left: -1px; 144 | } 145 | // Bring the "active" button to the front 146 | &:hover, 147 | &:focus, 148 | &:active { 149 | z-index: 2; 150 | } 151 | } 152 | 153 | // Negative margin to only have a 1px border between the two 154 | &:first-child { 155 | > .btn, 156 | > .btn-group { 157 | margin-right: -1px; 158 | } 159 | } 160 | &:last-child { 161 | > .btn, 162 | > .btn-group { 163 | margin-left: -1px; 164 | } 165 | } 166 | } 167 | -------------------------------------------------------------------------------- /_sass/ven.bootstrap/_jumbotron.scss: -------------------------------------------------------------------------------- 1 | // 2 | // Jumbotron 3 | // -------------------------------------------------- 4 | 5 | 6 | .jumbotron { 7 | padding: $jumbotron-padding; 8 | margin-bottom: $jumbotron-padding; 9 | color: $jumbotron-color; 10 | background-color: $jumbotron-bg; 11 | 12 | h1, 13 | .h1 { 14 | color: $jumbotron-heading-color; 15 | } 16 | p { 17 | margin-bottom: ($jumbotron-padding / 2); 18 | font-size: $jumbotron-font-size; 19 | font-weight: 200; 20 | } 21 | 22 | > hr { 23 | border-top-color: darken($jumbotron-bg, 10%); 24 | } 25 | 26 | .container & { 27 | border-radius: $border-radius-large; // Only round corners at higher resolutions if contained in a container 28 | } 29 | 30 | .container { 31 | max-width: 100%; 32 | } 33 | 34 | @media screen and (min-width: $screen-sm-min) { 35 | padding-top: ($jumbotron-padding * 1.6); 36 | padding-bottom: ($jumbotron-padding * 1.6); 37 | 38 | .container & { 39 | padding-left: ($jumbotron-padding * 2); 40 | padding-right: ($jumbotron-padding * 2); 41 | } 42 | 43 | h1, 44 | .h1 { 45 | font-size: ($font-size-base * 4.5); 46 | } 47 | } 48 | } 49 | -------------------------------------------------------------------------------- /_sass/ven.bootstrap/_labels.scss: -------------------------------------------------------------------------------- 1 | // 2 | // Labels 3 | // -------------------------------------------------- 4 | 5 | .label { 6 | display: inline; 7 | padding: .2em .6em .3em; 8 | font-size: 75%; 9 | font-weight: bold; 10 | line-height: 1; 11 | color: $label-color; 12 | text-align: center; 13 | white-space: nowrap; 14 | vertical-align: baseline; 15 | border-radius: .25em; 16 | 17 | // [converter] extracted a& to a.label 18 | 19 | // Empty labels collapse automatically (not available in IE8) 20 | &:empty { 21 | display: none; 22 | } 23 | 24 | // Quick fix for labels in buttons 25 | .btn & { 26 | position: relative; 27 | top: -1px; 28 | } 29 | } 30 | 31 | // Add hover effects, but only for links 32 | a.label { 33 | &:hover, 34 | &:focus { 35 | color: $label-link-hover-color; 36 | text-decoration: none; 37 | cursor: pointer; 38 | } 39 | } 40 | 41 | // Colors 42 | // Contextual variations (linked labels get darker on :hover) 43 | 44 | .label-default { 45 | @include label-variant($label-default-bg); 46 | } 47 | 48 | .label-primary { 49 | @include label-variant($label-primary-bg); 50 | } 51 | 52 | .label-success { 53 | @include label-variant($label-success-bg); 54 | } 55 | 56 | .label-info { 57 | @include label-variant($label-info-bg); 58 | } 59 | 60 | .label-warning { 61 | @include label-variant($label-warning-bg); 62 | } 63 | 64 | .label-danger { 65 | @include label-variant($label-danger-bg); 66 | } 67 | -------------------------------------------------------------------------------- /_sass/ven.bootstrap/_list-group.scss: -------------------------------------------------------------------------------- 1 | // 2 | // List groups 3 | // -------------------------------------------------- 4 | 5 | 6 | // Base class 7 | // 8 | // Easily usable on