variables.less
59 lines
| 1.6 KiB
| text/x-less
|
LessCssLexer
Brian E. Granger
|
r10713 | // Our customizations to bootstrap go here. | ||
Brian E. Granger
|
r10700 | |||
Jonathan Frederic
|
r16957 | @black: #000; | ||
Jonathan Frederic
|
r16912 | @text-color: @black; | ||
@font-size-base: 13px; | ||||
@font-family-monospace: monospace; // to allow user to customize their fonts | ||||
Min RK
|
r19298 | @navbar-height: 30px; | ||
Jonathan Frederic
|
r16957 | @breadcrumb-color: darken(@border_color, 30%); | ||
@blockquote-font-size: inherit; | ||||
Jonathan Frederic
|
r16970 | @modal-inner-padding: 15px; | ||
Matthias Bussonnier
|
r19953 | @grid-float-breakpoint: 541px; | ||
@screen-xs: 540px; | ||||
Thomas Kluyver
|
r19516 | @logo_height: 28px; | ||
Matthias Bussonnier
|
r19716 | @border-radius-small: 1px; | ||
Jonathan Frederic
|
r19653 | @border-radius-base: 2px; | ||
Matthias Bussonnier
|
r19716 | @border-radius-large: 3px;; | ||
Jonathan Frederic
|
r19655 | @grid-gutter-width: 0px; | ||
Jonathan Frederic
|
r16957 | |||
// Disable modal slide-in from top animation. | ||||
.modal { | ||||
&.fade .modal-dialog { | ||||
.translate(0, 0); | ||||
} | ||||
} | ||||
// Set the default code color. | ||||
Paul Ivanov
|
r15841 | code { | ||
color: @black; // default code color in bootstrap is #d14 (crimson / amaranth) | ||||
} | ||||
Jonathan Frederic
|
r16957 | // Override bootstrap pre element styling. | ||
MinRK
|
r16205 | pre { | ||
// bootstrap has pre defaults that we don't want to inherit. | ||||
// start pre tag defaults based on the surrounding context instead. | ||||
font-size: inherit; | ||||
line-height: inherit; | ||||
} | ||||
Jonathan Frederic
|
r16957 | // Disable bold labels in BS3 | ||
label { | ||||
font-weight: normal; | ||||
} | ||||
Brian E. Granger
|
r10713 | // Our own global variables for all pages go here | ||
Jonathan Frederic
|
r19655 | @global-shadow: 0px 0px 12px 1px rgba(87, 87, 87, 0.2); | ||
Jonathan Frederic
|
r19656 | @global-shadow-dark: 0px 0px 12px 1px rgba(87, 87, 87, 0.4); | ||
Jonathan Frederic
|
r19655 | @page-header-padding: 20px; | ||
Jonathan Frederic
|
r19660 | /* Make the page background atleast 100% the height of the view port */ | ||
@page-backdrop-height: 100vh; | ||||
/* Make the page itself atleast 70% the height of the view port */ | ||||
Matthias Bussonnier
|
r19872 | @page-min-height: 0; | ||
Jonathan Frederic
|
r19660 | @page-backdrop-color: #EEE; | ||
@page-color: @body-bg; | ||||
Matthias Bussonnier
|
r19716 | @page-padding: 15px; | ||
Matthias Bussonnier
|
r19953 | |||
// preven container size to jump from 768px to 720px | ||||
// when window width go from 768 to 769+ | ||||
@container-sm : @screen-sm-min; | ||||