Commit dfbb5919 authored by Mark Otto's avatar Mark Otto
Browse files

addng docs for the themes stuff and examples

parent 7882f0f6
main cleanup-floating-forms cssvar-function dependabot/npm_and_yarn/stylelint-and-stylelint-config-twbs-bootstrap-15.3.0 extend-snippets feat/data-target floating-always-visible floating-labels-icons fod-main-banner form-controls-with-icons gh-pages gh-pages-530-alpha2 github/fork/719media/patch-13 github/fork/719media/patch-14 github/fork/719media/patch-9 github/fork/ChellyAhmed/fix-typo-reboot.md github/fork/ChellyAhmed/offcanvas-scroll-back github/fork/CtrlAltLilith/main github/fork/Elysiome/offcanvas-optional-window-resizing github/fork/JanSargsyan/main github/fork/LunicLynx/support-different-line-height-for-buttons github/fork/Psixodelik/main github/fork/Ronid1/ronid1/offcanvas_static_backdrop github/fork/RyanBerliner/tooltip-accessibility github/fork/SantiagoPVazquez/Feature-default-border-bottom-to-dropdown-item github/fork/Sir-Genius/utils github/fork/Sumit-Singh-8/main github/fork/Viktor-VERA2020/offcanvas-slide github/fork/Zivangu9/input-group-for-form-control-plaintext github/fork/alpadev/alpadev/call-dispose-on-component-reinstantiation github/fork/astagi/fix/tree-shake-modules github/fork/compnerd/dark-accordion-icon github/fork/derSascha/dropdown-dont-close-on-input-click github/fork/dev-ph1l/main github/fork/donquixote/issue-33861-utl-mixin github/fork/florianlacreuse/mixin-make-row-gutter-y github/fork/gregorw/main github/fork/iteggmbh/transitionend-dispose-race github/fork/jdelStrother/patch-1 github/fork/jonnysp/form-floating github/fork/jonnysp/independent-offcanvas github/fork/jonnysp/theme-dark-on-card-and-modal-fix github/fork/josefdlange/floating-label-placeholder-opacity github/fork/julien-deramond/enhance-change-version.js github/fork/julien-deramond/main-jd-fix-offset-content github/fork/julien-deramond/main-jd-issue-with-utitlies github/fork/julien-deramond/main-xmr-pa11y-ci-jd-add-hideElements github/fork/kyletsang/fix-tooltip-padding github/fork/lacutah/CheckboxCenteringDocumentation github/fork/lekoala/patch-3 github/fork/louismaximepiton/main-kld-lmp-collapse-proposal github/fork/louismaximepiton/main-lmp-card-inner-border-radius-fix github/fork/louismaximepiton/main-lmp-carousel-multiple-images github/fork/louismaximepiton/main-lmp-css-var-init github/fork/louismaximepiton/main-lmp-disabled-floating-label-fix github/fork/louismaximepiton/main-lmp-input-range-fix github/fork/louismaximepiton/main-lmp-shift-color github/fork/louismaximepiton/main-lmp-table-active-tr-fix github/fork/maciek-szn/switch github/fork/michael-roth/feature/19964-multiple-tab-targets github/fork/mistic100/dom-utils github/fork/nkdas91/accordion github/fork/nstungcom/fix-missing-modal-open-class github/fork/oraliahdz/animation-utilities github/fork/pine3ree/patch-7 github/fork/pouwerkerk/unindent-scss-docs-shortcode github/fork/smares/smares-no-scolling-on-modal-close github/fork/tgm-git/patch-1 gs-forms gs-toasts-with-animated-progress-bar gs/add-history-helper gs/change-version-dir-on-docs gs/data-must-set-onlu-one-instance gs/docs/fix-drop-down-error gs/event-handler-2 gs/make-docs-js-build gs/make-simple-attribute-toggler gs/popover-fix-doc gs/provide-steConfig-method gs/scrollspy-smoothscroll-option-use-browser-history gs/streamline-jqueryInterface gs/support-drop-down-in-navbar gs/test-js-generic-trigger gs/try-web-components gs/tweak-collapse-js-selector gs/use-event-handler-in-cocmponent gs/use-rollup-replace-for-version jo-docs-thanks-page jo-ssr-friendly logical-props-spacing-utils main-fod-disabled-form-check-label main-fod-nested-accordion main-fod-simpler-table-structure main-fod-table-separator main-fod-utilities-contrast main-jd-abbr-title main-jd-add-chips main-jd-add-doc-for-sass-custom-colors main-jd-add-enable-host-to-handle-web-components main-jd-browserstack-fine-tune main-jd-browserstack-updates main-jd-docs-consistent-usage-of-css-sections-step-2 main-jd-fix-docs-headers-in-white main-jd-fix-highlight-docs-border-radius main-jd-fix-placeholder-color-background-params-for-img-markup main-jd-glossary-experiment main-jd-postcss-drop-empty-css-vars main-jd-proto-doc-astro main-jd-skip-navigation-component main-jd-stackblitz-for-examples main-jd-upgrade-browserlistrc main-jd-use-host main-lmp-dark-theme-customization main-lmp-handle-scroll-target main-lmp-tab-fix main-mc-opensearch main-xmr-bundlewatch-action main-xmr-eslint-plugin-compat main-xmr-hugo-docs-vendor main-xmr-hugo-rm-ver main-xmr-linkinator-prod main-xmr-min-mangle main-xmr-pa11y-ci more-darkmode-examples nested-dropdowns patrickhlauke-issue37428 patrickhlauke-use-of-color-tweaks pr/34102 pr/37590 previous-next-docs-links sticky-thead utilities-functions-mixin v3-dev v4-dev v4-dev-dropdown-hide-method v530-dev v6-postcss-custom-media v6-spinner-dots v6/gs/use-floating-ui-in-place-of-popper xmr/dev xmr/docs-png xmr/docs-svgs xmr/hugo-reorg-files xmr/js-2 xmr/markdownlint xmr/prepare-530-alpha2 xmr/xo v5.3.0-alpha1 v5.2.3 v5.2.2 v5.2.1 v5.2.0 v5.2.0-beta1 v5.1.3 v5.1.2 v5.1.1 v5.1.0 v5.0.2 v5.0.1 v5.0.0 v5.0.0-beta3 v5.0.0-beta2 v5.0.0-beta1 v5.0.0-alpha3 v5.0.0-alpha2 v5.0.0-alpha1 v4.6.2 v4.6.1 v4.6.0 v4.5.3 v4.5.2 v4.5.1 v4.5.0 v4.4.1 v4.4.0 v4.3.1 v4.3.0 v4.2.1 v4.2.0 v4.1.3 v4.1.2 v4.1.1 v4.1.0 v4.0.0 v4.0.0-beta.3 v4.0.0-beta.2 v4.0.0-beta v4.0.0-alpha.6 v4.0.0-alpha.5 v4.0.0-alpha.4 v4.0.0-alpha.3 v4.0.0-alpha.2 v4.0.0-alpha v3.4.1 v3.4.0 v3.3.7 v3.3.6 v3.3.5 v3.3.4 v3.3.2 v3.3.1 v3.3.0 v3.2.0 v3.1.1 v3.1.0 v3.0.3 v3.0.2 v3.0.1 v3.0.0 v3.0.0-rc.2 v3.0.0-rc1 v2.3.2 v2.3.1 v2.3.0 v2.2.2 v2.2.1 v2.2.0 v2.1.1 v2.1.0 v2.0.4 v2.0.3 v2.0.2 v2.0.1 v2.0.0 v1.4.0 v1.3.0
1 merge request!1631.3 wip
Showing with 76 additions and 31 deletions
+76 -31
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
* http://www.apache.org/licenses/LICENSE-2.0 * http://www.apache.org/licenses/LICENSE-2.0
* *
* Designed and built with all the love in the world @twitter by @mdo and @fat. * Designed and built with all the love in the world @twitter by @mdo and @fat.
* Date: Sat Sep 3 15:53:45 PDT 2011 * Date: Sun Sep 4 14:02:46 PDT 2011
*/ */
/* Reset.less /* Reset.less
* Props to Eric Meyer (meyerweb.com) for his CSS reset file. We're using an adapted version here that cuts out some of the reset HTML elements we will never need here (i.e., dfn, samp, etc). * Props to Eric Meyer (meyerweb.com) for his CSS reset file. We're using an adapted version here that cuts out some of the reset HTML elements we will never need here (i.e., dfn, samp, etc).
...@@ -282,6 +282,12 @@ textarea { ...@@ -282,6 +282,12 @@ textarea {
Feel free to create and add new variables and mixins here. The goal is to make this your playground and keep the core files intact. Feel free to create and add new variables and mixins here. The goal is to make this your playground and keep the core files intact.
*/ */
/* /*
TODO:
- add ability to set app/site-wide base font-face (need better variables: @baseFontSize, @baseFontFace, @baseLineHeight, etc)
- make form inputs and tables apply the new global type changes (currently statically set)
- add new docs section for examples
- add new docs section for Theme.less
*//*
* Scaffolding * Scaffolding
* Basic and global styles for generating a grid system, structural layout, and page templates * Basic and global styles for generating a grid system, structural layout, and page templates
* ------------------------------------------------------------------------------------------- */ * ------------------------------------------------------------------------------------------- */
...@@ -683,7 +689,7 @@ fieldset { ...@@ -683,7 +689,7 @@ fieldset {
fieldset legend { fieldset legend {
display: block; display: block;
margin-left: 150px; margin-left: 150px;
font-size: 20px; font-size: 19.5px;
line-height: 1; line-height: 1;
*margin: 0 0 5px 145px; *margin: 0 0 5px 145px;
/* IE6-7 */ /* IE6-7 */
...@@ -897,7 +903,7 @@ textarea[readonly] { ...@@ -897,7 +903,7 @@ textarea[readonly] {
text-decoration: underline; text-decoration: underline;
} }
.help-inline, .help-block { .help-inline, .help-block {
font-size: 12px; font-size: 11px;
line-height: 18px; line-height: 18px;
color: #bfbfbf; color: #bfbfbf;
} }
...@@ -997,7 +1003,7 @@ textarea[readonly] { ...@@ -997,7 +1003,7 @@ textarea[readonly] {
color: #808080; color: #808080;
} }
.inputs-list li label small { .inputs-list li label small {
font-size: 12px; font-size: 11px;
font-weight: normal; font-weight: normal;
} }
.inputs-list li ul.inputs-list { .inputs-list li ul.inputs-list {
......
...@@ -113,7 +113,7 @@ code,pre{padding:0 3px 2px;font-family:Monaco, Andale Mono, Courier New, monospa ...@@ -113,7 +113,7 @@ code,pre{padding:0 3px 2px;font-family:Monaco, Andale Mono, Courier New, monospa
code{background-color:#fee9cc;color:rgba(0, 0, 0, 0.75);padding:1px 3px;} code{background-color:#fee9cc;color:rgba(0, 0, 0, 0.75);padding:1px 3px;}
pre{background-color:#f5f5f5;display:block;padding:17px;margin:0 0 18px;line-height:18px;font-size:12px;border:1px solid #ccc;border:1px solid rgba(0, 0, 0, 0.15);-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px;white-space:pre;white-space:pre-wrap;word-wrap:break-word;} pre{background-color:#f5f5f5;display:block;padding:17px;margin:0 0 18px;line-height:18px;font-size:12px;border:1px solid #ccc;border:1px solid rgba(0, 0, 0, 0.15);-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px;white-space:pre;white-space:pre-wrap;word-wrap:break-word;}
form{margin-bottom:18px;} form{margin-bottom:18px;}
fieldset{margin-bottom:18px;padding-top:18px;}fieldset legend{display:block;margin-left:150px;font-size:20px;line-height:1;*margin:0 0 5px 145px;*line-height:1.5;color:#404040;} fieldset{margin-bottom:18px;padding-top:18px;}fieldset legend{display:block;margin-left:150px;font-size:19.5px;line-height:1;*margin:0 0 5px 145px;*line-height:1.5;color:#404040;}
.clearfix{margin-bottom:18px;} .clearfix{margin-bottom:18px;}
label,input,select,textarea{font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:13px;font-weight:normal;line-height:normal;} label,input,select,textarea{font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:13px;font-weight:normal;line-height:normal;}
label{padding-top:6px;font-size:13px;line-height:18px;float:left;width:130px;text-align:right;color:#404040;} label{padding-top:6px;font-size:13px;line-height:18px;float:left;width:130px;text-align:right;color:#404040;}
...@@ -142,7 +142,7 @@ form div.error .input-prepend span.add-on,form div.error .input-append span.add- ...@@ -142,7 +142,7 @@ form div.error .input-prepend span.add-on,form div.error .input-append span.add-
textarea.xxlarge{overflow-y:auto;} textarea.xxlarge{overflow-y:auto;}
input[disabled],select[disabled],textarea[disabled],input[readonly],select[readonly],textarea[readonly]{background-color:#f5f5f5;border-color:#ddd;cursor:not-allowed;} input[disabled],select[disabled],textarea[disabled],input[readonly],select[readonly],textarea[readonly]{background-color:#f5f5f5;border-color:#ddd;cursor:not-allowed;}
.actions{background:#f5f5f5;margin-top:18px;margin-bottom:18px;padding:17px 20px 18px 150px;border-top:1px solid #ddd;-webkit-border-radius:0 0 3px 3px;-moz-border-radius:0 0 3px 3px;border-radius:0 0 3px 3px;}.actions .secondary-action{float:right;}.actions .secondary-action a{line-height:30px;}.actions .secondary-action a:hover{text-decoration:underline;} .actions{background:#f5f5f5;margin-top:18px;margin-bottom:18px;padding:17px 20px 18px 150px;border-top:1px solid #ddd;-webkit-border-radius:0 0 3px 3px;-moz-border-radius:0 0 3px 3px;border-radius:0 0 3px 3px;}.actions .secondary-action{float:right;}.actions .secondary-action a{line-height:30px;}.actions .secondary-action a:hover{text-decoration:underline;}
.help-inline,.help-block{font-size:12px;line-height:18px;color:#bfbfbf;} .help-inline,.help-block{font-size:11px;line-height:18px;color:#bfbfbf;}
.help-inline{padding-left:5px;*position:relative;*top:-5px;} .help-inline{padding-left:5px;*position:relative;*top:-5px;}
.help-block{display:block;max-width:600px;} .help-block{display:block;max-width:600px;}
.inline-inputs{color:#808080;}.inline-inputs span,.inline-inputs input{display:inline-block;} .inline-inputs{color:#808080;}.inline-inputs span,.inline-inputs input{display:inline-block;}
...@@ -156,7 +156,7 @@ input[disabled],select[disabled],textarea[disabled],input[readonly],select[reado ...@@ -156,7 +156,7 @@ input[disabled],select[disabled],textarea[disabled],input[readonly],select[reado
.input-append input{float:left;-webkit-border-radius:3px 0 0 3px;-moz-border-radius:3px 0 0 3px;border-radius:3px 0 0 3px;} .input-append input{float:left;-webkit-border-radius:3px 0 0 3px;-moz-border-radius:3px 0 0 3px;border-radius:3px 0 0 3px;}
.input-append .add-on{-webkit-border-radius:0 3px 3px 0;-moz-border-radius:0 3px 3px 0;border-radius:0 3px 3px 0;border-right-width:1px;border-left-width:0;} .input-append .add-on{-webkit-border-radius:0 3px 3px 0;-moz-border-radius:0 3px 3px 0;border-radius:0 3px 3px 0;border-right-width:1px;border-left-width:0;}
.inputs-list{margin:0 0 5px;width:100%;}.inputs-list li{display:block;padding:0;width:100%;}.inputs-list li label{display:block;float:none;width:auto;padding:0;line-height:18px;text-align:left;white-space:normal;}.inputs-list li label strong{color:#808080;} .inputs-list{margin:0 0 5px;width:100%;}.inputs-list li{display:block;padding:0;width:100%;}.inputs-list li label{display:block;float:none;width:auto;padding:0;line-height:18px;text-align:left;white-space:normal;}.inputs-list li label strong{color:#808080;}
.inputs-list li label small{font-size:12px;font-weight:normal;} .inputs-list li label small{font-size:11px;font-weight:normal;}
.inputs-list li ul.inputs-list{margin-left:25px;margin-bottom:10px;padding-top:0;} .inputs-list li ul.inputs-list{margin-left:25px;margin-bottom:10px;padding-top:0;}
.inputs-list li:first-child{padding-top:5px;} .inputs-list li:first-child{padding-top:5px;}
.inputs-list input[type=radio],.inputs-list input[type=checkbox]{margin-bottom:0;} .inputs-list input[type=radio],.inputs-list input[type=checkbox]{margin-bottom:0;}
......
...@@ -151,10 +151,8 @@ div.quickstart form textarea { ...@@ -151,10 +151,8 @@ div.quickstart form textarea {
} }
/* Render mini layout previews /* Render mini layout previews
-------------------------------------------------- */ -------------------------------------------------- */
div.mini-layout { .diagram,
height: 340px; .mini-layout {
margin-bottom: 20px;
padding: 9px;
border: 1px solid #ccc; border: 1px solid #ccc;
-webkit-border-radius: 6px; -webkit-border-radius: 6px;
-moz-border-radius: 6px; -moz-border-radius: 6px;
...@@ -163,28 +161,36 @@ div.mini-layout { ...@@ -163,28 +161,36 @@ div.mini-layout {
-moz-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.125); -moz-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.125);
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.125); box-shadow: 0 1px 3px rgba(0, 0, 0, 0.125);
} }
div.mini-layout div { .diagram {
padding: 4px;
}
.mini-layout {
height: 340px;
margin-bottom: 20px;
padding: 9px;
}
.mini-layout div {
-webkit-border-radius: 3px; -webkit-border-radius: 3px;
-moz-border-radius: 3px; -moz-border-radius: 3px;
border-radius: 3px; border-radius: 3px;
} }
div.mini-layout div.mini-layout-body { .mini-layout .mini-layout-body {
background-color: #dceaf4; background-color: #dceaf4;
margin: 0 auto; margin: 0 auto;
width: 340px; width: 340px;
height: 340px; height: 340px;
} }
div.mini-layout.fluid div.mini-layout-sidebar, .mini-layout.fluid .mini-layout-sidebar,
div.mini-layout.fluid div.mini-layout-header, .mini-layout.fluid .mini-layout-header,
div.mini-layout.fluid div.mini-layout-body { .mini-layout.fluid .mini-layout-body {
float: left; float: left;
} }
div.mini-layout.fluid div.mini-layout-sidebar { .mini-layout.fluid .mini-layout-sidebar {
background-color: #bbd8e9; background-color: #bbd8e9;
width: 90px; width: 90px;
height: 340px; height: 340px;
} }
div.mini-layout.fluid div.mini-layout-body { .mini-layout.fluid .mini-layout-body {
width: 300px; width: 300px;
margin-left: 10px; margin-left: 10px;
} }
......
docs/assets/img/example-diagram-01.png

1.64 KB

docs/assets/img/example-diagram-02.png

1.79 KB

docs/assets/img/example-diagram-03.png

1.5 KB

...@@ -110,13 +110,13 @@ ...@@ -110,13 +110,13 @@
<h1>About Bootstrap <small>Brief history, browser support, and more</small></h1> <h1>About Bootstrap <small>Brief history, browser support, and more</small></h1>
</div> </div>
<div class="row"> <div class="row">
<div class="span6 columns"> <div class="span-one-third">
<h3>History</h3> <h3>History</h3>
<p>In the earlier days of Twitter, engineers used almost any library they were familiar with to meet front-end requirements. Bootstrap began as an answer to the challenges that presented and development quickly accelerated during Twitter’s first Hackweek.</p> <p>In the earlier days of Twitter, engineers used almost any library they were familiar with to meet front-end requirements. Bootstrap began as an answer to the challenges that presented and development quickly accelerated during Twitter’s first Hackweek.</p>
<p>With the help and feedback of many engineers at Twitter, Bootstrap has grown significantly to encompass not only basic styles, but more elegant and durable front-end design patterns.</p> <p>With the help and feedback of many engineers at Twitter, Bootstrap has grown significantly to encompass not only basic styles, but more elegant and durable front-end design patterns.</p>
<p>Read more on <a href="https://dev.twitter.com/blog/bootstrap-twitter">dev.twitter.com &rsaquo;</a></p> <p>Read more on <a href="https://dev.twitter.com/blog/bootstrap-twitter">dev.twitter.com &rsaquo;</a></p>
</div> </div>
<div class="span5 columns"> <div class="span-one-third">
<h3>Browser support</h3> <h3>Browser support</h3>
<p>Bootstrap is tested and supported in major modern browsers like Chrome, Safari, Internet Explorer, and Firefox.</p> <p>Bootstrap is tested and supported in major modern browsers like Chrome, Safari, Internet Explorer, and Firefox.</p>
<img src="assets/img/browsers.png" width="258px" height="48px" alt="Tested and supported in Chrome, Safari, Internet Explorer, and Firefox"> <img src="assets/img/browsers.png" width="258px" height="48px" alt="Tested and supported in Chrome, Safari, Internet Explorer, and Firefox">
...@@ -128,7 +128,7 @@ ...@@ -128,7 +128,7 @@
<li>Opera 11</li> <li>Opera 11</li>
</ul> </ul>
</div> </div>
<div class="span5 columns"> <div class="span-one-third">
<h3>What's included</h3> <h3>What's included</h3>
<p>Bootstrap comes complete with compiled CSS, uncompiled, and example templates.</p> <p>Bootstrap comes complete with compiled CSS, uncompiled, and example templates.</p>
<ul> <ul>
...@@ -139,6 +139,29 @@ ...@@ -139,6 +139,29 @@
</ul> </ul>
</div> </div>
</div><!-- /row --> </div><!-- /row -->
<div class="row">
<div class="span12">
<h3>Quick-start examples</h3>
<p>Need some quick templates? Check out these basic examples we've put together:</p>
<div class="row">
<div class="span4">
<img src="assets/img/example-diagram-01.png" class="diagram" alt="Simple three-column layout with hero unit">
</div>
<div class="span4">
<img src="assets/img/example-diagram-02.png" class="diagram" alt="Fluid layout with static sidebar">
</div>
<div class="span4">
<img src="assets/img/example-diagram-03.png" class="diagram" alt="Simple hanging container for apps">
</div>
</div>
</div>
<div class="span4">
<h3>Theming Bootstrap</h3>
<p>Starting with v1.3.0, Bootstrap comes equipped with a customizable Less file, Theme.less. It's designed to replace default values in the library and provide a one-stop-shop for adding-on.</p>
</div>
</div><!-- /row -->
</section> </section>
......
...@@ -17,7 +17,7 @@ fieldset { ...@@ -17,7 +17,7 @@ fieldset {
legend { legend {
display: block; display: block;
margin-left: 150px; margin-left: 150px;
font-size: 20px; font-size: @basefont * 1.5;
line-height: 1; line-height: 1;
*margin: 0 0 5px 145px; /* IE6-7 */ *margin: 0 0 5px 145px; /* IE6-7 */
*line-height: 1.5; /* IE6-7 */ *line-height: 1.5; /* IE6-7 */
...@@ -69,7 +69,7 @@ select, ...@@ -69,7 +69,7 @@ select,
width: 210px; width: 210px;
height: @baseline; height: @baseline;
padding: 4px; padding: 4px;
font-size: 13px; font-size: @basefont;
line-height: @baseline; line-height: @baseline;
color: @gray; color: @gray;
border: 1px solid #ccc; border: 1px solid #ccc;
...@@ -253,7 +253,7 @@ textarea[readonly] { ...@@ -253,7 +253,7 @@ textarea[readonly] {
// Help Text // Help Text
.help-inline, .help-inline,
.help-block { .help-block {
font-size: 12px; font-size: @basefont - 2;
line-height: @baseline; line-height: @baseline;
color: @grayLight; color: @grayLight;
} }
...@@ -351,7 +351,7 @@ textarea[readonly] { ...@@ -351,7 +351,7 @@ textarea[readonly] {
color: @gray; color: @gray;
} }
small { small {
font-size: 12px; font-size: @basefont - 2;
font-weight: normal; font-weight: normal;
} }
} }
......
...@@ -19,34 +19,44 @@ ...@@ -19,34 +19,44 @@
// Font face, size, weight, and more // Font face, size, weight, and more
---------------------------------------- // -------------------------------------
@baseFontSize: 13px; // base font-size @baseFontSize: 13px; // base font-size
@baseLineHeight: 18px; // base line-height of elements (incrementally increases with font-size) @baseLineHeight: 18px; // base line-height of elements (incrementally increases with font-size)
// Link color // Link color
----------------- // ---------------
@linkColor: #0069d6; @linkColor: #0069d6;
// No need to specify a link hover color because we'll automatically do that for you in Preboot // No need to specify a link hover color because we'll automatically do that for you in Preboot
// COMING SOON...
// --------------
@baseFontFace: "Helvetica";
// Primary button color // Primary button color
-------------------------------- // -----------------------------
@primaryButtonColor: #333; @primaryButtonColor: #333;
// Grid system // Grid system
------------------------------------ // ---------------------------------
// Griditude // Griditude
@gridColumns: 16; @gridColumns: 16;
@gridColumnWidth: 40px; @gridColumnWidth: 40px;
@gridGutterWidth: 20px; @gridGutterWidth: 20px;
@siteWidth: (@gridColumns * @gridColumnWidth) + (@gridGutterWidth * (@gridColumns - 1));
/* /*
TODO: TODO:
- move primary button color here
- add ability to set app/site-wide base font-face (need better variables: @baseFontSize, @baseFontFace, @baseLineHeight, etc) - add ability to set app/site-wide base font-face (need better variables: @baseFontSize, @baseFontFace, @baseLineHeight, etc)
- make form inputs and tables apply the new global type changes (currently statically set) - make form inputs and tables apply the new global type changes (currently statically set)
- add new docs section for examples - add new docs section for examples
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment