first commit
This commit is contained in:
@@ -0,0 +1,558 @@
|
||||
// ------------------------------------------------------------------------------
|
||||
//
|
||||
// # Bootstrap variables overrides
|
||||
//
|
||||
// Custom overrides of Bootstrap variables
|
||||
//
|
||||
// Version: 1.0
|
||||
// Latest update: May 25, 2015
|
||||
//
|
||||
// ------------------------------------------------------------------------------
|
||||
|
||||
|
||||
//== Colors
|
||||
//
|
||||
|
||||
//## Gray and brand colors for use across Bootstrap.
|
||||
@gray-light: lighten(@gray-base, 60%); // #999
|
||||
|
||||
//## Brand colors for use across Bootstrap.
|
||||
@brand-primary: @color-primary-500;
|
||||
@brand-success: @color-success-500;
|
||||
@brand-info: @color-info-500;
|
||||
@brand-warning: @color-warning-500;
|
||||
@brand-danger: @color-danger-500;
|
||||
|
||||
|
||||
|
||||
//== Scaffolding
|
||||
//
|
||||
//## Settings for some of the most global styles.
|
||||
|
||||
//** Background color for `<body>`.
|
||||
@body-bg: #f5f5f5;
|
||||
|
||||
//** Global textual link color.
|
||||
@link-color: @color-primary-600;
|
||||
|
||||
//** Link hover color set via `darken()` function.
|
||||
@link-hover-color: darken(@link-color, 10%);
|
||||
|
||||
//** Link hover decoration.
|
||||
@link-hover-decoration: none;
|
||||
|
||||
|
||||
|
||||
//== Typography
|
||||
//
|
||||
//## Font, line-height, and color for body text, headings, and more.
|
||||
|
||||
@font-family-sans-serif: "Roboto", Helvetica Neue, Helvetica, Arial, sans-serif;
|
||||
|
||||
@font-size-base: 13px;
|
||||
@font-size-large: ceil((@font-size-base * 1.075)); // ~14px
|
||||
@font-size-small: ceil((@font-size-base * 0.9)); // ~12px
|
||||
|
||||
@font-size-h1: ceil((@font-size-base * 1.9)); // ~25px
|
||||
@font-size-h2: ceil((@font-size-base * 1.75)); // ~23px
|
||||
@font-size-h3: ceil((@font-size-base * 1.6)); // ~21px
|
||||
@font-size-h4: ceil((@font-size-base * 1.45)); // ~19px
|
||||
@font-size-h5: ceil((@font-size-base * 1.3)); // ~17px
|
||||
@font-size-h6: ceil((@font-size-base * 1.15)); // ~15px
|
||||
|
||||
//** Unit-less `line-height` for use in components like buttons.
|
||||
@line-height-base: 1.5384616; // 20/13
|
||||
|
||||
//** Computed "line-height" (`font-size` * `line-height`) for use with `margin`, `padding`, etc.
|
||||
@line-height-computed: floor((@font-size-base * @line-height-base)); // ~20px
|
||||
|
||||
//** By default, this inherits from the `<body>`.
|
||||
@headings-font-weight: 400;
|
||||
@headings-line-height: @line-height-base;
|
||||
|
||||
|
||||
|
||||
//== Iconography
|
||||
//
|
||||
//## Specify custom location and filename of the included Glyphicons icon font. Useful for those including Bootstrap via Bower.
|
||||
|
||||
//** Load fonts from this directory.
|
||||
@icon-font-path: "../css/icons/glyphicons/";
|
||||
|
||||
|
||||
|
||||
//== Components
|
||||
//
|
||||
//## Define common padding and border radius sizes and more. Values based on 14px text and 1.428 line-height (~20px to start).
|
||||
|
||||
@padding-base-vertical: 7px;
|
||||
@padding-base-horizontal: 12px;
|
||||
|
||||
@padding-large-vertical: 9px;
|
||||
@padding-large-horizontal: 15px;
|
||||
|
||||
@padding-small-vertical: 6px;
|
||||
@padding-small-horizontal: 11px;
|
||||
|
||||
@padding-xs-vertical: 5px;
|
||||
@padding-xs-horizontal: 10px;
|
||||
|
||||
@line-height-large: 1.4285715; // 20/14
|
||||
@line-height-small: 1.6666667; // 20/12
|
||||
|
||||
@border-radius-base: 3px;
|
||||
@border-radius-large: 5px;
|
||||
@border-radius-small: 2px;
|
||||
|
||||
|
||||
|
||||
//== Tables
|
||||
//
|
||||
//## Customizes the `.table` component with basic values, each used across all table variations.
|
||||
|
||||
//** Padding for `<th>`s and `<td>`s.
|
||||
@table-cell-padding: 12px @content-padding-large;
|
||||
|
||||
//** Padding for cells in `.table-condensed`.
|
||||
@table-condensed-cell-padding: @table-mini-cell-padding;
|
||||
|
||||
//** Background color used for `.table-striped`.
|
||||
@table-bg-accent: #fcfcfc;
|
||||
|
||||
//** Background color used for `.table-hover`.
|
||||
@table-bg-hover: #f8f8f8;
|
||||
|
||||
|
||||
|
||||
//== Buttons
|
||||
//
|
||||
//## For each of Bootstrap's buttons, define text, background and border color.
|
||||
|
||||
@btn-default-bg: #fcfcfc;
|
||||
@btn-default-border: #ddd;
|
||||
|
||||
@btn-primary-border: @btn-primary-bg;
|
||||
@btn-success-border: @btn-success-bg;
|
||||
@btn-info-border: @btn-info-bg;
|
||||
@btn-warning-border: @btn-warning-bg;
|
||||
@btn-danger-border: @btn-danger-bg;
|
||||
|
||||
|
||||
|
||||
//== Forms
|
||||
//
|
||||
//##
|
||||
|
||||
//** `<input disabled>` background color
|
||||
@input-bg-disabled: #fafafa;
|
||||
|
||||
//** Text color for `<input>`s
|
||||
@input-color: @text-color;
|
||||
|
||||
//** `<input>` border color
|
||||
@input-border: #ddd;
|
||||
|
||||
//** Large `.form-control` border radius
|
||||
@input-border-radius-large: @border-radius-base;
|
||||
|
||||
//** Border color for inputs on focus
|
||||
@input-border-focus: @input-border;
|
||||
|
||||
//** Large `.form-control` height
|
||||
@input-height-large: (floor(@font-size-large * @line-height-large) + (@padding-large-vertical * 2) + 2);
|
||||
|
||||
//** `.form-group` margin
|
||||
@form-group-margin-bottom: @line-height-computed;
|
||||
|
||||
//** Background color for textual input addons
|
||||
@input-group-addon-bg: #fcfcfc;
|
||||
|
||||
|
||||
|
||||
//== Dropdowns
|
||||
//
|
||||
//## Dropdown menu container and contents.
|
||||
|
||||
//** Dropdown menu `border-color`.
|
||||
@dropdown-border: #ddd;
|
||||
|
||||
//** Dropdown menu `border-color` **for IE8**.
|
||||
@dropdown-fallback-border: @dropdown-border;
|
||||
|
||||
//** Hover color for dropdown links.
|
||||
@dropdown-link-hover-color: @dropdown-link-color;
|
||||
|
||||
//** Text color for headers within dropdown menus.
|
||||
@dropdown-header-color: @text-color;
|
||||
|
||||
|
||||
|
||||
//== Media queries breakpoints
|
||||
//
|
||||
//## Define the breakpoints at which your layout will change, adapting to different screen sizes.
|
||||
|
||||
// Small screen / tablet
|
||||
//** Deprecated `@screen-sm` as of v3.0.1
|
||||
@screen-sm: 769px;
|
||||
|
||||
// Medium screen / desktop
|
||||
//** Deprecated `@screen-md` as of v3.0.1
|
||||
@screen-md: 1025px;
|
||||
|
||||
|
||||
|
||||
//== Grid system
|
||||
//
|
||||
//## Define your custom responsive grid.
|
||||
|
||||
//** Padding between columns. Gets divided in half for the left and right.
|
||||
@grid-gutter-width: @line-height-computed; // Make horizontal and vertical spacing identical, feel free to change if needed
|
||||
|
||||
|
||||
|
||||
//== Container sizes
|
||||
//
|
||||
//## Define the maximum width of `.container` for different screen sizes.
|
||||
|
||||
// Small screen / tablet
|
||||
@container-tablet: @screen-sm;
|
||||
|
||||
// Medium screen / desktop
|
||||
@container-desktop: @screen-md;
|
||||
|
||||
// Large screen / wide desktop
|
||||
@container-large-desktop: @screen-lg;
|
||||
|
||||
|
||||
|
||||
//== Navbar
|
||||
//
|
||||
//##
|
||||
|
||||
// Basics of a navbar
|
||||
@navbar-height: 46px;
|
||||
@navbar-border-radius: 0;
|
||||
@navbar-padding-horizontal: @grid-gutter-width;
|
||||
|
||||
// Navbar colors
|
||||
@navbar-default-color: #555;
|
||||
@navbar-default-bg: #fff;
|
||||
@navbar-default-border: #ddd;
|
||||
|
||||
// Navbar links
|
||||
@navbar-default-link-color: @navbar-default-color;
|
||||
@navbar-default-link-hover-color: @text-color;
|
||||
@navbar-default-link-hover-bg: #f8f8f8;
|
||||
@navbar-default-link-active-color: @navbar-default-link-hover-color;
|
||||
@navbar-default-link-active-bg: @navbar-default-link-hover-bg;
|
||||
@navbar-default-link-disabled-color: @text-muted;
|
||||
|
||||
|
||||
// Inverted navbar
|
||||
// Reset inverted navbar basics
|
||||
@navbar-inverse-color: #fff;
|
||||
@navbar-inverse-bg: @color-slate-800;
|
||||
@navbar-inverse-border: @navbar-inverse-bg;
|
||||
|
||||
// Inverted navbar links
|
||||
@navbar-inverse-link-color: @navbar-inverse-color;
|
||||
@navbar-inverse-link-hover-color: @navbar-inverse-link-color;
|
||||
@navbar-inverse-link-hover-bg: fade(#000, 10%);
|
||||
|
||||
@navbar-inverse-link-active-bg: fade(#000, 15%);
|
||||
@navbar-inverse-link-disabled-color: fade(#fff, 60%);
|
||||
|
||||
|
||||
|
||||
//== Navs
|
||||
//
|
||||
//##
|
||||
|
||||
//=== Shared nav styles
|
||||
@nav-link-padding: (@padding-base-vertical + 2) @content-padding-base;
|
||||
|
||||
|
||||
@nav-link-hover-bg: #f5f5f5;
|
||||
|
||||
@nav-disabled-link-color: @text-muted;
|
||||
@nav-disabled-link-hover-color: @nav-disabled-link-color;
|
||||
|
||||
//== Tabs
|
||||
@nav-tabs-border-color: @panel-default-border;
|
||||
@nav-tabs-link-hover-border-color: transparent;
|
||||
|
||||
@nav-tabs-active-link-hover-bg: @panel-bg;
|
||||
@nav-tabs-active-link-hover-color: @text-color;
|
||||
@nav-tabs-active-link-hover-border-color: @nav-tabs-border-color;
|
||||
|
||||
@nav-tabs-justified-link-border-color: @nav-tabs-border-color;
|
||||
@nav-tabs-justified-active-link-border-color: @panel-bg;
|
||||
|
||||
@nav-tabs-solid-bg: #fafafa;
|
||||
@nav-tabs-solid-hover-bg: #f5f5f5;
|
||||
|
||||
@nav-tabs-mobile-link-hover-bg: #fafafa;
|
||||
@nav-tabs-mobile-link-active-bg: #f5f5f5;
|
||||
|
||||
|
||||
|
||||
//== Pagination
|
||||
//
|
||||
//##
|
||||
|
||||
@pagination-color: @text-color;
|
||||
|
||||
@pagination-hover-color: @pagination-color;
|
||||
@pagination-hover-bg: #f5f5f5;
|
||||
|
||||
@pagination-disabled-color: #bbb;
|
||||
@pagination-disabled-bg: transparent;
|
||||
|
||||
|
||||
|
||||
//== Pager
|
||||
//
|
||||
//##
|
||||
|
||||
@pager-border-radius: @border-radius-base;
|
||||
@pager-hover-bg: @brand-primary;
|
||||
|
||||
|
||||
|
||||
//== Form states and alerts
|
||||
//
|
||||
//## Define colors for form feedback states and, by default, alerts.
|
||||
|
||||
@state-success-bg: @color-success-50;
|
||||
@state-success-text: @color-success-600;
|
||||
@state-success-border: @color-success-500;
|
||||
|
||||
@state-info-bg: @color-info-50;
|
||||
@state-info-text: @color-info-800;
|
||||
@state-info-border: @color-info-500;
|
||||
|
||||
@state-warning-bg: @color-orange-50;
|
||||
@state-warning-text: @color-orange-800;
|
||||
@state-warning-border: @color-orange-500;
|
||||
|
||||
@state-danger-bg: @color-warning-50;
|
||||
@state-danger-text: @color-warning-800;
|
||||
@state-danger-border: @color-warning-500;
|
||||
|
||||
|
||||
|
||||
//== Tooltips
|
||||
//
|
||||
//##
|
||||
|
||||
//** Tooltip background color
|
||||
@tooltip-bg: #333;
|
||||
|
||||
@tooltip-opacity: 1;
|
||||
|
||||
//** Tooltip arrow width
|
||||
@tooltip-arrow-width: 4px;
|
||||
|
||||
|
||||
|
||||
//== Popovers
|
||||
//
|
||||
//##
|
||||
|
||||
//** Popover border color
|
||||
@popover-border-color: #ccc;
|
||||
|
||||
//** Popover fallback border color
|
||||
@popover-fallback-border-color: @popover-border-color;
|
||||
|
||||
//** Popover title background color
|
||||
@popover-title-bg: transparent;
|
||||
|
||||
//** Popover arrow width
|
||||
@popover-arrow-width: 5px;
|
||||
|
||||
//** Popover outer arrow color
|
||||
@popover-arrow-outer-color: darken(@popover-border-color, 10%);
|
||||
|
||||
|
||||
|
||||
//== Modals
|
||||
//
|
||||
//##
|
||||
|
||||
//** Padding applied to the modal body
|
||||
@modal-inner-padding: @content-padding-large;
|
||||
|
||||
//** Padding applied to the modal title
|
||||
@modal-title-padding: @modal-inner-padding;
|
||||
|
||||
//** Modal content border color
|
||||
@modal-content-border-color: transparent;
|
||||
|
||||
//** Modal header border color
|
||||
@modal-header-border-color: transparent;
|
||||
|
||||
//** Sizing
|
||||
@modal-sm: 400px;
|
||||
|
||||
|
||||
|
||||
//== Alerts
|
||||
//
|
||||
//## Define alert colors, border radius, and padding.
|
||||
|
||||
@alert-link-font-weight: 500;
|
||||
|
||||
|
||||
|
||||
//== Progress bars
|
||||
//
|
||||
//##
|
||||
|
||||
//** Background color of the whole progress component
|
||||
@progress-bg: @gray-lighter;
|
||||
|
||||
|
||||
|
||||
//== List group
|
||||
//
|
||||
//##
|
||||
|
||||
//** List group border radius
|
||||
@list-group-border-radius: 0;
|
||||
|
||||
//** Text color of disabled list items
|
||||
@list-group-disabled-color: @text-muted;
|
||||
|
||||
//** Background color of disabled list items
|
||||
@list-group-disabled-bg: transparent;
|
||||
|
||||
// Link
|
||||
@list-group-link-color: @text-color;
|
||||
|
||||
|
||||
|
||||
//== Panels
|
||||
//
|
||||
//##
|
||||
|
||||
@panel-body-padding: @content-padding-large;
|
||||
@panel-heading-padding: @content-padding-base @content-padding-large;
|
||||
@panel-footer-padding: @padding-base-vertical @content-padding-large;
|
||||
|
||||
//** Border color for elements within panels
|
||||
@panel-footer-bg: #fcfcfc;
|
||||
@panel-default-heading-bg: #fcfcfc;
|
||||
|
||||
@panel-success-text: #fff;
|
||||
@panel-success-border: @brand-success;
|
||||
@panel-success-heading-bg: @brand-success;
|
||||
|
||||
@panel-info-text: #fff;
|
||||
@panel-info-border: @brand-info;
|
||||
@panel-info-heading-bg: @brand-info;
|
||||
|
||||
@panel-warning-text: #fff;
|
||||
@panel-warning-border: @brand-warning;
|
||||
@panel-warning-heading-bg: @brand-warning;
|
||||
|
||||
@panel-danger-text: #fff;
|
||||
@panel-danger-border: @brand-danger;
|
||||
@panel-danger-heading-bg: @brand-danger;
|
||||
|
||||
|
||||
|
||||
//== Thumbnails
|
||||
//
|
||||
//##
|
||||
|
||||
//** Padding around the thumbnail image
|
||||
@thumbnail-padding: 3px;
|
||||
|
||||
//** Thumbnail background color
|
||||
@thumbnail-bg: @panel-bg;
|
||||
|
||||
|
||||
//** Padding around the thumbnail caption
|
||||
@thumbnail-caption-padding: @content-padding-large;
|
||||
|
||||
|
||||
|
||||
//== Wells
|
||||
//
|
||||
//##
|
||||
|
||||
@well-bg: #fdfdfd;
|
||||
@well-border: @panel-default-border;
|
||||
|
||||
|
||||
|
||||
//== Badges
|
||||
//
|
||||
//##
|
||||
|
||||
//** Badge text color in active nav link
|
||||
@badge-active-color: @text-color;
|
||||
|
||||
@badge-font-weight: 500;
|
||||
@badge-line-height: @line-height-base;
|
||||
|
||||
|
||||
|
||||
//== Breadcrumbs
|
||||
//
|
||||
//##
|
||||
|
||||
@breadcrumb-padding-vertical: @content-padding-small;
|
||||
@breadcrumb-padding-horizontal: 0;
|
||||
|
||||
//** Breadcrumb background color
|
||||
@breadcrumb-bg: transparent;
|
||||
|
||||
//** Breadcrumb text color
|
||||
@breadcrumb-color: @text-color;
|
||||
|
||||
//** Text color of current page in the breadcrumb
|
||||
@breadcrumb-active-color: @text-muted;
|
||||
|
||||
|
||||
|
||||
//== Close
|
||||
//
|
||||
//##
|
||||
|
||||
@close-font-weight: 300;
|
||||
@close-text-shadow: none;
|
||||
|
||||
|
||||
|
||||
//== Code
|
||||
//
|
||||
//##
|
||||
|
||||
@pre-bg: #fcfcfc;
|
||||
@pre-border-color: #ddd;
|
||||
|
||||
|
||||
|
||||
//== Type
|
||||
//
|
||||
//##
|
||||
|
||||
//** Headings small color
|
||||
@headings-small-color: @text-muted;
|
||||
|
||||
|
||||
//** Blockquote small color
|
||||
@blockquote-small-color: @text-muted;
|
||||
|
||||
//** Blockquote font size
|
||||
@blockquote-font-size: @font-size-base;
|
||||
|
||||
|
||||
//** Page header border color
|
||||
@page-header-border-color: #ddd;
|
||||
|
||||
|
||||
//** Horizontal line color.
|
||||
@hr-border: #ddd;
|
||||
@@ -0,0 +1,323 @@
|
||||
// ------------------------------------------------------------------------------
|
||||
//
|
||||
// # Additional variables
|
||||
//
|
||||
// Custom additions to BS variables and other content variations
|
||||
//
|
||||
// Version: 1.0
|
||||
// Latest update: May 25, 2015
|
||||
//
|
||||
// ------------------------------------------------------------------------------
|
||||
|
||||
|
||||
//
|
||||
// Shadows
|
||||
// ------------------------------
|
||||
//
|
||||
|
||||
//** Material design shadows
|
||||
@shadow-depth1: 0 1px 3px fade(#000, 12%), 0 1px 2px fade(#000, 24%);
|
||||
@shadow-depth1-reversed: 0 -1px 2px fade(#000, 24%);
|
||||
@shadow-depth2: 0 3px 6px fade(#000, 16%), 0 3px 6px fade(#000, 23%);
|
||||
@shadow-depth3: 0 10px 20px fade(#000, 19%), 0 6px 6px fade(#000, 23%);
|
||||
@shadow-depth4: 0 14px 28px fade(#000, 25%), 0 10px 10px fade(#000, 22%);
|
||||
@shadow-depth5: 0 19px 38px fade(#000, 30%), 0 15px 12px fade(#000, 22%);
|
||||
|
||||
|
||||
|
||||
//
|
||||
// Typography
|
||||
// ------------------------------
|
||||
//
|
||||
|
||||
//** XLarge computed line height
|
||||
@line-height-computed-xlarge: floor((@font-size-xlarge * @line-height-base)); // ~20px
|
||||
@line-height-computed-large: floor((@font-size-large * @line-height-base));
|
||||
@line-height-computed-small: floor((@font-size-small * @line-height-base));
|
||||
@line-height-computed-mini: floor((@font-size-mini * @line-height-base));
|
||||
|
||||
|
||||
//** XLarge font size (v. 1.3)
|
||||
@font-size-xlarge: @font-size-h6;
|
||||
|
||||
//** XLarge line height (v. 1.3)
|
||||
@line-height-xlarge: 1.333334;
|
||||
|
||||
|
||||
//** Mini font size
|
||||
@font-size-mini: ceil((@font-size-base * 0.8)); // ~11px
|
||||
|
||||
//** Mini line height, for the smallest size
|
||||
@line-height-mini: 1.82;
|
||||
|
||||
|
||||
//** Adding negative letter spacing to headings
|
||||
@heading-letter-spacing: -0.015em;
|
||||
|
||||
//** Vertical list padding, mainly used in navigation and dropdowns
|
||||
@list-spacing: @padding-base-vertical;
|
||||
|
||||
//** Font size used in icons. Icomoon icon set is based on 16px grid
|
||||
@icon-font-size: 16px;
|
||||
|
||||
//** Additional element's horizontal spacing for inline elements
|
||||
@element-horizontal-spacing: @padding-base-vertical;
|
||||
|
||||
|
||||
|
||||
//
|
||||
// Content
|
||||
// ------------------------------
|
||||
//
|
||||
|
||||
//** Page header backgrounds (v. 1.3)
|
||||
@page-header-default-bg: #fff;
|
||||
@page-header-inverse-bg: #273246;
|
||||
|
||||
|
||||
//** Required additional padding options, integrated to other less files
|
||||
@content-padding-large: 20px;
|
||||
@content-padding-base: 15px;
|
||||
@content-padding-small: 10px;
|
||||
|
||||
|
||||
//** Extra large padding for inputs and buttons
|
||||
@padding-xlarge-vertical: 10px;
|
||||
@padding-xlarge-horizontal: 16px;
|
||||
|
||||
|
||||
//** Floating button padding
|
||||
@btn-float-padding: 16px;
|
||||
|
||||
|
||||
|
||||
//
|
||||
// Components
|
||||
// ------------------------------
|
||||
//
|
||||
|
||||
//** Primary form state
|
||||
@state-primary-bg: @color-primary-50;
|
||||
@state-primary-text: @color-primary-800;
|
||||
@state-primary-border: @color-primary-600;
|
||||
|
||||
//** Progress bar height (4px step)
|
||||
@progress-base-height: 18px;
|
||||
|
||||
@progress-large-height: (@progress-base-height + 4); // ~ 22px
|
||||
@progress-small-height: (@progress-base-height - 4); // ~ 14px
|
||||
@progress-mini-height: (@progress-base-height - 8); // ~ 10px
|
||||
@progress-tiny-height: (@progress-base-height - 12); // ~ 6px
|
||||
@progress-micro-height: (@progress-base-height - 16); // ~ 2px
|
||||
|
||||
//** Additional "Primary" alert contextual class
|
||||
@alert-primary-bg: @state-primary-bg;
|
||||
@alert-primary-text: @state-primary-text;
|
||||
@alert-primary-border: @state-primary-border;
|
||||
|
||||
//** Slider sizes for jQuery UI and NoUI sliders
|
||||
@slider-base-size: 6px;
|
||||
@slider-large-size: @slider-base-size + 2;
|
||||
@slider-small-size: @slider-base-size - 2;
|
||||
@slider-mini-size: @slider-base-size - 4;
|
||||
|
||||
//** Color for menu and dropdown menu highlight background
|
||||
@dropdown-annotation-bg: #f8f8f8;
|
||||
|
||||
|
||||
|
||||
//
|
||||
// Tables
|
||||
// ------------------------------
|
||||
//
|
||||
|
||||
//** Header and footer border color
|
||||
@table-border-highlight: #bbb;
|
||||
|
||||
//** Optional sizes
|
||||
@table-xlarge-cell-padding: 20px;
|
||||
@table-large-cell-padding: 15px 20px;
|
||||
@table-small-cell-padding: 10px 20px;
|
||||
@table-mini-cell-padding: 8px 20px;
|
||||
@table-micro-cell-padding: 6px 15px;
|
||||
|
||||
|
||||
|
||||
//
|
||||
// Forms
|
||||
// ------------------------------
|
||||
//
|
||||
|
||||
//** Placeholder text color
|
||||
@input-placeholder-light: #fff;
|
||||
|
||||
|
||||
//** Extra large `.form-control` height
|
||||
@input-height-xlarge: (floor(@font-size-xlarge * @line-height-xlarge) + (@padding-xlarge-vertical * 2) + 2); // ~ 42px
|
||||
|
||||
//** Mini `.form-control` height
|
||||
@input-height-mini: (floor(@font-size-base * @line-height-base) + (@padding-xs-vertical * 2) + 2); // ~ 32px
|
||||
|
||||
|
||||
//** Checkbox and radio sizes
|
||||
@checkbox-size: 18px;
|
||||
@checkbox-border-width: 2px;
|
||||
|
||||
//** Switchery toggle sizes
|
||||
@switchery-base-size: 22px;
|
||||
|
||||
@switchery-large-size: @switchery-base-size + 4; // ~ 26px
|
||||
@switchery-small-size: @switchery-base-size - 4; // ~ 18px
|
||||
@switchery-mini-size: @switchery-base-size - 8; // ~ 14px
|
||||
|
||||
|
||||
//** Spacing for tags (v. 1.3)
|
||||
@tags-spacing: 2px;
|
||||
|
||||
@tags-color: @text-color;
|
||||
@tags-hover-color: #fff;
|
||||
|
||||
@tags-bg: #eee;
|
||||
@tags-hover-bg: @color-blue-500;
|
||||
|
||||
|
||||
//** Summernote editor (v. 1.3)
|
||||
@summernote-font-path: "../css/icons/summernote/";
|
||||
|
||||
|
||||
|
||||
//
|
||||
// Navbar component
|
||||
// ------------------------------
|
||||
//
|
||||
|
||||
//** Padding
|
||||
@navbar-padding-vertical-large: ((@navbar-height-large - @line-height-computed) / 2); // ~ 13px
|
||||
@navbar-padding-vertical-small: ((@navbar-height-small - @line-height-computed) / 2); // ~ 11px
|
||||
@navbar-padding-vertical-mini: ((@navbar-height-mini - @line-height-computed) / 2); // ~ 10px
|
||||
|
||||
//** Sizing
|
||||
@navbar-height-large: (@navbar-height + 4); // ~ 48px
|
||||
@navbar-height-small: (@navbar-height - 2); // ~ 42px
|
||||
@navbar-height-mini: (@navbar-height - 4); // ~ 40px
|
||||
|
||||
|
||||
|
||||
//
|
||||
// Nav components
|
||||
// ------------------------------
|
||||
//
|
||||
|
||||
//** Additional paddings
|
||||
@nav-link-padding-large: (@padding-base-vertical + 4) @content-padding-large;
|
||||
@nav-link-padding-small: @padding-base-vertical @content-padding-base;
|
||||
@nav-link-padding-mini: (@padding-base-vertical - 2) @content-padding-small;
|
||||
|
||||
|
||||
|
||||
//
|
||||
// FAB menu component
|
||||
// ------------------------------
|
||||
//
|
||||
|
||||
//** Calculate floating button size
|
||||
@fab-main-btn-size: ((@btn-float-padding + (@icon-font-size / 2)) * 2);
|
||||
|
||||
//** Difference between main and inner buttons. Each side
|
||||
@fab-btn-difference: 2px;
|
||||
|
||||
//** Calculate inner button size
|
||||
@fab-inner-btn-size: ((@btn-float-padding - @fab-btn-difference) * 2) + @icon-font-size;
|
||||
|
||||
//** Spacing between menu items
|
||||
@fab-inner-btn-spacing: @line-height-computed;
|
||||
|
||||
|
||||
|
||||
//
|
||||
// Modal components
|
||||
// ------------------------------
|
||||
//
|
||||
|
||||
//** Sizing
|
||||
@modal-full: 94%;
|
||||
@modal-xs: 300px;
|
||||
|
||||
|
||||
|
||||
//
|
||||
// Sidebar
|
||||
// ------------------------------
|
||||
//
|
||||
|
||||
//** Default sidebar width
|
||||
@sidebar-base-width: 260px;
|
||||
|
||||
//** Mini sidebar width
|
||||
@sidebar-mini-width: ((@content-padding-large * 2) + @icon-font-size);
|
||||
|
||||
//** Sidebar colors
|
||||
@sidebar-light-bg: #fff;
|
||||
@sidebar-dark-bg: @color-slate-900;
|
||||
|
||||
|
||||
|
||||
//
|
||||
// Main vertical navigation
|
||||
// ------------------------------
|
||||
//
|
||||
|
||||
//** Main navigation sizing
|
||||
@navigation-padding-base-vertical: 12px;
|
||||
|
||||
@navigation-padding-large-vertical: (@navigation-padding-base-vertical + 2); // ~ 14px
|
||||
@navigation-padding-small-vertical: (@navigation-padding-base-vertical - 2); // ~ 10px
|
||||
@navigation-padding-mini-vertical: (@navigation-padding-base-vertical - 4); // ~ 8px
|
||||
|
||||
@navigation-padding-base-horizontal: @content-padding-large;
|
||||
|
||||
|
||||
//** Dark sidebar navigation styles
|
||||
@navigation-dark-color: fade(#fff, 75%);
|
||||
|
||||
@navigation-dark-hover-bg: fade(#000, 10%);
|
||||
@navigation-dark-hover-color: #fff;
|
||||
|
||||
@navigation-dark-active-bg: @color-teal-400;
|
||||
@navigation-dark-active-border: @navigation-dark-active-bg;
|
||||
@navigation-dark-active-color: #fff;
|
||||
@navigation-dark-active-label-bg: @navigation-dark-active-bg;
|
||||
@navigation-dark-active-label-color: @navigation-dark-active-color;
|
||||
|
||||
|
||||
//** Light sidebar navigation styles
|
||||
@navigation-light-color: @text-color;
|
||||
|
||||
@navigation-light-hover-bg: #f8f8f8;
|
||||
@navigation-light-hover-color: @text-color;
|
||||
|
||||
@navigation-light-active-bg: #f5f5f5;
|
||||
@navigation-light-active-border: @panel-default-border;
|
||||
@navigation-light-active-color: @text-color;
|
||||
@navigation-light-active-label-bg: @navigation-light-active-bg;
|
||||
@navigation-light-active-label-color: @text-color;
|
||||
|
||||
|
||||
|
||||
//
|
||||
// Custom components
|
||||
// ------------------------------
|
||||
//
|
||||
|
||||
//** Timeline
|
||||
@timeline-icon-size: 48px;
|
||||
@timeline-line-color: #ccc;
|
||||
@timeline-line-width: 2px;
|
||||
@timeline-icon-border-width: 4px;
|
||||
|
||||
|
||||
//** Timeline
|
||||
@list-feed-circle-radius: 8px; // must be even
|
||||
@list-feed-circle-border-width: 2px;
|
||||
@list-feed-circle-position: (@line-height-computed - (@list-feed-circle-radius + @list-feed-circle-border-width)) / 2;
|
||||
|
||||
Reference in New Issue
Block a user