PageRenderTime 47ms CodeModel.GetById 34ms app.highlight 8ms RepoModel.GetById 2ms app.codeStats 0ms

/scss/partials/_danger.scss

https://github.com/ajanthanm/Buttons
Sass | 42 lines | 34 code | 1 blank | 7 comment | 15 complexity | f91ac6834b2295f733e65465983cda52 MD5 | raw file
 1//////////////////////////////////////////////////////////
 2// BUILD TYPES (don't edit this!)  ///////////////////////
 3//////////////////////////////////////////////////////////
 4// Purpose of this file is to set global flags for which
 5// types we'll include in our final css build or not.
 6$unicorn-btn-build-glow: false;
 7$unicorn-btn-build-dropdown: false;
 8$unicorn-btn-build-rounded: false;
 9$unicorn-btn-build-pill: false;
10$unicorn-btn-build-circle: false;
11$unicorn-btn-build-flat: false;
12$unicorn-btn-build-3d: false;
13$unicorn-btn-build-border: false;
14
15// For all types provided by user we mark true
16@each $unicorn-btn-type in $unicorn-btn-types {
17    @if $unicorn-btn-type == 'glow' {
18        $unicorn-btn-build-glow: true;
19    }
20    @else if $unicorn-btn-type == 'dropdown' {
21        $unicorn-btn-build-dropdown: true;
22    }
23    @else if $unicorn-btn-type == 'rounded' {
24        $unicorn-btn-build-rounded: true;
25    }
26    @else if $unicorn-btn-type == 'pill' {
27        $unicorn-btn-build-pill: true;
28    }
29    @else if $unicorn-btn-type == 'circle' {
30        $unicorn-btn-build-circle: true;
31    }
32    @else if $unicorn-btn-type == 'flat' {
33        $unicorn-btn-build-flat: true;
34    }
35    @else if $unicorn-btn-type == 'border' {
36        $unicorn-btn-build-border: true;
37    }
38    @else if $unicorn-btn-type == '3d' {
39        $unicorn-btn-build-3d: true;
40    }
41}
42//@debug "$unicorn-btn-build-glow is #{$unicorn-btn-build-glow}";