1
0
mirror of https://github.com/bigchaindb/site.git synced 2024-11-01 15:55:36 +01:00
site/_src/_assets/styles/bigchain/_variables.scss

231 lines
7.4 KiB
SCSS
Raw Normal View History

2015-12-19 20:56:04 +01:00
//
// Variables
// ---
// bigchain.io
//
//
// Colors
//
2016-01-22 16:03:56 +01:00
$brand-main-blue: #074354 !default;
$brand-main-blue-light: #BFE6EC !default;
2015-12-20 19:31:36 +01:00
$brand-main-blue-dark: #101A25 !default;
2016-02-02 20:23:02 +01:00
$brand-main-green: #54C695 !default;
2015-12-20 19:31:36 +01:00
$brand-main-gray: #70859B !default;
2016-01-22 16:03:56 +01:00
$gray-darker: darken($brand-main-gray, 25%) !default;
$gray-dark: darken($brand-main-gray, 20%) !default;
2015-12-20 19:31:36 +01:00
$gray: $brand-main-gray !default;
$gray-light: lighten($brand-main-gray, 20%) !default;
$gray-lighter: lighten($brand-main-gray, 30%) !default;
$gray-lightest: lighten($brand-main-gray, 40%) !default;
2016-02-02 20:23:02 +01:00
$brand-primary: $brand-main-green !default;
2015-12-21 13:26:54 +01:00
$brand-success: #388250 !default;
$brand-info: #3E91CE !default;
$brand-warning: #8E8E24 !default;
2016-01-30 13:34:11 +01:00
$brand-danger: #c9726a !default;
2015-12-19 20:56:04 +01:00
//
// Typography
//
2016-02-04 15:08:40 +01:00
$font-family-noto: 'Noto Sans', 'Helvetica Neue', 'Arial', sans-serif !default;
2016-02-04 13:55:43 +01:00
$font-family-avenir: 'Avenir Next', 'Helvetica Neue', 'Arial', sans-serif !default;
$font-family-monospace: Menlo, Monaco, Consolas, "Courier New", monospace !default;
$font-family-base: $font-family-avenir !default;
2015-12-19 20:56:04 +01:00
$font-weight-light: 300 !default;
$font-weight-normal: 400 !default;
$font-weight-bold: 600 !default;
$font-weight-base: $font-weight-normal !default;
2015-12-19 20:56:04 +01:00
$font-size-root: 16px !default;
$font-size-root-lg: 18px !default;
$font-size-base: 1rem !default;
2015-12-20 19:31:36 +01:00
$font-size-lg: 1.25rem !default;
$font-size-sm: 0.8rem !default;
2015-12-22 17:19:41 +01:00
$font-size-xs: 0.65rem !default;
2016-01-10 02:11:27 +01:00
$font-size-h1: 2.5rem !default;
$font-size-h2: 2rem !default;
$font-size-h3: 1.5rem !default;
$font-size-h4: 1rem !default;
2015-12-19 20:56:04 +01:00
$font-size-h5: $font-size-base !default;
$font-size-h6: 0.85rem !default;
2015-12-19 20:56:04 +01:00
2016-02-08 14:35:02 +01:00
$line-height: 1.4 !default;
2015-12-19 20:56:04 +01:00
2016-02-04 15:08:40 +01:00
$headings-font-family: $font-family-noto !default;
2016-02-04 13:55:43 +01:00
$headings-font-weight: $font-weight-normal !default;
2015-12-19 20:56:04 +01:00
$headings-line-height: 1.2 !default;
2016-01-22 16:03:56 +01:00
$headings-color: $brand-main-blue-light !default;
2015-12-19 20:56:04 +01:00
//
// Scaffolding
//
2016-01-22 16:03:56 +01:00
$body-bg: $gray-dark !default;
2016-01-29 18:45:09 +01:00
$text-color: $gray-lightest !default;
2015-12-19 20:56:04 +01:00
2016-01-30 13:34:11 +01:00
$link-color: inherit !default;
$link-hover-color: #fff !default;
$link-hover-bg: rgba($brand-primary, .8) !default;
//
// Responsive breakpoints
//
$screen-sm-min: 35em !default;
$screen-md-min: 45em !default;
$screen-lg-min: 70em !default;
$screen-sm: 'min-width: #{$screen-sm-min}';
$screen-md: 'min-width: #{$screen-md-min}';
$screen-lg: 'min-width: #{$screen-lg-min}';
//
// Components
//
$spacer: 1rem !default;
$line-height-lg: (4 / 3) !default;
2016-01-30 13:34:11 +01:00
$line-height-sm: 1.3 !default;
$line-height-xs: 1.2 !default;
$border-radius: .15rem !default;
$border-radius-lg: .2rem !default;
$border-radius-sm: .1rem !default;
2015-12-22 17:19:41 +01:00
$border-radius-xs: .05rem !default;
$component-active-color: #fff !default;
$component-active-bg: $brand-primary !default;
//
// Grid
//
2016-01-10 02:11:27 +01:00
$gutter-space: ($spacer * 3) !default;
2015-12-22 14:57:22 +01:00
//
// Code
//
2016-01-22 16:03:56 +01:00
$code-color: $text-color !default;
$code-bg: $gray-darker !default;
2015-12-22 14:57:22 +01:00
2016-01-22 16:03:56 +01:00
$kbd-color: $code-color !default;
$kbd-bg: $code-bg !default;
2015-12-22 14:57:22 +01:00
2016-01-22 16:03:56 +01:00
$pre-bg: $code-bg !default;
$pre-color: $code-color !default;
2015-12-22 14:57:22 +01:00
$pre-scrollable-max-height: 340px !default;
//
// Buttons
//
2016-02-04 15:08:40 +01:00
$btn-font-family: $font-family-noto;
2015-12-21 13:26:54 +01:00
$btn-font-weight: $font-weight-normal !default;
2016-01-30 13:34:11 +01:00
$btn-padding-x: 2rem !default;
$btn-padding-y: .5rem !default;
$btn-primary-color: #fff !default;
2016-01-30 13:34:11 +01:00
$btn-primary-bg: $brand-primary !default;
2016-01-30 13:34:11 +01:00
$btn-secondary-color: #fff !default;
$btn-secondary-bg: $brand-main-gray !default;
$btn-info-color: #fff !default;
$btn-info-bg: $brand-info !default;
$btn-success-color: #fff !default;
$btn-success-bg: $brand-success !default;
$btn-warning-color: #fff !default;
$btn-warning-bg: $brand-warning !default;
$btn-danger-color: #fff !default;
$btn-danger-bg: $brand-danger !default;
$btn-link-disabled-color: $gray-light !default;
2015-12-22 17:19:41 +01:00
$btn-padding-x-xs: .75rem !default;
$btn-padding-y-xs: .15rem !default;
$btn-padding-x-sm: 1.25rem !default;
2016-01-30 13:34:11 +01:00
$btn-padding-y-sm: .4rem !default;
2016-01-30 13:34:11 +01:00
$btn-padding-x-lg: 3rem !default;
$btn-padding-y-lg: 1rem !default;
// Allows for customizing button radius independently from global border radius
$btn-border-radius: $border-radius !default;
$btn-border-radius-lg: $border-radius-lg !default;
$btn-border-radius-sm: $border-radius-sm !default;
2015-12-22 17:19:41 +01:00
$btn-border-radius-xs: $border-radius-xs !default;
2015-12-22 14:57:22 +01:00
//
// Forms
//
2015-12-21 13:26:54 +01:00
$input-font: $font-family-avenir !default;
$input-font-weight: $font-weight-normal !default;
$input-padding-x: .5rem !default;
$input-padding-y: 0 !default;
2016-01-22 16:03:56 +01:00
$input-bg: transparent !default;
$input-bg-disabled: $gray-darker !default;
2016-01-22 16:03:56 +01:00
$input-color: $text-color !default;
$input-border-color: $gray !default;
2016-01-22 16:03:56 +01:00
$input-border-focus: $gray-light !default;
2015-12-22 16:07:37 +01:00
$input-color-placeholder: $gray !default;
2015-12-21 13:26:54 +01:00
//
// Form states and alerts
//
$state-success-text: $brand-success !default;
$state-success-bg: lighten($brand-success, 40%) !default;
$state-success-border: darken(adjust-hue($state-success-bg, -10), 5%) !default;
$state-info-text: $brand-info !default;
$state-info-bg: lighten($brand-info, 30%) !default;
$state-info-border: darken(adjust-hue($state-info-bg, -10), 5%) !default;
$state-warning-text: $brand-warning !default;
$state-warning-bg: lighten($brand-warning, 40%) !default;
$state-warning-border: darken(adjust-hue($state-warning-bg, -10), 5%) !default;
$state-danger-text: $brand-danger !default;
$state-danger-bg: lighten($brand-danger, 40%) !default;
$state-danger-border: darken(adjust-hue($state-danger-bg, -10), 5%) !default;
//
// Alerts
//
$alert-padding: $spacer !default;
$alert-border-radius: $border-radius !default;
$alert-success-bg: $state-success-bg !default;
$alert-success-text: $state-success-text !default;
$alert-success-border: $state-success-border !default;
$alert-info-bg: $state-info-bg !default;
$alert-info-text: $state-info-text !default;
$alert-info-border: $state-info-border !default;
$alert-warning-bg: $state-warning-bg !default;
$alert-warning-text: $state-warning-text !default;
$alert-warning-border: $state-warning-border !default;
$alert-danger-bg: $state-danger-bg !default;
$alert-danger-text: $state-danger-text !default;
$alert-danger-border: $state-danger-border !default;