Commit 43b91ea0 by Torkel Ödegaard

ux(saas): renamed scss partial files to have underscore before

parent 83bf6364
// MIXINS
@import "./mixins/_mixins.scss";
@import "./mixins/_buttons.scss";
// BASE
@import "./base/_normalize.scss";
@import "./base/_base.scss";
@import "./base/_type.scss";
@import "./base/_forms.scss";
@import "./base/_fonts.scss";
@import "./base/_code.scss";
// UTILS
@import "./utils/_utils.scss";
@import "./utils/_validation.scss";
@import "./utils/_angular.scss";
// LAYOUTS
// @import "./bootstrap/grid.scss";
@import "./layout/_page.scss";
// COMPONENTS
@import "./components/_panel_graph.scss";
@import "./components/_submenu.scss";
@import "./components/_panel_dashlist.scss";
@import "./components/_panel_singlestat.scss";
@import "./components/_panel_table.scss";
@import "./components/_tagsinput.scss";
@import "./components/_tables_lists.scss";
@import "./components/_search.scss";
@import "./components/_dashboard.scss";
@import "./components/_tightform.scss";
@import "./components/_gf-form.scss";
@import "./components/_sidemenu.scss";
@import "./components/_navbar.scss";
@import "./components/_gfbox.scss";
@import "./components/_pagination.scss";
@import "./components/_tabs.scss";
@import "./components/_timepicker.scss";
@import "./components/_filter-controls.scss";
@import "./components/_filter-list.scss";
@import "./components/_filter-table.scss";
@import "./components/_scrollbar.scss";
@import "./components/_old_stuff.scss";
@import "./components/_navbar.scss";
@import "./components/_popovers.scss";
@import "./components/_alerts.scss";
@import "./components/_typeahead.scss";
@import "./components/_tags.scss";
@import "./components/_modals.scss";
@import "./components/_dropdown.scss";
@import "./components/_color_picker.scss";
@import "./components/_tooltip.scss";
@import "./components/_buttons.scss";
@import "./components/_footer.scss";
@import "./components/_infobox.scss";
@import "./components/_shortcuts.scss";
@import "./components/_query_editor.scss";
@import "./components/_navs.scss";
// PAGES
@import "./pages/_login.scss";
@import "./pages/_playlist.scss";
@import "./pages/_admin.scss";
@import "./pages/_alerting.scss";
@import "./pages/_apps.scss";
@import "./pages/_signup.scss";
@import "variables.dark.scss"; @import "_variables.dark.scss";
@import "grafana.scss"; @import "_grafana.scss";
@import "variables.light.scss"; @import "_variables.light.scss";
@import "grafana.scss"; @import "_grafana.scss";
// MIXINS
@import "./mixins/mixins.scss";
@import "./mixins/buttons.scss";
// BASE
@import "./base/normalize.scss";
@import "./base/base.scss";
@import "./base/type.scss";
@import "./base/forms.scss";
@import "./base/fonts.scss";
@import "./base/code.scss";
// UTILS
@import "./utils/utils.scss";
@import "./utils/validation.scss";
@import "./utils/angular.scss";
// LAYOUTS
// @import "./bootstrap/grid.scss";
@import "./layout/page.scss";
// COMPONENTS
@import "./components/panel_graph.scss";
@import "./components/submenu.scss";
@import "./components/panel_dashlist.scss";
@import "./components/panel_singlestat.scss";
@import "./components/panel_table.scss";
@import "./components/tagsinput.scss";
@import "./components/tables_lists.scss";
@import "./components/search.scss";
@import "./components/dashboard.scss";
@import "./components/tightform.scss";
@import "./components/gf-form.scss";
@import "./components/sidemenu.scss";
@import "./components/navbar.scss";
@import "./components/gfbox.scss";
@import "./components/pagination.scss";
@import "./components/tabs.scss";
@import "./components/timepicker.scss";
@import "./components/filter-controls.scss";
@import "./components/filter-list.scss";
@import "./components/filter-table.scss";
@import "./components/scrollbar.scss";
@import "./components/old_stuff.scss";
@import "./components/navbar.scss";
@import "./components/popovers.scss";
@import "./components/alerts.scss";
@import "./components/typeahead.scss";
@import "./components/tags.scss";
@import "./components/modals.scss";
@import "./components/dropdown.scss";
@import "./components/color_picker.scss";
@import "./components/tooltip.scss";
@import "./components/buttons.scss";
@import "./components/footer.scss";
@import "./components/infobox.scss";
@import "./components/shortcuts.scss";
@import "./components/query_editor.scss";
@import "./components/navs.scss";
// PAGES
@import "./pages/login.scss";
@import "./pages/playlist.scss";
@import "./pages/admin.scss";
@import "./pages/alerting.scss";
@import "./pages/apps.scss";
@import "./pages/signup.scss";
// Breakpoint viewport sizes and media queries.
//
// Breakpoints are defined as a map of (name: minimum width), order from small to large:
//
// (xs: 0, sm: 544px, md: 768px)
//
// The map defined in the `$grid-breakpoints` global variable is used as the `$breakpoints` argument by default.
// Name of the next breakpoint, or null for the last breakpoint.
//
// >> breakpoint-next(sm)
// md
// >> breakpoint-next(sm, (xs: 0, sm: 544px, md: 768px))
// md
// >> breakpoint-next(sm, $breakpoint-names: (xs sm md))
// md
@function breakpoint-next($name, $breakpoints: $grid-breakpoints, $breakpoint-names: map-keys($breakpoints)) {
$n: index($breakpoint-names, $name);
@return if($n < length($breakpoint-names), nth($breakpoint-names, $n + 1), null);
}
// Minimum breakpoint width. Null for the smallest (first) breakpoint.
//
// >> breakpoint-min(sm, (xs: 0, sm: 544px, md: 768px))
// 544px
@function breakpoint-min($name, $breakpoints: $grid-breakpoints) {
$min: map-get($breakpoints, $name);
@return if($min != 0, $min, null);
}
// Maximum breakpoint width. Null for the largest (last) breakpoint.
// The maximum value is calculated as the minimum of the next one less 0.1.
//
// >> breakpoint-max(sm, (xs: 0, sm: 544px, md: 768px))
// 767px
@function breakpoint-max($name, $breakpoints: $grid-breakpoints) {
$next: breakpoint-next($name, $breakpoints);
@return if($next, breakpoint-min($next, $breakpoints) - 1px, null);
}
// Media of at least the minimum breakpoint width. No query for the smallest breakpoint.
// Makes the @content apply to the given breakpoint and wider.
@mixin media-breakpoint-up($name, $breakpoints: $grid-breakpoints) {
$min: breakpoint-min($name, $breakpoints);
@if $min {
@media (min-width: $min) {
@content;
}
} @else {
@content;
}
}
// Media of at most the maximum breakpoint width. No query for the largest breakpoint.
// Makes the @content apply to the given breakpoint and narrower.
@mixin media-breakpoint-down($name, $breakpoints: $grid-breakpoints) {
$max: breakpoint-max($name, $breakpoints);
@if $max {
@media (max-width: $max) {
@content;
}
} @else {
@content;
}
}
// Media between the breakpoint's minimum and maximum widths.
// No minimum for the smallest breakpoint, and no maximum for the largest one.
// Makes the @content apply only to the given breakpoint, not viewports any wider or narrower.
@mixin media-breakpoint-only($name, $breakpoints: $grid-breakpoints) {
@include media-breakpoint-up($name, $breakpoints) {
@include media-breakpoint-down($name, $breakpoints) {
@content;
}
}
}
// Media that spans multiple breakpoint widths.
// Makes the @content apply between the min and max breakpoints
@mixin media-breakpoint-between($lower, $upper, $breakpoints: $grid-breakpoints) {
@include media-breakpoint-up($lower, $breakpoints) {
@include media-breakpoint-down($upper, $breakpoints) {
@content;
}
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment