You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
AdminLTE/docs/assets/css/alt/adminlte.components.css.map

126 lines
281 KiB

5 years ago
{
"version": 3,
"file": "adminlte.components.css",
"sources": [
"../../../build/scss/AdminLTE-components.scss",
"../../../node_modules/bootstrap/scss/_functions.scss",
"../../../build/scss/_bootstrap-variables.scss",
"../../../node_modules/bootstrap/scss/_mixins.scss",
"../../../node_modules/bootstrap/scss/vendor/_rfs.scss",
"../../../node_modules/bootstrap/scss/mixins/_deprecate.scss",
"../../../node_modules/bootstrap/scss/mixins/_breakpoints.scss",
"../../../node_modules/bootstrap/scss/mixins/_hover.scss",
"../../../node_modules/bootstrap/scss/mixins/_image.scss",
"../../../node_modules/bootstrap/scss/mixins/_badge.scss",
"../../../node_modules/bootstrap/scss/mixins/_resize.scss",
"../../../node_modules/bootstrap/scss/mixins/_screen-reader.scss",
"../../../node_modules/bootstrap/scss/mixins/_size.scss",
"../../../node_modules/bootstrap/scss/mixins/_reset-text.scss",
"../../../node_modules/bootstrap/scss/mixins/_text-emphasis.scss",
"../../../node_modules/bootstrap/scss/mixins/_text-hide.scss",
"../../../node_modules/bootstrap/scss/mixins/_text-truncate.scss",
"../../../node_modules/bootstrap/scss/mixins/_visibility.scss",
"../../../node_modules/bootstrap/scss/mixins/_alert.scss",
"../../../node_modules/bootstrap/scss/mixins/_buttons.scss",
"../../../node_modules/bootstrap/scss/mixins/_caret.scss",
"../../../node_modules/bootstrap/scss/mixins/_pagination.scss",
"../../../node_modules/bootstrap/scss/mixins/_lists.scss",
"../../../node_modules/bootstrap/scss/mixins/_list-group.scss",
"../../../node_modules/bootstrap/scss/mixins/_nav-divider.scss",
"../../../node_modules/bootstrap/scss/mixins/_forms.scss",
"../../../node_modules/bootstrap/scss/mixins/_table-row.scss",
"../../../node_modules/bootstrap/scss/mixins/_background-variant.scss",
"../../../node_modules/bootstrap/scss/mixins/_border-radius.scss",
"../../../node_modules/bootstrap/scss/mixins/_box-shadow.scss",
"../../../node_modules/bootstrap/scss/mixins/_gradients.scss",
"../../../node_modules/bootstrap/scss/mixins/_transition.scss",
"../../../node_modules/bootstrap/scss/mixins/_clearfix.scss",
"../../../node_modules/bootstrap/scss/mixins/_grid-framework.scss",
"../../../node_modules/bootstrap/scss/mixins/_grid.scss",
"../../../node_modules/bootstrap/scss/mixins/_float.scss",
"../../../build/scss/_variables.scss",
"../../../build/scss/_mixins.scss",
"../../../build/scss/mixins/_cards.scss",
"../../../build/scss/mixins/_sidebar.scss",
"../../../build/scss/mixins/_navbar.scss",
"../../../build/scss/mixins/_accent.scss",
"../../../build/scss/mixins/_custom-forms.scss",
"../../../build/scss/mixins/_backgrounds.scss",
"../../../build/scss/mixins/_direct-chat.scss",
"../../../build/scss/mixins/_toasts.scss",
"../../../build/scss/mixins/_miscellaneous.scss",
"../../../build/scss/parts/_components.scss",
"../../../build/scss/_forms.scss",
"../../../build/scss/_progress-bars.scss",
"../../../build/scss/_cards.scss",
"../../../build/scss/_modals.scss",
"../../../build/scss/_toasts.scss",
"../../../build/scss/_buttons.scss",
"../../../build/scss/_callout.scss",
"../../../build/scss/_alerts.scss",
"../../../build/scss/_table.scss",
"../../../build/scss/_carousel.scss"
],
"sourcesContent": [
5 years ago
"/*!\n * AdminLTE v3.0.5\n * Only Components\n * Author: Colorlib\n * Website: AdminLTE.io <http://adminlte.io>\n * License: Open source - MIT <http://opensource.org/licenses/MIT>\n */\n// Bootstrap\n// ---------------------------------------------------\n@import '~bootstrap/scss/functions';\n@import 'bootstrap-variables';\n@import '~bootstrap/scss/mixins';\n// @import '~bootstrap/scss/bootstrap';\n\n// Variables and Mixins\n// ---------------------------------------------------\n@import 'variables';\n@import 'mixins';\n\n@import 'parts/components';\n",
5 years ago
"// Bootstrap functions\n//\n// Utility mixins and functions for evaluating source code across our variables, maps, and mixins.\n\n// Ascending\n// Used to evaluate Sass maps like our grid breakpoints.\n@mixin _assert-ascending($map, $map-name) {\n $prev-key: null;\n $prev-num: null;\n @each $key, $num in $map {\n @if $prev-num == null or unit($num) == \"%\" or unit($prev-num) == \"%\" {\n // Do nothing\n } @else if not comparable($prev-num, $num) {\n @warn \"Potentially invalid value for #{$map-name}: This map must be in ascending order, but key '#{$key}' has value #{$num} whose unit makes it incomparable to #{$prev-num}, the value of the previous key '#{$prev-key}' !\";\n } @else if $prev-num >= $num {\n @warn \"Invalid value for #{$map-name}: This map must be in ascending order, but key '#{$key}' has value #{$num} which isn't greater than #{$prev-num}, the value of the previous key '#{$prev-key}' !\";\n }\n $prev-key: $key;\n $prev-num: $num;\n }\n}\n\n// Starts at zero\n// Used to ensure the min-width of the lowest breakpoint starts at 0.\n@mixin _assert-starts-at-zero($map, $map-name: \"$grid-breakpoints\") {\n $values: map-values($map);\n $first-value: nth($values, 1);\n @if $first-value != 0 {\n @warn \"First breakpoint in #{$map-name} must start at 0, but starts at #{$first-value}.\";\n }\n}\n\n// Replace `$search` with `$replace` in `$string`\n// Used on our SVG icon backgrounds for custom forms.\n//\n// @author Hugo Giraudel\n// @param {String} $string - Initial string\n// @param {String} $search - Substring to replace\n// @param {String} $replace ('') - New value\n// @return {String} - Updated string\n@function str-replace($string, $search, $replace: \"\") {\n $index: str-index($string, $search);\n\n @if $index {\n @return str-slice($string, 1, $index - 1) + $replace + str-replace(str-slice($string, $index + str-length($search)), $search, $replace);\n }\n\n @return $string;\n}\n\n// See https://codepen.io/kevinweber/pen/dXWoRw\n@function escape-svg($string) {\n @if str-index($string, \"data:image/svg+xml\") {\n @each $char, $encoded in $escaped-characters {\n $string: str-replace($string, $char, $encoded);\n }\n }\n\n @return $string;\n}\n\n// Color contrast\n@function color-yiq($color, $dark: $yiq-text-dark, $light: $yiq-text-light) {\n $r: red($color);\n $g: green($color);\n $b: blue($color);\n\n $yiq: (($r * 299) + ($g * 587) + ($b * 114)) / 1000;\n\n @if ($yiq >= $yiq-contrasted-threshold) {\n @return $dark;\n } @else {\n @return $light;\n }\n}\n\n// Retrieve color Sass maps\n@function color($key: \"blue\") {\n @return map-get($colors, $key);\n}\n\n@function theme-color($key: \"primary\") {\n @return map-get($theme-colors, $key);\n}\n\n@function gray($key: \"100\") {\n @return map-get($grays, $key);\n}\n\n// Request a theme color level\n@function theme-color-level($color-name: \"primary\", $level: 0) {\n $color: theme-color($color-name);\n $color-base: if($level > 0, $black, $white);\n $level: abs($level);\n\n @return mix($color-base, $color, $level * $theme-color-interval);\n}\n\n// Return valid calc\n@function add($value1, $value2, $return-calc: true) {\n @if $value1 == null {\n @return $value2;\n }\n\n @if $value2 == null {\n @return $value1;\n }\n\n @if type-of($value1) == number and type-of($value2) == number and comparable($value1, $value2) {\n @return $value1 + $value2;\n }\n\n @return if($return-calc == true, calc(#{$value1} + #{$value2}), $value1 + unquote(\" + \") + $value2);\n}\n\n@function subtract($value1, $value2, $return-calc: true) {\n @if $value1 == null and $value2 == null {\n @return null;\n }\n\n @if $value1 == null {\n @return -$value2;\n }\n\n @if $value2 == null {\n @return $value1;\n }\n\n @if type-of($value1) == number and type-of($value2) == number and comparable($value1, $value2) {\n @return $value1 - $value2;\n }\n\n @return if($return-calc == true, calc(#{$value1} - #{$value2}), $value1 + unquote(\" - \") + $value2);\n}\n",
5 years ago
"// Variables\n//\n// Variables should follow the `$component-state-property-size` formula for\n// consistent naming. Ex: $nav-link-disabled-color and $modal-content-box-shadow-xs.\n\n\n//\n// Color system\n//\n\n// stylelint-disable\n$white: #ffffff !default;\n$gray-100: #f8f9fa !default;\n$gray-200: #e9ecef !default;\n$gray-300: #dee2e6 !default;\n$gray-400: #ced4da !default;\n$gray-500: #adb5bd !default;\n$gray-600: #6c757d !default;\n$gray-700: #495057 !default;\n$gray-800: #343a40 !default;\n$gray-900: #212529 !default;\n$black: #000 !default;\n\n$grays: () !default;\n$grays: map-merge((\n \"100\": $gray-100,\n \"200\": $gray-200,\n \"300\": $gray-300,\n \"400\": $gray-400,\n \"500\": $gray-500,\n \"600\": $gray-600,\n \"700\": $gray-700,\n \"800\": $gray-800,\n \"900\": $gray-900\n), $grays);\n\n$blue: #007bff !default;\n$indigo: #6610f2 !default;\n$purple: #6f42c1 !default;\n$pink: #e83e8c !default;\n$red: #dc3545 !default;\n$orange: #fd7e14 !default;\n$yellow: #ffc107 !default;\n$green: #28a745 !default;\n$teal: #20c997 !default;\n$cyan: #17a2b8 !default;\n\n$colors: () !default;\n$colors: map-merge((\n \"blue\": $blue,\n \"indigo\": $indigo,\n \"purple\": $purple,\n \"pink\": $pink,\n \"red\": $red,\n \"orange\": $orange,\n \"yellow\": $yellow,\n \"green\": $green,\n \"teal\": $teal,\n \"cyan\": $cyan,\n \"white\": $white,\n \"gray\": $gray-600,\n \"gray-dark\": $gray-800\n), $colors);\n\n$primary: $blue !default;\n$secondary: $gray-600 !default;\n$success: $green !default;\n$info: $cyan !default;\n$warning: $yellow !default;\n$danger: $red !default;\n$light: $gray-100 !default;\n$dark: $gray-800 !default;\n\n$theme-colors: () !default;\n$theme-colors: map-merge((\n \"primary\": $primary,\n \"secondary\": $secondary,\n \"success\": $success,\n \"info\": $info,\n \"warning\": $warning,\n \"danger\": $danger,\n \"light\": $light,\n \"dark\": $dark\n), $theme-colors);\n// stylelint-enable\n\n// Set a specific jump point for requesting color jumps\n$theme-color-interval: 8% !default;\n\n// The yiq lightness value that determines when the lightness of color changes from \"dark\" to \"light\". Acceptable values are between 0 and 255.\n$yiq-contrasted-threshold: 150 !default;\n\n// Customize the light and dark text colors for use in our YIQ color contrast function.\n$yiq-text-dark: #1F2D3D !default;\n$yiq-text-light: $white !default;\n\n// Options\n//\n// Quickly modify global styling by enabling or disabling optional features.\n\n$enable-caret: true !default;\n$enable-rounded: true !default;\n$enable-shadows: true !default;\n$enable-gradients: false !default;\n$enable-transitions: true !default;\n$enable-prefers-reduced-motion-media-query: true !default;\n$enable-hover-media-query: false !default; // Deprecated, no longer affects any compiled CSS\n$enable-grid-classes: true !default;\n$enable-pointer-cursor-for-buttons: true !default;\n$enable-print-styles: true !default;\n$enable-responsive-font-sizes: false !default;\n$enable-validation-icons: true !default;\n$enable-deprecation-messages: true !default;\n\n// Spacing\n//\n// Control the default styling of most Bootstrap elements by modifying these\n// variables. Mostly focused on spacing.\n// You can add more entries to the $spacers map, should you need more variation.\n\n// stylelint-disable\n$spacer: 1rem !default;\n$spacers: () !default;\n$spacers: map-merge((\n 0: 0,\n 1: ($spacer * .25),\n
5 years ago
"// Toggles\n//\n// Used in conjunction with global variables to enable certain theme features.\n\n// Vendor\n@import \"vendor/rfs\";\n\n// Deprecate\n@import \"mixins/deprecate\";\n\n// Utilities\n@import \"mixins/breakpoints\";\n@import \"mixins/hover\";\n@import \"mixins/image\";\n@import \"mixins/badge\";\n@import \"mixins/resize\";\n@import \"mixins/screen-reader\";\n@import \"mixins/size\";\n@import \"mixins/reset-text\";\n@import \"mixins/text-emphasis\";\n@import \"mixins/text-hide\";\n@import \"mixins/text-truncate\";\n@import \"mixins/visibility\";\n\n// Components\n@import \"mixins/alert\";\n@import \"mixins/buttons\";\n@import \"mixins/caret\";\n@import \"mixins/pagination\";\n@import \"mixins/lists\";\n@import \"mixins/list-group\";\n@import \"mixins/nav-divider\";\n@import \"mixins/forms\";\n@import \"mixins/table-row\";\n\n// Skins\n@import \"mixins/background-variant\";\n@import \"mixins/border-radius\";\n@import \"mixins/box-shadow\";\n@import \"mixins/gradients\";\n@import \"mixins/transition\";\n\n// Layout\n@import \"mixins/clearfix\";\n@import \"mixins/grid-framework\";\n@import \"mixins/grid\";\n@import \"mixins/float\";\n",
5 years ago
"// stylelint-disable property-blacklist, scss/dollar-variable-default\n\n// SCSS RFS mixin\n//\n// Automated font-resizing\n//\n// See https://github.com/twbs/rfs\n\n// Configuration\n\n// Base font size\n$rfs-base-font-size: 1.25rem !default;\n$rfs-font-size-unit: rem !default;\n\n// Breakpoint at where font-size starts decreasing if screen width is smaller\n$rfs-breakpoint: 1200px !default;\n$rfs-breakpoint-unit: px !default;\n\n// Resize font-size based on screen height and width\n$rfs-two-dimensional: false !default;\n\n// Factor of decrease\n$rfs-factor: 10 !default;\n\n@if type-of($rfs-factor) != \"number\" or $rfs-factor <= 1 {\n @error \"`#{$rfs-factor}` is not a valid $rfs-factor, it must be greater than 1.\";\n}\n\n// Generate enable or disable classes. Possibilities: false, \"enable\" or \"disable\"\n$rfs-class: false !default;\n\n// 1 rem = $rfs-rem-value px\n$rfs-rem-value: 16 !default;\n\n// Safari iframe resize bug: https://github.com/twbs/rfs/issues/14\n$rfs-safari-iframe-resize-bug-fix: false !default;\n\n// Disable RFS by setting $enable-responsive-font-sizes to false\n$enable-responsive-font-sizes: true !default;\n\n// Cache $rfs-base-font-size unit\n$rfs-base-font-size-unit: unit($rfs-base-font-size);\n\n// Remove px-unit from $rfs-base-font-size for calculations\n@if $rfs-base-font-size-unit == \"px\" {\n $rfs-base-font-size: $rfs-base-font-size / ($rfs-base-font-size * 0 + 1);\n}\n@else if $rfs-base-font-size-unit == \"rem\" {\n $rfs-base-font-size: $rfs-base-font-size / ($rfs-base-font-size * 0 + 1 / $rfs-rem-value);\n}\n\n// Cache $rfs-breakpoint unit to prevent multiple calls\n$rfs-breakpoint-unit-cache: unit($rfs-breakpoint);\n\n// Remove unit from $rfs-breakpoint for calculations\n@if $rfs-breakpoint-unit-cache == \"px\" {\n $rfs-breakpoint: $rfs-breakpoint / ($rfs-breakpoint * 0 + 1);\n}\n@else if $rfs-breakpoint-unit-cache == \"rem\" or $rfs-breakpoint-unit-cache == \"em\" {\n $rfs-breakpoint: $rfs-breakpoint / ($rfs-breakpoint * 0 + 1 / $rfs-rem-value);\n}\n\n// Responsive font-size mixin\n@mixin rfs($fs, $important: false) {\n // Cache $fs unit\n $fs-unit: if(type-of($fs) == \"number\", unit($fs), false);\n\n // Add !important suffix if needed\n $rfs-suffix: if($important, \" !important\", \"\");\n\n // If $fs isn't a number (like inherit) or $fs has a unit (not px or rem, like 1.5em) or $ is 0, just print the value\n @if not $fs-unit or $fs-unit != \"\" and $fs-unit != \"px\" and $fs-unit != \"rem\" or $fs == 0 {\n font-size: #{$fs}#{$rfs-suffix};\n }\n @else {\n // Variables for storing static and fluid rescaling\n $rfs-static: null;\n $rfs-fluid: null;\n\n // Remove px-unit from $fs for calculations\n @if $fs-unit == \"px\" {\n $fs: $fs / ($fs * 0 + 1);\n }\n @else if $fs-unit == \"rem\" {\n $fs: $fs / ($fs * 0 + 1 / $rfs-rem-value);\n }\n\n // Set default font-size\n @if $rfs-font-size-unit == rem {\n $rfs-static: #{$fs / $rfs-rem-value}rem#{$rfs-suffix};\n }\n @else if $rfs-font-size-unit == px {\n $rfs-static: #{$fs}px#{$rfs-suffix};\n }\n @else {\n @error \"`#{$rfs-font-size-unit}` is not a valid unit for $rfs-font-size-unit. Use `px` or `rem`.\";\n }\n\n // Only add media query if font-size is bigger as the minimum font-size\n // If $rfs-factor == 1, no rescaling will take place\n @if $fs > $rfs-base-font-size and $enable-responsive-font-sizes {\n $min-width: null;\n $variable-unit: null;\n\n // Calculate minimum font-size for given font-size\n $fs-min: $rfs-base-font-size + ($fs - $rfs-base-font-size) / $rfs-factor;\n\n // Calculate difference between given font-size and minimum font-size for given font-size\n $fs-diff: $fs - $fs-min;\n\n // Base font-size formatting\n // No need to check if the unit is valid, because we did that before\n $min-width: if($rfs-font-size-unit == rem, #{$fs-min / $rfs-rem-value}rem, #{$fs-min}px);\n\n // If two-dimensional, use smallest of screen width and height\n $variable-unit: if($rfs-two-dimensi
"// Deprecate mixin\n//\n// This mixin can be used to deprecate mixins or functions.\n// `$enable-deprecation-messages` is a global variable, `$ignore-warning` is a variable that can be passed to\n// some deprecated mixins to suppress the warning (for example if the mixin is still be used in the current version of Bootstrap)\n@mixin deprecate($name, $deprecate-version, $remove-version, $ignore-warning: false) {\n @if ($enable-deprecation-messages != false and $ignore-warning != true) {\n @warn \"#{$name} has been deprecated as of #{$deprecate-version}. It will be removed entirely in #{$remove-version}.\";\n }\n}\n",
"// Breakpoint viewport sizes and media queries.\n//\n// Breakpoints are defined as a map of (name: minimum width), order from small to large:\n//\n// (xs: 0, sm: 576px, md: 768px, lg: 992px, xl: 1200px)\n//\n// The map defined in the `$grid-breakpoints` global variable is used as the `$breakpoints` argument by default.\n\n// Name of the next breakpoint, or null for the last breakpoint.\n//\n// >> breakpoint-next(sm)\n// md\n// >> breakpoint-next(sm, (xs: 0, sm: 576px, md: 768px, lg: 992px, xl: 1200px))\n// md\n// >> breakpoint-next(sm, $breakpoint-names: (xs sm md lg xl))\n// md\n@function breakpoint-next($name, $breakpoints: $grid-breakpoints, $breakpoint-names: map-keys($breakpoints)) {\n $n: index($breakpoint-names, $name);\n @return if($n != null and $n < length($breakpoint-names), nth($breakpoint-names, $n + 1), null);\n}\n\n// Minimum breakpoint width. Null for the smallest (first) breakpoint.\n//\n// >> breakpoint-min(sm, (xs: 0, sm: 576px, md: 768px, lg: 992px, xl: 1200px))\n// 576px\n@function breakpoint-min($name, $breakpoints: $grid-breakpoints) {\n $min: map-get($breakpoints, $name);\n @return if($min != 0, $min, null);\n}\n\n// Maximum breakpoint width. Null for the largest (last) breakpoint.\n// The maximum value is calculated as the minimum of the next one less 0.02px\n// to work around the limitations of `min-` and `max-` prefixes and viewports with fractional widths.\n// See https://www.w3.org/TR/mediaqueries-4/#mq-min-max\n// Uses 0.02px rather than 0.01px to work around a current rounding bug in Safari.\n// See https://bugs.webkit.org/show_bug.cgi?id=178261\n//\n// >> breakpoint-max(sm, (xs: 0, sm: 576px, md: 768px, lg: 992px, xl: 1200px))\n// 767.98px\n@function breakpoint-max($name, $breakpoints: $grid-breakpoints) {\n $next: breakpoint-next($name, $breakpoints);\n @return if($next, breakpoint-min($next, $breakpoints) - .02, null);\n}\n\n// Returns a blank string if smallest breakpoint, otherwise returns the name with a dash in front.\n// Useful for making responsive utilities.\n//\n// >> breakpoint-infix(xs, (xs: 0, sm: 576px, md: 768px, lg: 992px, xl: 1200px))\n// \"\" (Returns a blank string)\n// >> breakpoint-infix(sm, (xs: 0, sm: 576px, md: 768px, lg: 992px, xl: 1200px))\n// \"-sm\"\n@function breakpoint-infix($name, $breakpoints: $grid-breakpoints) {\n @return if(breakpoint-min($name, $breakpoints) == null, \"\", \"-#{$name}\");\n}\n\n// Media of at least the minimum breakpoint width. No query for the smallest breakpoint.\n// Makes the @content apply to the given breakpoint and wider.\n@mixin media-breakpoint-up($name, $breakpoints: $grid-breakpoints) {\n $min: breakpoint-min($name, $breakpoints);\n @if $min {\n @media (min-width: $min) {\n @content;\n }\n } @else {\n @content;\n }\n}\n\n// Media of at most the maximum breakpoint width. No query for the largest breakpoint.\n// Makes the @content apply to the given breakpoint and narrower.\n@mixin media-breakpoint-down($name, $breakpoints: $grid-breakpoints) {\n $max: breakpoint-max($name, $breakpoints);\n @if $max {\n @media (max-width: $max) {\n @content;\n }\n } @else {\n @content;\n }\n}\n\n// Media that spans multiple breakpoint widths.\n// Makes the @content apply between the min and max breakpoints\n@mixin media-breakpoint-between($lower, $upper, $breakpoints: $grid-breakpoints) {\n $min: breakpoint-min($lower, $breakpoints);\n $max: breakpoint-max($upper, $breakpoints);\n\n @if $min != null and $max != null {\n @media (min-width: $min) and (max-width: $max) {\n @content;\n }\n } @else if $max == null {\n @include media-breakpoint-up($lower, $breakpoints) {\n @content;\n }\n } @else if $min == null {\n @include media-breakpoint-down($upper, $breakpoints) {\n @content;\n }\n }\n}\n\n// Media between the breakpoint's minimum and maximum widths.\n// No minimum for the smallest breakpoint, and no maximum for the largest one.\n// Makes the @content apply only to the given breakpoint, not viewports any wider or nar
5 years ago
"// Hover mixin and `$enable-hover-media-query` are deprecated.\n//\n// Originally added during our alphas and maintained during betas, this mixin was\n// designed to prevent `:hover` stickiness on iOS-an issue where hover styles\n// would persist after initial touch.\n//\n// For backward compatibility, we've kept these mixins and updated them to\n// always return their regular pseudo-classes instead of a shimmed media query.\n//\n// Issue: https://github.com/twbs/bootstrap/issues/25195\n\n@mixin hover() {\n &:hover { @content; }\n}\n\n@mixin hover-focus() {\n &:hover,\n &:focus {\n @content;\n }\n}\n\n@mixin plain-hover-focus() {\n &,\n &:hover,\n &:focus {\n @content;\n }\n}\n\n@mixin hover-focus-active() {\n &:hover,\n &:focus,\n &:active {\n @content;\n }\n}\n",
"// Image Mixins\n// - Responsive image\n// - Retina image\n\n\n// Responsive image\n//\n// Keep images from scaling beyond the width of their parents.\n\n@mixin img-fluid() {\n // Part 1: Set a maximum relative to the parent\n max-width: 100%;\n // Part 2: Override the height to auto, otherwise images will be stretched\n // when setting a width and height attribute on the img element.\n height: auto;\n}\n\n\n// Retina image\n//\n// Short retina mixin for setting background-image and -size.\n\n@mixin img-retina($file-1x, $file-2x, $width-1x, $height-1x) {\n background-image: url($file-1x);\n\n // Autoprefixer takes care of adding -webkit-min-device-pixel-ratio and -o-min-device-pixel-ratio,\n // but doesn't convert dppx=>dpi.\n // There's no such thing as unprefixed min-device-pixel-ratio since it's nonstandard.\n // Compatibility info: https://caniuse.com/#feat=css-media-resolution\n @media only screen and (min-resolution: 192dpi), // IE9-11 don't support dppx\n only screen and (min-resolution: 2dppx) { // Standardized\n background-image: url($file-2x);\n background-size: $width-1x $height-1x;\n }\n @include deprecate(\"`img-retina()`\", \"v4.3.0\", \"v5\");\n}\n",
"@mixin badge-variant($bg) {\n color: color-yiq($bg);\n background-color: $bg;\n\n @at-root a#{&} {\n @include hover-focus() {\n color: color-yiq($bg);\n background-color: darken($bg, 10%);\n }\n\n &:focus,\n &.focus {\n outline: 0;\n box-shadow: 0 0 0 $badge-focus-width rgba($bg, .5);\n }\n }\n}\n",
5 years ago
"// Resize anything\n\n@mixin resizable($direction) {\n overflow: auto; // Per CSS3 UI, `resize` only applies when `overflow` isn't `visible`\n resize: $direction; // Options: horizontal, vertical, both\n}\n",
5 years ago
"// Only display content to screen readers\n//\n// See: https://a11yproject.com/posts/how-to-hide-content/\n// See: https://hugogiraudel.com/2016/10/13/css-hide-and-seek/\n\n@mixin sr-only() {\n position: absolute;\n width: 1px;\n height: 1px;\n padding: 0;\n margin: -1px; // Fix for https://github.com/twbs/bootstrap/issues/25686\n overflow: hidden;\n clip: rect(0, 0, 0, 0);\n white-space: nowrap;\n border: 0;\n}\n\n// Use in conjunction with .sr-only to only display content when it's focused.\n//\n// Useful for \"Skip to main content\" links; see https://www.w3.org/TR/2013/NOTE-WCAG20-TECHS-20130905/G1\n//\n// Credit: HTML5 Boilerplate\n\n@mixin sr-only-focusable() {\n &:active,\n &:focus {\n position: static;\n width: auto;\n height: auto;\n overflow: visible;\n clip: auto;\n white-space: normal;\n }\n}\n",
5 years ago
"// Sizing shortcuts\n\n@mixin size($width, $height: $width) {\n width: $width;\n height: $height;\n @include deprecate(\"`size()`\", \"v4.3.0\", \"v5\");\n}\n",
5 years ago
"@mixin reset-text() {\n font-family: $font-family-base;\n // We deliberately do NOT reset font-size or word-wrap.\n font-style: normal;\n font-weight: $font-weight-normal;\n line-height: $line-height-base;\n text-align: left; // Fallback for where `start` is not supported\n text-align: start;\n text-decoration: none;\n text-shadow: none;\n text-transform: none;\n letter-spacing: normal;\n word-break: normal;\n word-spacing: normal;\n white-space: normal;\n line-break: auto;\n}\n",
"// stylelint-disable declaration-no-important\n\n// Typography\n\n@mixin text-emphasis-variant($parent, $color, $ignore-warning: false) {\n #{$parent} {\n color: $color !important;\n }\n @if $emphasized-link-hover-darken-percentage != 0 {\n a#{$parent} {\n @include hover-focus() {\n color: darken($color, $emphasized-link-hover-darken-percentage) !important;\n }\n }\n }\n @include deprecate(\"`text-emphasis-variant()`\", \"v4.4.0\", \"v5\", $ignore-warning);\n}\n",
5 years ago
"// CSS image replacement\n@mixin text-hide($ignore-warning: false) {\n // stylelint-disable-next-line font-family-no-missing-generic-family-keyword\n font: 0/0 a;\n color: transparent;\n text-shadow: none;\n background-color: transparent;\n border: 0;\n\n @include deprecate(\"`text-hide()`\", \"v4.1.0\", \"v5\", $ignore-warning);\n}\n",
"// Text truncate\n// Requires inline-block or block for proper styling\n\n@mixin text-truncate() {\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n",
"// stylelint-disable declaration-no-important\n\n// Visibility\n\n@mixin invisible($visibility) {\n visibility: $visibility !important;\n @include deprecate(\"`invisible()`\", \"v4.3.0\", \"v5\");\n}\n",
"@mixin alert-variant($background, $border, $color) {\n color: $color;\n @include gradient-bg($background);\n border-color: $border;\n\n hr {\n border-top-color: darken($border, 5%);\n }\n\n .alert-link {\n color: darken($color, 10%);\n }\n}\n",
5 years ago
"// Button variants\n//\n// Easily pump out default styles, as well as :hover, :focus, :active,\n// and disabled options for all buttons\n\n@mixin button-variant($background, $border, $hover-background: darken($background, 7.5%), $hover-border: darken($border, 10%), $active-background: darken($background, 10%), $active-border: darken($border, 12.5%)) {\n color: color-yiq($background);\n @include gradient-bg($background);\n border-color: $border;\n @include box-shadow($btn-box-shadow);\n\n @include hover() {\n color: color-yiq($hover-background);\n @include gradient-bg($hover-background);\n border-color: $hover-border;\n }\n\n &:focus,\n &.focus {\n color: color-yiq($hover-background);\n @include gradient-bg($hover-background);\n border-color: $hover-border;\n // Avoid using mixin so we can pass custom focus shadow properly\n @if $enable-shadows {\n box-shadow: $btn-box-shadow, 0 0 0 $btn-focus-width rgba(mix(color-yiq($background), $border, 15%), .5);\n } @else {\n box-shadow: 0 0 0 $btn-focus-width rgba(mix(color-yiq($background), $border, 15%), .5);\n }\n }\n\n // Disabled comes first so active can properly restyle\n &.disabled,\n &:disabled {\n color: color-yiq($background);\n background-color: $background;\n border-color: $border;\n // Remove CSS gradients if they're enabled\n @if $enable-gradients {\n background-image: none;\n }\n }\n\n &:not(:disabled):not(.disabled):active,\n &:not(:disabled):not(.disabled).active,\n .show > &.dropdown-toggle {\n color: color-yiq($active-background);\n background-color: $active-background;\n @if $enable-gradients {\n background-image: none; // Remove the gradient for the pressed/active state\n }\n border-color: $active-border;\n\n &:focus {\n // Avoid using mixin so we can pass custom focus shadow properly\n @if $enable-shadows and $btn-active-box-shadow != none {\n box-shadow: $btn-active-box-shadow, 0 0 0 $btn-focus-width rgba(mix(color-yiq($background), $border, 15%), .5);\n } @else {\n box-shadow: 0 0 0 $btn-focus-width rgba(mix(color-yiq($background), $border, 15%), .5);\n }\n }\n }\n}\n\n@mixin button-outline-variant($color, $color-hover: color-yiq($color), $active-background: $color, $active-border: $color) {\n color: $color;\n border-color: $color;\n\n @include hover() {\n color: $color-hover;\n background-color: $active-background;\n border-color: $active-border;\n }\n\n &:focus,\n &.focus {\n box-shadow: 0 0 0 $btn-focus-width rgba($color, .5);\n }\n\n &.disabled,\n &:disabled {\n color: $color;\n background-color: transparent;\n }\n\n &:not(:disabled):not(.disabled):active,\n &:not(:disabled):not(.disabled).active,\n .show > &.dropdown-toggle {\n color: color-yiq($active-background);\n background-color: $active-background;\n border-color: $active-border;\n\n &:focus {\n // Avoid using mixin so we can pass custom focus shadow properly\n @if $enable-shadows and $btn-active-box-shadow != none {\n box-shadow: $btn-active-box-shadow, 0 0 0 $btn-focus-width rgba($color, .5);\n } @else {\n box-shadow: 0 0 0 $btn-focus-width rgba($color, .5);\n }\n }\n }\n}\n\n// Button sizes\n@mixin button-size($padding-y, $padding-x, $font-size, $line-height, $border-radius) {\n padding: $padding-y $padding-x;\n @include font-size($font-size);\n line-height: $line-height;\n // Manually declare to provide an override to the browser default\n @include border-radius($border-radius, 0);\n}\n",
"@mixin caret-down() {\n border-top: $caret-width solid;\n border-right: $caret-width solid transparent;\n border-bottom: 0;\n border-left: $caret-width solid transparent;\n}\n\n@mixin caret-up() {\n border-top: 0;\n border-right: $caret-width solid transparent;\n border-bottom: $caret-width solid;\n border-left: $caret-width solid transparent;\n}\n\n@mixin caret-right() {\n border-top: $caret-width solid transparent;\n border-right: 0;\n border-bottom: $caret-width solid transparent;\n border-left: $caret-width solid;\n}\n\n@mixin caret-left() {\n border-top: $caret-width solid transparent;\n border-right: $caret-width solid;\n border-bottom: $caret-width solid transparent;\n}\n\n@mixin caret($direction: down) {\n @if $enable-caret {\n &::after {\n display: inline-block;\n margin-left: $caret-spacing;\n vertical-align: $caret-vertical-align;\n content: \"\";\n @if $direction == down {\n @include caret-down();\n } @else if $direction == up {\n @include caret-up();\n } @else if $direction == right {\n @include caret-right();\n }\n }\n\n @if $direction == left {\n &::after {\n display: none;\n }\n\n &::before {\n display: inline-block;\n margin-right: $caret-spacing;\n vertical-align: $caret-vertical-align;\n content: \"\";\n @include caret-left();\n }\n }\n\n &:empty::after {\n margin-left: 0;\n }\n }\n}\n",
5 years ago
"// Pagination\n\n@mixin pagination-size($padding-y, $padding-x, $font-size, $line-height, $border-radius) {\n .page-link {\n padding: $padding-y $padding-x;\n @include font-size($font-size);\n line-height: $line-height;\n }\n\n .page-item {\n &:first-child {\n .page-link {\n @include border-left-radius($border-radius);\n }\n }\n &:last-child {\n .page-link {\n @include border-right-radius($border-radius);\n }\n }\n }\n}\n",
5 years ago
"// Lists\n\n// Unstyled keeps list items block level, just removes default browser padding and list-style\n@mixin list-unstyled() {\n padding-left: 0;\n list-style: none;\n}\n",
"// List Groups\n\n@mixin list-group-item-variant($state, $background, $color) {\n .list-group-item-#{$state} {\n color: $color;\n background-color: $background;\n\n &.list-group-item-action {\n @include hover-focus() {\n color: $color;\n background-color: darken($background, 5%);\n }\n\n &.active {\n color: $white;\n background-color: $color;\n border-color: $color;\n }\n }\n }\n}\n",
"// Horizontal dividers\n//\n// Dividers (basically an hr) within dropdowns and nav lists\n\n@mixin nav-divider($color: $nav-divider-color, $margin-y: $nav-divider-margin-y, $ignore-warning: false) {\n height: 0;\n margin: $margin-y 0;\n overflow: hidden;\n border-top: 1px solid $color;\n @include deprecate(\"The `nav-divider()` mixin\", \"v4.4.0\", \"v5\", $ignore-warning);\n}\n",
"// Form control focus state\n//\n// Generate a customized focus state and for any input with the specified color,\n// which defaults to the `$input-focus-border-color` variable.\n//\n// We highly encourage you to not customize the default value, but instead use\n// this to tweak colors on an as-needed basis. This aesthetic change is based on\n// WebKit's default styles, but applicable to a wider range of browsers. Its\n// usability and accessibility should be taken into account with any change.\n//\n// Example usage: change the default blue border and shadow to white for better\n// contrast against a dark gray background.\n@mixin form-control-focus($ignore-warning: false) {\n &:focus {\n color: $input-focus-color;\n background-color: $input-focus-bg;\n border-color: $input-focus-border-color;\n outline: 0;\n // Avoid using mixin so we can pass custom focus shadow properly\n @if $enable-shadows {\n box-shadow: $input-box-shadow, $input-focus-box-shadow;\n } @else {\n box-shadow: $input-focus-box-shadow;\n }\n }\n @include deprecate(\"The `form-control-focus()` mixin\", \"v4.4.0\", \"v5\", $ignore-warning);\n}\n\n// This mixin uses an `if()` technique to be compatible with Dart Sass\n// See https://github.com/sass/sass/issues/1873#issuecomment-152293725 for more details\n@mixin form-validation-state-selector($state) {\n @if ($state == \"valid\" or $state == \"invalid\") {\n .was-validated #{if(&, \"&\", \"\")}:#{$state},\n #{if(&, \"&\", \"\")}.is-#{$state} {\n @content;\n }\n } @else {\n #{if(&, \"&\", \"\")}.is-#{$state} {\n @content;\n }\n }\n}\n\n@mixin form-validation-state($state, $color, $icon) {\n .#{$state}-feedback {\n display: none;\n width: 100%;\n margin-top: $form-feedback-margin-top;\n @include font-size($form-feedback-font-size);\n color: $color;\n }\n\n .#{$state}-tooltip {\n position: absolute;\n top: 100%;\n z-index: 5;\n display: none;\n max-width: 100%; // Contain to parent when possible\n padding: $form-feedback-tooltip-padding-y $form-feedback-tooltip-padding-x;\n margin-top: .1rem;\n @include font-size($form-feedback-tooltip-font-size);\n line-height: $form-feedback-tooltip-line-height;\n color: color-yiq($color);\n background-color: rgba($color, $form-feedback-tooltip-opacity);\n @include border-radius($form-feedback-tooltip-border-radius);\n }\n\n @include form-validation-state-selector($state) {\n ~ .#{$state}-feedback,\n ~ .#{$state}-tooltip {\n display: block;\n }\n }\n\n .form-control {\n @include form-validation-state-selector($state) {\n border-color: $color;\n\n @if $enable-validation-icons {\n padding-right: $input-height-inner;\n background-image: escape-svg($icon);\n background-repeat: no-repeat;\n background-position: right $input-height-inner-quarter center;\n background-size: $input-height-inner-half $input-height-inner-half;\n }\n\n &:focus {\n border-color: $color;\n box-shadow: 0 0 0 $input-focus-width rgba($color, .25);\n }\n }\n }\n\n // stylelint-disable-next-line selector-no-qualifying-type\n textarea.form-control {\n @include form-validation-state-selector($state) {\n @if $enable-validation-icons {\n padding-right: $input-height-inner;\n background-position: top $input-height-inner-quarter right $input-height-inner-quarter;\n }\n }\n }\n\n .custom-select {\n @include form-validation-state-selector($state) {\n border-color: $color;\n\n @if $enable-validation-icons {\n padding-right: $custom-select-feedback-icon-padding-right;\n background: $custom-select-background, escape-svg($icon) $custom-select-bg no-repeat $custom-select-feedback-icon-position / $custom-select-feedback-icon-size;\n }\n\n &:focus {\n border-color: $color;\n box-shadow: 0 0 0 $input-focus-width rgba($color, .25);\n }\n }\n }\n\n .form-check-input {\n @include form-validation-state-selector($sta
"// Tables\n\n@mixin table-row-variant($state, $background, $border: null) {\n // Exact selectors below required to override `.table-striped` and prevent\n // inheritance to nested tables.\n .table-#{$state} {\n &,\n > th,\n > td {\n background-color: $background;\n }\n\n @if $border != null {\n th,\n td,\n thead th,\n tbody + tbody {\n border-color: $border;\n }\n }\n }\n\n // Hover states for `.table-hover`\n // Note: this is not available for cells or rows within `thead` or `tfoot`.\n .table-hover {\n $hover-background: darken($background, 5%);\n\n .table-#{$state} {\n @include hover() {\n background-color: $hover-background;\n\n > td,\n > th {\n background-color: $hover-background;\n }\n }\n }\n }\n}\n",
"// stylelint-disable declaration-no-important\n\n// Contextual backgrounds\n\n@mixin bg-variant($parent, $color, $ignore-warning: false) {\n #{$parent} {\n background-color: $color !important;\n }\n a#{$parent},\n button#{$parent} {\n @include hover-focus() {\n background-color: darken($color, 10%) !important;\n }\n }\n @include deprecate(\"The `bg-variant` mixin\", \"v4.4.0\", \"v5\", $ignore-warning);\n}\n\n@mixin bg-gradient-variant($parent, $color) {\n #{$parent} {\n background: $color linear-gradient(180deg, mix($body-bg, $color, 15%), $color) repeat-x !important;\n }\n}\n",
5 years ago
"// stylelint-disable property-blacklist\n// Single side border-radius\n\n@mixin border-radius($radius: $border-radius, $fallback-border-radius: false) {\n @if $enable-rounded {\n border-radius: $radius;\n }\n @else if $fallback-border-radius != false {\n border-radius: $fallback-border-radius;\n }\n}\n\n@mixin border-top-radius($radius) {\n @if $enable-rounded {\n border-top-left-radius: $radius;\n border-top-right-radius: $radius;\n }\n}\n\n@mixin border-right-radius($radius) {\n @if $enable-rounded {\n border-top-right-radius: $radius;\n border-bottom-right-radius: $radius;\n }\n}\n\n@mixin border-bottom-radius($radius) {\n @if $enable-rounded {\n border-bottom-right-radius: $radius;\n border-bottom-left-radius: $radius;\n }\n}\n\n@mixin border-left-radius($radius) {\n @if $enable-rounded {\n border-top-left-radius: $radius;\n border-bottom-left-radius: $radius;\n }\n}\n\n@mixin border-top-left-radius($radius) {\n @if $enable-rounded {\n border-top-left-radius: $radius;\n }\n}\n\n@mixin border-top-right-radius($radius) {\n @if $enable-rounded {\n border-top-right-radius: $radius;\n }\n}\n\n@mixin border-bottom-right-radius($radius) {\n @if $enable-rounded {\n border-bottom-right-radius: $radius;\n }\n}\n\n@mixin border-bottom-left-radius($radius) {\n @if $enable-rounded {\n border-bottom-left-radius: $radius;\n }\n}\n",
"@mixin box-shadow($shadow...) {\n @if $enable-shadows {\n $result: ();\n\n @if (length($shadow) == 1) {\n // We can pass `@include box-shadow(none);`\n $result: $shadow;\n } @else {\n // Filter to avoid invalid properties for example `box-shadow: none, 1px 1px black;`\n @for $i from 1 through length($shadow) {\n @if nth($shadow, $i) != \"none\" {\n $result: append($result, nth($shadow, $i), \"comma\");\n }\n }\n }\n @if (length($result) > 0) {\n box-shadow: $result;\n }\n }\n}\n",
"// Gradients\n\n@mixin gradient-bg($color) {\n @if $enable-gradients {\n background: $color linear-gradient(180deg, mix($body-bg, $color, 15%), $color) repeat-x;\n } @else {\n background-color: $color;\n }\n}\n\n// Horizontal gradient, from left to right\n//\n// Creates two color stops, start and end, by specifying a color and position for each color stop.\n@mixin gradient-x($start-color: $gray-700, $end-color: $gray-800, $start-percent: 0%, $end-percent: 100%) {\n background-image: linear-gradient(to right, $start-color $start-percent, $end-color $end-percent);\n background-repeat: repeat-x;\n}\n\n// Vertical gradient, from top to bottom\n//\n// Creates two color stops, start and end, by specifying a color and position for each color stop.\n@mixin gradient-y($start-color: $gray-700, $end-color: $gray-800, $start-percent: 0%, $end-percent: 100%) {\n background-image: linear-gradient(to bottom, $start-color $start-percent, $end-color $end-percent);\n background-repeat: repeat-x;\n}\n\n@mixin gradient-directional($start-color: $gray-700, $end-color: $gray-800, $deg: 45deg) {\n background-image: linear-gradient($deg, $start-color, $end-color);\n background-repeat: repeat-x;\n}\n@mixin gradient-x-three-colors($start-color: $blue, $mid-color: $purple, $color-stop: 50%, $end-color: $red) {\n background-image: linear-gradient(to right, $start-color, $mid-color $color-stop, $end-color);\n background-repeat: no-repeat;\n}\n@mixin gradient-y-three-colors($start-color: $blue, $mid-color: $purple, $color-stop: 50%, $end-color: $red) {\n background-image: linear-gradient($start-color, $mid-color $color-stop, $end-color);\n background-repeat: no-repeat;\n}\n@mixin gradient-radial($inner-color: $gray-700, $outer-color: $gray-800) {\n background-image: radial-gradient(circle, $inner-color, $outer-color);\n background-repeat: no-repeat;\n}\n@mixin gradient-striped($color: rgba($white, .15), $angle: 45deg) {\n background-image: linear-gradient($angle, $color 25%, transparent 25%, transparent 50%, $color 50%, $color 75%, transparent 75%, transparent);\n}\n",
"// stylelint-disable property-blacklist\n@mixin transition($transition...) {\n @if $enable-transitions {\n @if length($transition) == 0 {\n transition: $transition-base;\n } @else {\n transition: $transition;\n }\n }\n\n @if $enable-prefers-reduced-motion-media-query {\n @media (prefers-reduced-motion: reduce) {\n transition: none;\n }\n }\n}\n",
"@mixin clearfix() {\n &::after {\n display: block;\n clear: both;\n content: \"\";\n }\n}\n",
5 years ago
"// Framework grid generation\n//\n// Used only by Bootstrap to generate the correct number of grid classes given\n// any value of `$grid-columns`.\n\n@mixin make-grid-columns($columns: $grid-columns, $gutter: $grid-gutter-width, $breakpoints: $grid-breakpoints) {\n // Common properties for all breakpoints\n %grid-column {\n position: relative;\n width: 100%;\n padding-right: $gutter / 2;\n padding-left: $gutter / 2;\n }\n\n @each $breakpoint in map-keys($breakpoints) {\n $infix: breakpoint-infix($breakpoint, $breakpoints);\n\n // Allow columns to stretch full width below their breakpoints\n @for $i from 1 through $columns {\n .col#{$infix}-#{$i} {\n @extend %grid-column;\n }\n }\n .col#{$infix},\n .col#{$infix}-auto {\n @extend %grid-column;\n }\n\n @include media-breakpoint-up($breakpoint, $breakpoints) {\n // Provide basic `.col-{bp}` classes for equal-width flexbox columns\n .col#{$infix} {\n flex-basis: 0;\n flex-grow: 1;\n max-width: 100%;\n }\n\n @for $i from 1 through $grid-row-columns {\n .row-cols#{$infix}-#{$i} {\n @include row-cols($i);\n }\n }\n\n .col#{$infix}-auto {\n @include make-col-auto();\n }\n\n @for $i from 1 through $columns {\n .col#{$infix}-#{$i} {\n @include make-col($i, $columns);\n }\n }\n\n .order#{$infix}-first { order: -1; }\n\n .order#{$infix}-last { order: $columns + 1; }\n\n @for $i from 0 through $columns {\n .order#{$infix}-#{$i} { order: $i; }\n }\n\n // `$columns - 1` because offsetting by the width of an entire row isn't possible\n @for $i from 0 through ($columns - 1) {\n @if not ($infix == \"\" and $i == 0) { // Avoid emitting useless .offset-0\n .offset#{$infix}-#{$i} {\n @include make-col-offset($i, $columns);\n }\n }\n }\n }\n }\n}\n",
"/// Grid system\n//\n// Generate semantic grid columns with these mixins.\n\n@mixin make-container($gutter: $grid-gutter-width) {\n width: 100%;\n padding-right: $gutter / 2;\n padding-left: $gutter / 2;\n margin-right: auto;\n margin-left: auto;\n}\n\n\n// For each breakpoint, define the maximum width of the container in a media query\n@mixin make-container-max-widths($max-widths: $container-max-widths, $breakpoints: $grid-breakpoints) {\n @each $breakpoint, $container-max-width in $max-widths {\n @include media-breakpoint-up($breakpoint, $breakpoints) {\n max-width: $container-max-width;\n }\n }\n}\n\n@mixin make-row($gutter: $grid-gutter-width) {\n display: flex;\n flex-wrap: wrap;\n margin-right: -$gutter / 2;\n margin-left: -$gutter / 2;\n}\n\n@mixin make-col-ready($gutter: $grid-gutter-width) {\n position: relative;\n // Prevent columns from becoming too narrow when at smaller grid tiers by\n // always setting `width: 100%;`. This works because we use `flex` values\n // later on to override this initial width.\n width: 100%;\n padding-right: $gutter / 2;\n padding-left: $gutter / 2;\n}\n\n@mixin make-col($size, $columns: $grid-columns) {\n flex: 0 0 percentage($size / $columns);\n // Add a `max-width` to ensure content within each column does not blow out\n // the width of the column. Applies to IE10+ and Firefox. Chrome and Safari\n // do not appear to require this.\n max-width: percentage($size / $columns);\n}\n\n@mixin make-col-auto() {\n flex: 0 0 auto;\n width: auto;\n max-width: 100%; // Reset earlier grid tiers\n}\n\n@mixin make-col-offset($size, $columns: $grid-columns) {\n $num: $size / $columns;\n margin-left: if($num == 0, 0, percentage($num));\n}\n\n// Row columns\n//\n// Specify on a parent element(e.g., .row) to force immediate children into NN\n// numberof columns. Supports wrapping to new lines, but does not do a Masonry\n// style grid.\n@mixin row-cols($count) {\n & > * {\n flex: 0 0 100% / $count;\n max-width: 100% / $count;\n }\n}\n",
"// stylelint-disable declaration-no-important\n\n@mixin float-left() {\n float: left !important;\n @include deprecate(\"The `float-left` mixin\", \"v4.3.0\", \"v5\");\n}\n@mixin float-right() {\n float: right !important;\n @include deprecate(\"The `float-right` mixin\", \"v4.3.0\", \"v5\");\n}\n@mixin float-none() {\n float: none !important;\n @include deprecate(\"The `float-none` mixin\", \"v4.3.0\", \"v5\");\n}\n",
5 years ago
"//\n// Core: Variables\n//\n\n// COLORS\n// --------------------------------------------------------\n$blue: #0073b7 !default;\n$lightblue: #3c8dbc !default;\n$navy: #001f3f !default;\n$teal: #39cccc !default;\n$olive: #3d9970 !default;\n$lime: #01ff70 !default;\n$orange: #ff851b !default;\n$fuchsia: #f012be !default;\n$purple: #605ca8 !default;\n$maroon: #d81b60 !default;\n$black: #111 !default;\n$gray-x-light: #d2d6de !default;\n\n$colors: map-merge((\n 'lightblue': $lightblue,\n 'navy': $navy,\n 'olive': $olive,\n 'lime': $lime,\n 'fuchsia': $fuchsia,\n 'maroon': $maroon,\n), $colors);\n\n// LAYOUT\n// --------------------------------------------------------\n\n$font-size-root: 1rem !default;\n\n// Sidebar\n$sidebar-width: 250px !default;\n$sidebar-padding-x: 0.5rem !default;\n$sidebar-padding-y: 0 !default;\n\n// Boxed layout maximum width\n$boxed-layout-max-width: 1250px !default;\n\n// When to show the smaller logo\n$screen-header-collapse: map-get($grid-breakpoints, md) !default;\n\n// Body background (Affects main content background only)\n$main-bg: #f4f6f9 !default;\n\n// Content padding\n$content-padding-y: 0 !default;\n$content-padding-x: $navbar-padding-x !default;\n\n// IMAGE SIZES\n// --------------------------------------------------------\n$img-size-sm: 1.875rem !default;\n$img-size-md: 3.75rem !default;\n$img-size-lg: 6.25rem !default;\n$img-size-push: .625rem !default;\n\n// MAIN HEADER\n// --------------------------------------------------------\n$main-header-bottom-border-width: $border-width !default;\n$main-header-bottom-border-color: $gray-300 !default;\n$main-header-bottom-border: $main-header-bottom-border-width solid $main-header-bottom-border-color !default;\n$main-header-link-padding-y: $navbar-padding-y !default;\n$main-header-link-padding-x: $navbar-padding-x !default;\n$main-header-brand-padding-y: $navbar-brand-padding-y !default;\n$main-header-brand-padding-x: $navbar-padding-x !default;\n$main-header-height-inner: ($nav-link-height + ($main-header-link-padding-y * 2)) !default;\n$main-header-height: calc(#{$main-header-height-inner} + #{$main-header-bottom-border-width}) !default;\n$nav-link-sm-padding-y: .35rem !default;\n$nav-link-sm-height: ($font-size-sm * $line-height-sm + $nav-link-sm-padding-y * 1.785) !default;\n$main-header-height-sm-inner: ($nav-link-sm-height + ($main-header-link-padding-y * 2)) !default;\n$main-header-height-sm: calc(#{$main-header-height-sm-inner} + #{$main-header-bottom-border-width}) !default;\n\n\n// Main header skins\n$main-header-dark-form-control-bg: hsla(100, 100%, 100%, 0.2) !default;\n$main-header-dark-form-control-focused-bg: hsla(100, 100%, 100%, 0.6) !default;\n$main-header-dark-form-control-focused-color: $gray-800 !default;\n$main-header-dark-form-control-border: 0 !default;\n$main-header-dark-form-control-focused-border: 0 !default;\n$main-header-dark-placeholder-color: hsla(100, 100%, 100%, 0.6) !default;\n\n$main-header-light-form-control-bg: darken($gray-100, 2%) !default;\n$main-header-light-form-control-focused-bg: $gray-200 !default;\n$main-header-light-form-control-focused-color: $gray-800 !default;\n$main-header-light-form-control-border: 0 !default;\n$main-header-light-form-control-focused-border: 0 !default;\n$main-header-light-placeholder-color: hsla(0, 0%, 0%, 0.6) !default;\n\n// MAIN FOOTER\n// --------------------------------------------------------\n$main-footer-padding: 1rem !default;\n$main-footer-padding-sm: $main-footer-padding * .812 !default;\n$main-footer-border-top-width: 1px !default;\n$main-footer-border-top-color: $gray-300 !default;\n$main-footer-border-top: $main-footer-border-top-width solid $main-footer-border-top-color !default;\n$main-footer-height-inner: (($font-size-root * $line-height-base) + ($main-footer-padding * 2)) !default;\n$main-footer-height: calc(#{$main-footer-height-inner} + #{$main-footer-border-top-width}) !default;\n$main-footer-height-sm-inner: (($font-size-sm * $line-height-base) + ($main-footer-padding-sm * 2)) !default;\n$main-footer-height-sm: calc(#{$main-footer-hei
5 years ago
"//\n// General: Mixins\n//\n\n@import 'mixins/cards';\n@import 'mixins/sidebar';\n@import 'mixins/navbar';\n@import 'mixins/accent';\n@import 'mixins/custom-forms';\n@import 'mixins/backgrounds';\n@import 'mixins/direct-chat';\n@import 'mixins/toasts';\n@import 'mixins/miscellaneous';\n",
5 years ago
"//\n// Mixins: Cards Variant\n//\n\n@mixin cards-variant($name, $color) {\n .card-#{$name} {\n &:not(.card-outline) {\n > .card-header {\n background-color: $color;\n\n &,\n a {\n color: color-yiq($color);\n }\n\n a.active {\n color: color-yiq($white);\n }\n }\n }\n\n &.card-outline {\n border-top: 3px solid $color;\n }\n\n &.card-outline-tabs {\n > .card-header {\n a {\n &:hover {\n border-top: 3px solid $nav-tabs-border-color;\n }\n\n &.active {\n border-top: 3px solid $color;\n }\n }\n }\n }\n }\n\n .bg-#{$name},\n .bg-gradient-#{$name},\n .card-#{$name}:not(.card-outline) {\n .btn-tool {\n color: rgba(color-yiq($color), 0.8);\n\n &:hover {\n color: color-yiq($color);\n }\n }\n }\n\n .card.bg-#{$name},\n .card.bg-gradient-#{$name} {\n .bootstrap-datetimepicker-widget {\n .table td,\n .table th {\n border: none;\n }\n\n table thead tr:first-child th:hover,\n table td.day:hover,\n table td.hour:hover,\n table td.minute:hover,\n table td.second:hover {\n background: darken($color, 8%);\n color: color-yiq($color);\n }\n\n table td.today::before {\n border-bottom-color: color-yiq($color);\n }\n\n table td.active,\n table td.active:hover {\n background: lighten($color, 10%);\n color: color-yiq($color);\n }\n }\n }\n}\n\n",
5 years ago
"//\r\n// Mixins: Sidebar\r\n//\r\n\r\n// Sidebar Color\r\n@mixin sidebar-color($color) {\r\n .nav-sidebar > .nav-item {\r\n & > .nav-link.active {\r\n background-color: $color;\r\n color: color-yiq($color);\r\n }\r\n }\r\n\r\n .nav-sidebar.nav-legacy > .nav-item {\r\n & > .nav-link.active {\r\n border-color: $color;\r\n }\r\n }\r\n}\r\n\r\n// Sidebar Mini Breakpoints\r\n@mixin sidebar-mini-breakpoint() {\r\n // A fix for text overflow while transitioning from sidebar mini to full sidebar\r\n .nav-sidebar,\r\n .nav-sidebar > .nav-header,\r\n .nav-sidebar .nav-link {\r\n white-space: nowrap;\r\n overflow: hidden;\r\n }\r\n\r\n // When the sidebar is collapsed...\r\n &.sidebar-collapse {\r\n .d-hidden-mini {\r\n display: none;\r\n }\r\n\r\n // Apply the new margins to the main content and footer\r\n .content-wrapper,\r\n .main-footer,\r\n .main-header {\r\n margin-left: $sidebar-mini-width !important;\r\n }\r\n\r\n // Make the sidebar headers\r\n .nav-sidebar .nav-header {\r\n display: none;\r\n }\r\n\r\n .nav-sidebar .nav-link p {\r\n width: 0;\r\n }\r\n\r\n .sidebar .user-panel > .info,\r\n .nav-sidebar .nav-link p,\r\n .brand-text {\r\n margin-left: -10px;\r\n animation-name: fadeOut;\r\n animation-duration: $transition-speed;\r\n animation-fill-mode: both;\r\n visibility: hidden;\r\n }\r\n\r\n .logo-xl {\r\n animation-name: fadeOut;\r\n animation-duration: $transition-speed;\r\n animation-fill-mode: both;\r\n visibility: hidden;\r\n }\r\n\r\n .logo-xs {\r\n display: inline-block;\r\n animation-name: fadeIn;\r\n animation-duration: $transition-speed;\r\n animation-fill-mode: both;\r\n visibility: visible;\r\n }\r\n\r\n // Modify the sidebar to shrink instead of disappearing\r\n .main-sidebar {\r\n overflow-x: hidden;\r\n\r\n &,\r\n &::before {\r\n // Don't go away! Just shrink\r\n margin-left: 0;\r\n width: $sidebar-mini-width;\r\n }\r\n\r\n .user-panel {\r\n .image {\r\n float: none;\r\n }\r\n }\r\n\r\n &:hover,\r\n &.sidebar-focused {\r\n width: $sidebar-width;\r\n\r\n .brand-link {\r\n width: $sidebar-width;\r\n }\r\n\r\n .user-panel {\r\n text-align: left;\r\n\r\n .image {\r\n float: left;\r\n }\r\n }\r\n\r\n .user-panel > .info,\r\n .nav-sidebar .nav-link p,\r\n .brand-text,\r\n .logo-xl {\r\n display: inline-block;\r\n margin-left: 0;\r\n animation-name: fadeIn;\r\n animation-duration: $transition-speed;\r\n animation-fill-mode: both;\r\n visibility: visible;\r\n }\r\n\r\n .logo-xs {\r\n animation-name: fadeOut;\r\n animation-duration: $transition-speed;\r\n animation-fill-mode: both;\r\n visibility: hidden;\r\n }\r\n\r\n .brand-image {\r\n margin-right: .5rem;\r\n }\r\n\r\n // Make the sidebar links, menus, labels, badges\r\n // and angle icons disappear\r\n .sidebar-form,\r\n .user-panel > .info {\r\n display: block !important;\r\n -webkit-transform: translateZ(0);\r\n }\r\n\r\n .nav-sidebar > .nav-item > .nav-link > span {\r\n display: inline-block !important;\r\n }\r\n }\r\n }\r\n\r\n // Make an element visible only when sidebar mini is active\r\n .visible-sidebar-mini {\r\n display: block !important;\r\n }\r\n\r\n &.layout-fixed {\r\n .main-sidebar:hover {\r\n .brand-link {\r\n width: $sidebar-width;\r\n }\r\n }\r\n\r\n .brand-link {\r\n width: $sidebar-mini-width;\r\n }\r\n }\r\n }\r\n}\r\n",
5 years ago
"//\n// Mixins: Navbar\n//\n\n// Navbar Variant\n@mixin navbar-variant($color, $font-color: rgba(255, 255, 255, 0.8), $hover-color: #f6f6f6, $hover-bg: rgba(0, 0, 0, 0.1)) {\n background-color: $color;\n\n .nav > li > a {\n color: $font-color;\n }\n\n .nav > li > a:hover,\n .nav > li > a:active,\n .nav > li > a:focus,\n .nav .open > a,\n .nav .open > a:hover,\n .nav .open > a:focus,\n .nav > .active > a {\n background: $hover-bg;\n color: $hover-color;\n }\n\n // Add color to the sidebar toggle button\n .sidebar-toggle {\n color: $font-color;\n\n &:hover,\n &:focus {\n background: $hover-bg;\n color: $hover-color;\n }\n }\n}\n",
5 years ago
"//\n// Mixins: Accent\n//\n\n// Accent Variant\n@mixin accent-variant($name, $color) {\n .accent-#{$name} {\n $link-color: $color;\n $link-hover-color: darken($color, 15%);\n $pagination-active-bg: $color;\n $pagination-active-border-color: $color;\n\n .btn-link,\n a:not(.dropdown-item):not(.btn-app):not(.nav-link):not(.brand-link):not(.page-link):not(.btn) {\n color: $link-color;\n\n @include hover {\n color: $link-hover-color;\n }\n }\n\n .dropdown-item {\n &:active,\n &.active {\n background: $color;\n color: color-yiq($color);\n }\n }\n\n .custom-control-input:checked ~ .custom-control-label {\n &::before {\n background: $color;\n border-color: darken($color, 20%);\n }\n\n &::after {\n $newColor: color-yiq($color);\n background-image: str-replace($custom-checkbox-indicator-icon-checked, str-replace(#{$custom-control-indicator-checked-color}, '#', '%23'), str-replace(#{$newColor}, '#', '%23'));\n }\n }\n\n .form-control:focus:not(.is-invalid):not(.is-warning):not(.is-valid),\n .custom-select:focus,\n .custom-control-input:focus:not(:checked) ~ .custom-control-label::before,\n .custom-file-input:focus ~ .custom-file-label {\n border-color: lighten($color, 25%);\n }\n \n .page-item {\n .page-link {\n color: $link-color;\n }\n\n &.active a,\n &.active .page-link {\n background-color: $pagination-active-bg;\n border-color: $pagination-active-border-color;\n color: $pagination-active-color;\n }\n\n &.disabled a,\n &.disabled .page-link {\n background-color: $pagination-disabled-bg;\n border-color: $pagination-disabled-border-color;\n color: $pagination-disabled-color;\n }\n }\n\n [class*=\"sidebar-dark-\"] {\n .sidebar {\n a:not(.dropdown-item):not(.btn-app):not(.nav-link):not(.brand-link) {\n color: $sidebar-dark-color;\n \n @include hover {\n color: $sidebar-dark-hover-color;\n }\n }\n }\n }\n\n [class*=\"sidebar-light-\"] {\n .sidebar {\n a:not(.dropdown-item):not(.btn-app):not(.nav-link):not(.brand-link) {\n color: $sidebar-light-color;\n\n @include hover {\n color: $sidebar-light-hover-color;\n }\n }\n }\n }\n }\n}\n\n",
5 years ago
"//\n// Mixins: Custom Forms\n//\n\n// Custom Switch Variant\n@mixin custom-switch-variant($name, $color) {\n &.custom-switch-off-#{$name} {\n & .custom-control-input ~ .custom-control-label::before {\n background: #{$color};\n border-color: darken($color, 20%);\n }\n\n & .custom-control-input:focus ~ .custom-control-label::before {\n box-shadow: 0 0 0 1px $body-bg, 0 0 0 2px rgba($color, .25);\n }\n\n & .custom-control-input ~ .custom-control-label::after {\n background: darken($color, 25%);\n }\n }\n\n &.custom-switch-on-#{$name} {\n & .custom-control-input:checked ~ .custom-control-label::before {\n background: #{$color};\n border-color: darken($color, 20%);\n }\n\n & .custom-control-input:checked:focus ~ .custom-control-label::before {\n box-shadow: 0 0 0 1px $body-bg, 0 0 0 2px rgba($color, .25);\n }\n\n & .custom-control-input:checked ~ .custom-control-label::after {\n background: lighten($color, 30%);\n }\n }\n}\n\n// Custom Range Variant\n@mixin custom-range-variant($name, $color) {\n &.custom-range-#{$name} {\n &:focus {\n outline: none;\n\n &::-webkit-slider-thumb {\n box-shadow: 0 0 0 1px $body-bg, 0 0 0 2px rgba($color, .25);\n }\n\n &::-moz-range-thumb {\n box-shadow: 0 0 0 1px $body-bg, 0 0 0 2px rgba($color, .25);\n }\n\n &::-ms-thumb {\n box-shadow: 0 0 0 1px $body-bg, 0 0 0 2px rgba($color, .25);\n }\n }\n\n &::-webkit-slider-thumb {\n background-color: $color;\n\n &:active {\n background-color: lighten($color, 35%);\n }\n }\n\n &::-moz-range-thumb {\n background-color: $color;\n\n &:active {\n background-color: lighten($color, 35%);\n }\n }\n\n &::-ms-thumb {\n background-color: $color;\n\n &:active {\n background-color: lighten($color, 35%);\n }\n }\n }\n}\n",
"//\n// Mixins: Backgrounds\n//\n\n// Background Variant\n@mixin background-variant($name, $color) {\n .bg-#{$name} {\n background-color: #{$color} !important;\n\n &,\n > a {\n color: color-yiq($color) !important;\n }\n\n &.btn {\n &:hover {\n border-color: darken($color, 10%);\n color: darken(color-yiq($color), 7.5%);\n }\n\n &:not(:disabled):not(.disabled):active,\n &:not(:disabled):not(.disabled).active,\n &:active,\n &.active {\n background-color: darken($color, 10%) !important;\n border-color: darken($color, 12.5%);\n color: color-yiq(darken($color, 10%));\n }\n }\n }\n}\n\n// Background Gradient Variant\n@mixin background-gradient-variant($name, $color) {\n .bg-gradient-#{$name} {\n @include bg-gradient-variant('&', $color);\n color: color-yiq($color);\n\n &.btn {\n &.disabled,\n &:disabled,\n &:not(:disabled):not(.disabled):active,\n &:not(:disabled):not(.disabled).active,\n .show > &.dropdown-toggle {\n background-image: none !important;\n }\n\n &:hover {\n @include bg-gradient-variant('&', darken($color, 7.5%));\n border-color: darken($color, 10%);\n color: darken(color-yiq($color), 7.5%);\n }\n\n &:not(:disabled):not(.disabled):active,\n &:not(:disabled):not(.disabled).active,\n &:active,\n &.active {\n @include bg-gradient-variant('&', darken($color, 10%));\n border-color: darken($color, 12.5%);\n color: color-yiq(darken($color, 10%));\n }\n }\n }\n}\n",
"//\n// Mixins: Direct Chat\n//\n\n// Direct Chat Variant\n@mixin direct-chat-variant($bg-color, $color: #fff) {\n .right > .direct-chat-text {\n background: $bg-color;\n border-color: $bg-color;\n color: color-yiq($bg-color);\n\n &::after,\n &::before {\n border-left-color: $bg-color;\n }\n }\n}\n",
"//\n// Mixins: Toasts\n//\n\n// Toast Variant\n@mixin toast-variant($name, $color) {\n &.bg-#{$name} {\n background: rgba($color, .9) !important;\n @if (color-yiq($color) == $yiq-text-light) {\n\n .close {\n color: color-yiq($color);\n text-shadow: 0 1px 0 #000;\n }\n }\n\n .toast-header {\n background: rgba($color, .85);\n color: color-yiq($color);\n }\n }\n}\n\n",
"//\n// Mixins: Miscellaneous\n//\n\n// ETC\n@mixin translate($x, $y) {\n transform: translate($x, $y);\n}\n\n// Different radius each side\n@mixin border-radius-sides($top-left, $top-right, $bottom-left, $bottom-right) {\n border-radius: $top-left $top-right $bottom-left $bottom-right;\n}\n\n@mixin calc($property, $expression) {\n #{$property}: calc(#{$expression});\n}\n\n@mixin rotate($value) {\n transform: rotate($value);\n}\n\n@mixin animation($animation) {\n animation: $animation;\n}\n\n// Gradient background\n@mixin gradient($color: #F5F5F5, $start: #EEE, $stop: #FFF) {\n background: $color;\n background: -webkit-gradient(linear, left bottom, left top, color-stop(0, $start), color-stop(1, $stop));\n background: -ms-linear-gradient(bottom, $start, $stop);\n background: -moz-linear-gradient(center bottom, $start 0%, $stop 100%);\n background: -o-linear-gradient($stop, $start);\n}\n\n",
"//\n// Part: Components\n//\n\n@import '../forms';\n@import '../progress-bars';\n@import '../cards';\n@import '../modals';\n@import '../toasts';\n@import '../buttons';\n@import '../callout';\n@import '../alerts';\n@import '../table';\n@import '../carousel';\n",
5 years ago
"//\n// Component: Forms\n//\n \n.form-group {\n &.has-icon {\n position: relative;\n\n .form-control {\n padding-right: 35px;\n }\n\n .form-icon {\n background-color: transparent;\n border: 0;\n cursor: pointer;\n font-size: 1rem;\n // margin-top: -3px;\n padding: $input-btn-padding-y $input-btn-padding-x;\n position: absolute;\n right: 3px;\n top: 0;\n }\n }\n}\n\n// Button groups\n.btn-group-vertical {\n .btn {\n &.btn-flat:first-of-type,\n &.btn-flat:last-of-type {\n @include border-radius(0);\n }\n }\n}\n\n// Support icons in form-control\n.form-control-feedback {\n &.fa,\n &.fas,\n &.far,\n &.fab,\n &.glyphicon,\n &.ion {\n line-height: $input-height;\n }\n}\n\n.input-lg + .form-control-feedback,\n.input-group-lg + .form-control-feedback {\n &.fa,\n &.fas,\n &.far,\n &.fab,\n &.glyphicon,\n &.ion {\n line-height: $input-height-lg;\n }\n}\n\n.form-group-lg {\n .form-control + .form-control-feedback {\n &.fa,\n &.fas,\n &.far,\n &.fab,\n &.glyphicon,\n &.ion {\n line-height: $input-height-lg;\n }\n }\n}\n\n.input-sm + .form-control-feedback,\n.input-group-sm + .form-control-feedback {\n &.fa,\n &.fas,\n &.far,\n &.fab,\n &.glyphicon,\n &.ion {\n line-height: $input-height-sm;\n }\n}\n\n.form-group-sm {\n .form-control + .form-control-feedback {\n &.fa,\n &.fas,\n &.far,\n &.fab,\n &.glyphicon,\n &.ion {\n line-height: $input-height-sm;\n }\n }\n}\n\nlabel:not(.form-check-label):not(.custom-file-label) {\n font-weight: $font-weight-bold;\n}\n\n.warning-feedback {\n @include font-size($form-feedback-font-size);\n color: theme-color('warning');\n display: none;\n margin-top: $form-feedback-margin-top;\n width: 100%;\n}\n\n.warning-tooltip {\n @include border-radius($form-feedback-tooltip-border-radius);\n @include font-size($form-feedback-tooltip-font-size);\n background-color: rgba(theme-color('warning'), $form-feedback-tooltip-opacity);\n color: color-yiq(theme-color('warning'));\n display: none;\n line-height: $form-feedback-tooltip-line-height;\n margin-top: .1rem;\n max-width: 100%; // Contain to parent when possible\n padding: $form-feedback-tooltip-padding-y $form-feedback-tooltip-padding-x;\n position: absolute;\n top: 100%;\n z-index: 5;\n}\n\n.form-control {\n &.is-warning {\n border-color: theme-color('warning');\n\n @if $enable-validation-icons {\n // padding-right: $input-height-inner;\n // background-image: none;\n // background-repeat: no-repeat;\n // background-position: center right $input-height-inner-quarter;\n // background-size: $input-height-inner-half $input-height-inner-half;\n }\n\n &:focus {\n border-color: theme-color('warning');\n box-shadow: 0 0 0 $input-focus-width rgba(theme-color('warning'), .25);\n }\n\n ~ .warning-feedback,\n ~ .warning-tooltip {\n display: block;\n }\n }\n}\n\n// stylelint-disable-next-line selector-no-qualifying-type\ntextarea.form-control {\n &.is-warning {\n @if $enable-validation-icons {\n padding-right: $input-height-inner;\n background-position: top $input-height-inner-quarter right $input-height-inner-quarter;\n }\n }\n}\n\n.custom-select {\n &.is-warning {\n border-color: theme-color('warning');\n\n @if $enable-validation-icons {\n // padding-right: $custom-select-feedback-icon-padding-right;\n // background: $custom-select-background, none $custom-select-bg no-repeat $custom-select-feedback-icon-position / $custom-select-feedback-icon-size;\n }\n\n &:focus {\n border-color: theme-color('warning');\n box-shadow: 0 0 0 $input-focus-width rgba(theme-color('warning'), .25);\n }\n\n ~ .warning-feedback,\n ~ .warning-tooltip {\n display: block;\n }\n }\n}\n\n\n.form-control-file {\n &.is-warning {\n ~ .warning-feedback,\n ~ .warning-tooltip {\n display: block;\n }\n }\n}\n\n.form-check-input {\n &.is-warning {\n ~ .form-check
5 years ago
"//\n// Component: Progress Bar\n//\n\n//General CSS\n.progress {\n @include box-shadow(none);\n @include border-radius($progress-bar-border-radius);\n\n // Vertical bars\n &.vertical {\n display: inline-block;\n height: 200px;\n margin-right: 10px;\n position: relative;\n width: 30px;\n\n > .progress-bar {\n bottom: 0;\n position: absolute;\n width: 100%;\n }\n\n //Sizes\n &.sm,\n &.progress-sm {\n width: 20px;\n }\n\n &.xs,\n &.progress-xs {\n width: 10px;\n }\n\n &.xxs,\n &.progress-xxs {\n width: 3px;\n }\n }\n}\n\n.progress-group {\n margin-bottom: map-get($spacers, 2);\n}\n\n// size variation\n.progress-sm {\n height: 10px;\n}\n\n.progress-xs {\n height: 7px;\n}\n\n.progress-xxs {\n height: 3px;\n}\n\n// Remove margins from progress bars when put in a table\n.table {\n tr > td {\n .progress {\n margin: 0;\n }\n }\n}\n",
5 years ago
"//\n// Component: Cards\n//\n\n// Color variants\n@each $name, $color in $theme-colors {\n @include cards-variant($name, $color);\n}\n\n@each $name, $color in $colors {\n @include cards-variant($name, $color);\n}\n\n.card {\n @include box-shadow($card-shadow);\n margin-bottom: map-get($spacers, 3);\n\n &.bg-dark {\n .card-header {\n border-color: $card-dark-border-color;\n }\n\n &,\n .card-body {\n color: $white;\n }\n }\n\n &.maximized-card {\n height: 100% !important;\n left: 0;\n max-height: 100% !important;\n max-width: 100% !important;\n position: fixed;\n top: 0;\n width: 100% !important;\n z-index: 9999;\n\n &.was-collapsed .card-body {\n display: block !important;\n }\n\n [data-widget='collapse'] {\n display: none;\n }\n\n .card-header,\n .card-footer {\n @include border-radius(0 !important);\n }\n }\n\n // collapsed mode\n &.collapsed-card {\n .card-body,\n .card-footer {\n display: none;\n }\n }\n\n .nav.flex-column {\n > li {\n border-bottom: 1px solid $card-border-color;\n margin: 0;\n\n &:last-of-type {\n border-bottom: 0;\n }\n }\n }\n\n // fixed height to 300px\n &.height-control {\n .card-body {\n max-height: 300px;\n overflow: auto;\n }\n }\n\n .border-right {\n border-right: 1px solid $card-border-color;\n }\n\n .border-left {\n border-left: 1px solid $card-border-color;\n }\n\n &.card-tabs {\n &:not(.card-outline) {\n & > .card-header {\n border-bottom: 0;\n\n .nav-item {\n &:first-child .nav-link {\n margin-left: -1px;\n }\n }\n }\n }\n\n &.card-outline {\n .nav-item {\n border-bottom: 0;\n\n &:first-child .nav-link {\n border-left: 0;\n margin-left: 0;\n }\n }\n }\n\n .card-tools {\n margin: .3rem .5rem;\n }\n\n &:not(.expanding-card).collapsed-card {\n .card-header {\n border-bottom: 0;\n\n .nav-tabs {\n border-bottom: 0;\n\n .nav-item {\n margin-bottom: 0;\n }\n }\n }\n }\n\n &.expanding-card {\n .card-header {\n .nav-tabs {\n .nav-item {\n margin-bottom: -1px;\n }\n }\n }\n }\n }\n\n &.card-outline-tabs {\n border-top: 0;\n\n .card-header {\n .nav-item {\n &:first-child .nav-link {\n border-left: 0;\n margin-left: 0;\n }\n }\n\n a {\n border-top: 3px solid transparent;\n\n &:hover {\n border-top: 3px solid $nav-tabs-border-color;\n }\n\n &.active {\n &:hover {\n margin-top: 0;\n }\n }\n }\n }\n\n .card-tools {\n margin: .5rem .5rem .3rem;\n }\n\n &:not(.expanding-card).collapsed-card .card-header {\n border-bottom: 0;\n\n .nav-tabs {\n border-bottom: 0;\n\n .nav-item {\n margin-bottom: 0;\n }\n }\n }\n\n &.expanding-card {\n .card-header {\n .nav-tabs {\n .nav-item {\n margin-bottom: -1px;\n }\n }\n }\n }\n }\n\n}\n\n// Maximized Card Body Scroll fix\nhtml.maximized-card {\n overflow: hidden;\n}\n\n// Add clearfix to header, body and footer\n.card-header,\n.card-body,\n.card-footer {\n @include clearfix;\n}\n\n// Box header\n.card-header {\n background-color: transparent;\n border-bottom: 1px solid $card-border-color;\n padding: (($card-spacer-y / 2) * 2) $card-spacer-x;\n position: relative;\n\n @if $enable-rounded {\n @include border-top-radius($border-radius);\n }\n\n .collapsed-card & {\n border-bottom: 0;\n }\n\n > .card-tools {\n float: right;\n margin-right: -$card-spacer-x / 2;\n\n .input-group,\n .nav,\n .pagination {\n margin-bottom: -$card-spacer-y / 2.5;\n margin-top: -$card-spacer-y / 2.5;\n }\n\n [data-toggle='tooltip'] {\n position: relative
5 years ago
"//\n// Component: Modals\n//\n\n// Overlay\n.modal-dialog {\n .overlay {\n background-color: $black;\n display: block;\n height: 100%;\n left: 0;\n opacity: .7;\n position: absolute;\n top: 0;\n width: 100%;\n z-index: ($zindex-modal + 2);\n }\n}\n\n\n// BG Color Variations Fixes\n.modal-content {\n &.bg-warning {\n .modal-header,\n .modal-footer {\n border-color: $gray-800;\n }\n }\n\n &.bg-primary,\n &.bg-secondary,\n &.bg-info,\n &.bg-danger,\n &.bg-success, {\n .close {\n color: $white;\n text-shadow: 0 1px 0 #000;\n }\n }\n}\n",
"//\n// Component: Toasts\n//\n\n.toasts-top-right {\n position: absolute;\n right: 0;\n top: 0;\n z-index: $zindex-toasts;\n\n &.fixed {\n position: fixed;\n }\n}\n\n.toasts-top-left {\n left: 0;\n position: absolute;\n top: 0;\n z-index: $zindex-toasts;\n\n &.fixed {\n position: fixed;\n }\n}\n\n.toasts-bottom-right {\n bottom: 0;\n position: absolute;\n right: 0;\n z-index: $zindex-toasts;\n\n &.fixed {\n position: fixed;\n }\n}\n\n.toasts-bottom-left {\n bottom: 0;\n left: 0;\n position: absolute;\n z-index: $zindex-toasts;\n\n &.fixed {\n position: fixed;\n }\n}\n\n.toast {\n @each $name, $color in $theme-colors {\n @include toast-variant($name, $color);\n }\n @each $name, $color in $colors {\n @include toast-variant($name, $color);\n }\n}\n",
"//\n// Component: Button\n//\n\n.btn {\n &.disabled,\n &:disabled {\n cursor: not-allowed;\n }\n\n // Flat buttons\n &.btn-flat {\n @include border-radius(0);\n border-width: 1px;\n box-shadow: none;\n }\n\n // input file btn\n &.btn-file {\n overflow: hidden;\n position: relative;\n\n > input[type='file'] {\n background: $white;\n cursor: inherit;\n display: block;\n font-size: 100px;\n min-height: 100%;\n min-width: 100%;\n opacity: 0;\n outline: none;\n position: absolute;\n right: 0;\n text-align: right;\n top: 0;\n }\n }\n\n .text-sm & {\n font-size: $font-size-sm !important;\n }\n}\n\n// Button color variations\n.btn-default {\n background-color: $button-default-background-color;\n border-color: $button-default-border-color;\n color: $button-default-color;\n\n &:hover,\n &:active,\n &.hover {\n background-color: darken($button-default-background-color, 5%);\n color: darken($button-default-color, 10%);\n }\n}\n\n// Application buttons\n.btn-app {\n @include border-radius(3px);\n background-color: $button-default-background-color;\n border: 1px solid $button-default-border-color;\n color: $gray-600;\n font-size: 12px;\n height: 60px;\n margin: 0 0 10px 10px;\n min-width: 80px;\n padding: 15px 5px;\n position: relative;\n text-align: center;\n\n // Icons within the btn\n > .fa,\n > .fas,\n > .far,\n > .fab,\n > .glyphicon,\n > .ion {\n display: block;\n font-size: 20px;\n }\n\n &:hover {\n background: $button-default-background-color;\n border-color: darken($button-default-border-color, 20%);\n color: $button-default-color;\n }\n\n &:active,\n &:focus {\n @include box-shadow(inset 0 3px 5px rgba($black, 0.125));\n }\n\n // The badge\n > .badge {\n font-size: 10px;\n font-weight: 400;\n position: absolute;\n right: -10px;\n top: -3px;\n }\n}\n\n// Extra Button Size\n\n.btn-xs {\n @include button-size($button-padding-y-xs, $button-padding-x-xs, $button-font-size-xs, $button-line-height-xs, $button-border-radius-xs);\n}\n",
"//\n// Component: Callout\n//\n\n// Base styles (regardless of theme)\n.callout {\n @if $enable-rounded {\n @include border-radius($border-radius);\n }\n\n @if $enable-shadows {\n box-shadow: map-get($elevations, 1);\n } @else {\n border: 1px solid $gray-300;\n }\n\n background-color: $white;\n border-left: 5px solid $gray-200;\n margin-bottom: map-get($spacers, 3);\n padding: 1rem;\n\n a {\n color: $gray-700;\n text-decoration: underline;\n\n &:hover {\n color: $gray-200;\n }\n }\n\n p:last-child {\n margin-bottom: 0;\n }\n\n // Themes for different contexts\n &.callout-danger {\n border-left-color: darken(theme-color('danger'), 10%);\n }\n\n &.callout-warning {\n border-left-color: darken(theme-color('warning'), 10%);\n }\n\n &.callout-info {\n border-left-color: darken(theme-color('info'), 10%);\n }\n\n &.callout-success {\n border-left-color: darken(theme-color('success'), 10%);\n }\n}\n",
"//\n// Component: Alert\n//\n\n.alert {\n .icon {\n margin-right: 10px;\n }\n\n .close {\n color: $black;\n opacity: .2;\n\n &:hover {\n opacity: .5;\n }\n }\n\n a {\n color: $white;\n text-decoration: underline;\n }\n}\n\n//Alert Variants\n@each $color, $value in $theme-colors {\n .alert-#{$color} {\n color: color-yiq($value);\n background: $value;\n border-color: darken($value, 5%);\n }\n\n .alert-default-#{$color} {\n @include alert-variant(theme-color-level($color, $alert-bg-level), theme-color-level($color, $alert-border-level), theme-color-level($color, $alert-color-level));\n }\n}\n",
"//\n// Component: Table\n//\n\n.table {\n &:not(.table-dark) {\n color: inherit;\n }\n\n // fixed table head\n &.table-head-fixed {\n thead tr:nth-child(1) th {\n background-color: $white;\n border-bottom: 0;\n box-shadow: inset 0 1px 0 $table-border-color,\n inset 0 -1px 0 $table-border-color;\n position: sticky;\n top: 0;\n z-index: 10;\n }\n\n &.table-dark {\n thead tr {\n &:nth-child(1) th {\n background-color: $table-dark-bg;\n box-shadow: inset 0 1px 0 $table-dark-border-color,\n inset 0 -1px 0 $table-dark-border-color;\n }\n }\n }\n }\n\n // no border\n &.no-border {\n &,\n td,\n th {\n border: 0;\n }\n }\n\n // .text-center in tables\n &.text-center {\n &,\n td,\n th {\n text-align: center;\n }\n }\n\n &.table-valign-middle {\n thead > tr > th,\n thead > tr > td,\n tbody > tr > th,\n tbody > tr > td {\n vertical-align: middle;\n }\n }\n\n .card-body.p-0 & {\n thead > tr > th,\n thead > tr > td,\n tbody > tr > th,\n tbody > tr > td {\n &:first-of-type {\n padding-left: map-get($spacers, 4);\n }\n\n &:last-of-type {\n padding-right: map-get($spacers, 4);\n }\n }\n }\n}\n",
"//\n// Component: Carousel\n//\n\n.carousel-control {\n &.left,\n &.right {\n background-image: none;\n }\n\n > .fa,\n > .fas,\n > .far,\n > .fab,\n > .glyphicon,\n > .ion {\n display: inline-block;\n font-size: 40px;\n margin-top: -20px;\n position: absolute;\n top: 50%;\n z-index: 5;\n }\n}\n"
],
"names": [],
5 years ago
"mappings": "AAAA;;;;;;GAMG;AgDFH,AACE,WADS,AACR,SAAS,CAAC;EACT,QAAQ,EAAE,QAAQ;CAiBnB;;AAnBH,AAII,WAJO,AACR,SAAS,CAGR,aAAa,CAAC;EACZ,aAAa,EAAE,IAAI;CACpB;;AANL,AAQI,WARO,AACR,SAAS,CAOR,UAAU,CAAC;EACT,gBAAgB,EAAE,WAAW;EAC7B,MAAM,EAAE,CAAC;EACT,MAAM,EAAE,OAAO;EACf,SAAS,EAAE,IAAI;EAEf,OAAO,E9CsTiB,QAAO,CACP,OAAM;E8CtT9B,QAAQ,EAAE,QAAQ;EAClB,KAAK,EAAE,GAAG;EACV,GAAG,EAAE,CAAC;CACP;;AAKL,AAEI,mBAFe,CACjB,IAAI,AACD,SAAS,AAAA,cAAc,EAF5B,mBAAmB,CACjB,IAAI,AAED,SAAS,AAAA,aAAa,CAAC;EpBzBxB,aAAa,EoB0BY,CAAC;CACzB;;AAKL,AACE,sBADoB,AACnB,GAAG,EADN,sBAAsB,AAEnB,IAAI,EAFP,sBAAsB,AAGnB,IAAI,EAHP,sBAAsB,AAInB,IAAI,EAJP,sBAAsB,AAKnB,UAAU,EALb,sBAAsB,AAMnB,IAAI,CAAC;EACJ,WAAW,E9C4XyB,mBAAsD;C8C3X3F;;AAGH,AAEE,SAFO,GAAI,sBAAsB,AAEhC,GAAG,EAFN,SAAS,GAAI,sBAAsB,AAGhC,IAAI,EAHP,SAAS,GAAI,sBAAsB,AAIhC,IAAI,EAJP,SAAS,GAAI,sBAAsB,AAKhC,IAAI,EALP,SAAS,GAAI,sBAAsB,AAMhC,UAAU,EANb,SAAS,GAAI,sBAAsB,AAOhC,IAAI;AANP,eAAe,GAAG,sBAAsB,AACrC,GAAG;AADN,eAAe,GAAG,sBAAsB,AAErC,IAAI;AAFP,eAAe,GAAG,sBAAsB,AAGrC,IAAI;AAHP,eAAe,GAAG,sBAAsB,AAIrC,IAAI;AAJP,eAAe,GAAG,sBAAsB,AAKrC,UAAU;AALb,eAAe,GAAG,sBAAsB,AAMrC,IAAI,CAAC;EACJ,WAAW,E9CsXyB,oBAAyD;C8CrX9F;;AAGH,AAEI,cAFU,CACZ,aAAa,GAAG,sBAAsB,AACnC,GAAG,EAFR,cAAc,CACZ,aAAa,GAAG,sBAAsB,AAEnC,IAAI,EAHT,cAAc,CACZ,aAAa,GAAG,sBAAsB,AAGnC,IAAI,EAJT,cAAc,CACZ,aAAa,GAAG,sBAAsB,AAInC,IAAI,EALT,cAAc,CACZ,aAAa,GAAG,sBAAsB,AAKnC,UAAU,EANf,cAAc,CACZ,aAAa,GAAG,sBAAsB,AAMnC,IAAI,CAAC;EACJ,WAAW,E9C0WuB,oBAAyD;C8CzW5F;;AAIL,AAEE,SAFO,GAAI,sBAAsB,AAEhC,GAAG,EAFN,SAAS,GAAI,sBAAsB,AAGhC,IAAI,EAHP,SAAS,GAAI,sBAAsB,AAIhC,IAAI,EAJP,SAAS,GAAI,sBAAsB,AAKhC,IAAI,EALP,SAAS,GAAI,sBAAsB,AAMhC,UAAU,EANb,SAAS,GAAI,sBAAsB,AAOhC,IAAI;AANP,eAAe,GAAG,sBAAsB,AACrC,GAAG;AADN,eAAe,GAAG,sBAAsB,AAErC,IAAI;AAFP,eAAe,GAAG,sBAAsB,AAGrC,IAAI;AAHP,eAAe,GAAG,sBAAsB,AAIrC,IAAI;AAJP,eAAe,GAAG,sBAAsB,AAKrC,UAAU;AALb,eAAe,GAAG,sBAAsB,AAMrC,IAAI,CAAC;EACJ,WAAW,E9C0VyB,qBAAyD;C8CzV9F;;AAGH,AAEI,cAFU,CACZ,aAAa,GAAG,sBAAsB,AACnC,GAAG,EAFR,cAAc,CACZ,aAAa,GAAG,sBAAsB,AAEnC,IAAI,EAHT,cAAc,CACZ,aAAa,GAAG,sBAAsB,AAGnC,IAAI,EAJT,cAAc,CACZ,aAAa,GAAG,sBAAsB,AAInC,IAAI,EALT,cAAc,CACZ,aAAa,GAAG,sBAAsB,AAKnC,UAAU,EANf,cAAc,CACZ,aAAa,GAAG,sBAAsB,AAMnC,IAAI,CAAC;EACJ,WAAW,E9C8UuB,qBAAyD;C8C7U5F;;AAIL,AAAA,KAAK,AAAA,IAAK,CAAA,iBAAiB,CAAC,IAAK,CAAA,kBAAkB,EAAE;EACnD,WAAW,E9CgJiB,GAAG;C8C/IhC;;AAED,AAAA,iBAAiB,CAAC;E5C9Bd,SAAS,EAAC,GAAC;E4CgCb,KAAK,E9C9DG,OAAO;E8C+Df,OAAO,EAAE,IAAI;EACb,UAAU,E9CwU4B,OAAM;E8CvU5C,KAAK,EAAE,IAAI;CACZ;;AAED,AAAA,gBAAgB,CAAC;EpBzGb,aAAa,E1BgNa,OAAM;EEtF9B,SAAS,EAtCE,QAAC;E4CwBhB,gBAAgB,E9CvER,sBAAO;E8CwEf,KAAK,E9CrBS,OAAO;E8CsBrB,OAAO,EAAE,IAAI;EACb,WAAW,E9CkIiB,GAAG;E8CjI/B,UAAU,EAAE,KAAK;EACjB,SAAS,EAAE,IAAI;EACf,OAAO,E9C8jBqB,OAAM,CACN,MAAK;E8C9jBjC,QAAQ,EAAE,QAAQ;EAClB,GAAG,EAAE,IAAI;EACT,OAAO,EAAE,CAAC;CACX;;AAED,AACE,aADW,AACV,WAAW,CAAC;EACX,YAAY,E9CrFN,OAAO;C8CwGd;;AArBH,AAYI,aAZS,AACV,WAAW,AAWT,MAAM,CAAC;EACN,YAAY,E9ChGR,OAAO;E8CiGX,UAAU,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC,C9CkRiB,CAAC,CAnX/B,uBAAO;C8CkGZ;;AAfL,AAiBI,aAjBS,AACV,WAAW,GAgBR,iBAAiB;AAjBvB,aAAa,AACV,WAAW,GAiBR,gBAAgB,CAAC;EACjB,OAAO,EAAE,KAAK;CACf;;AAKL,AACE,QADM,AAAA,aAAa,AAClB,WAAW,CAAC;EAET,aAAa,E9C2QqB,OAAuE;E8C1QzG,mBAAmB,EAAE,GAAG,C9C4QU,yBAA6D,C8C5Q1C,KAAK,C9C4QxB,yBAA6D;C8C1QlG;;AAGH,AACE,cADY,AACX,WAAW,CAAC;EACX,YAAY,E9CvHN,OAAO;C8CuId;;AAlBH,AASI,cATU,AACX,WAAW,AAQT,MAAM,CAAC;EACN,YAAY,E9C/HR,OAAO;E8CgIX,UAAU,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC,C9CmPiB,CAAC,CAnX/B,uBAAO;C8CiIZ;;AAZL,AAcI,cAdU,AACX,WAAW,GAaR,iBAAiB;AAdvB,cAAc,AACX,WAAW,GAcR,gBAAgB,CAAC;EACjB,OAAO,EAAE,KAAK;CACf;;AAKL,AAEI,kBAFc,AACf,WAAW,GACR,iBAAiB;AAFvB,kBAAkB,AACf,WAAW,GAER,gBAAgB,CAAC;EACjB,OAAO,EAAE,KAAK;CACf;;AAIL,AAEI,iBAFa,AACd,WAAW,GACR,iBAAiB,CAAC;EAClB,KAAK,E9CvJD,OAAO;C8CwJZ;;AAJL,AAMI,iBANa,AACd,WAAW,GAKR,iBAAiB;AANvB,iBAAiB,AACd,WAAW,GAMR,gBAAgB,CAAC;EACjB,OAAO,EAAE,KAAK;CACf;;AAIL,AACE,qBADmB,AAAA,WAAW,GAC5B,qBAAqB,CAAC;EACtB,KAAK,E9CnKC,OAAO;C8CwKd;;AAPH,AAII,qBAJiB,AAAA,WAAW,GAC5B,qBAAqB,AAGpB,QAAQ,CAAC;EACR,YAAY,E9CtKR,OAAO;C8CuKZ;;AANL,AASE,qBATmB,AAAA,WAAW,GAS5B,iBAAiB;AATrB,qBAAqB,AAAA,WAAW,GAU5B,gBAAgB,CAAC;EACjB,OAAO,EAAE,KAAK;CACf;;AAZH,AAeI,qBAfiB,AAAA,WAAW,AAc7B,QAAQ,GACL,qBAAqB,AAAA,QAAQ,CA
5 years ago
}