aboutsummaryrefslogtreecommitdiffstats
path: root/scss/uikit/components/close.scss
blob: 32e277564207b7a6059eb5110388aab0a64bef32 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
// Name:            Close
// Description:     Component to create a close button
//
// Component:       `uk-close`
//
// ========================================================================


// Variables
// ========================================================================

$close-color:                                    $global-muted-color !default;
$close-hover-color:                              $global-color !default;


/* ========================================================================
   Component: Close
 ========================================================================== */

/*
 * Adopts `uk-icon`
 */

.uk-close {
    color: $close-color;
    @if(mixin-exists(hook-close)) {@include hook-close();}
}

/* Hover + Focus */
.uk-close:hover,
.uk-close:focus {
    color: $close-hover-color;
    outline: none;
    @if(mixin-exists(hook-close-hover)) {@include hook-close-hover();}
}


// Hooks
// ========================================================================

@if(mixin-exists(hook-close-misc)) {@include hook-close-misc();}

// @mixin hook-close(){}
// @mixin hook-close-hover(){}
// @mixin hook-close-misc(){}


// Inverse
// ========================================================================

$inverse-close-color:                            $inverse-global-muted-color !default;
$inverse-close-hover-color:                      $inverse-global-color !default;



// @mixin hook-inverse-close(){}
// @mixin hook-inverse-close-hover(){}