aboutsummaryrefslogtreecommitdiff
path: root/semantic/src/themes/default/modules/dimmer.variables
blob: 602f0e13cece59fe45e4a0dfd742bc25eb8015ce (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
58
59
60
61
62
63
64
65
66
/*******************************
            Dimmer
*******************************/

@dimmablePosition: relative;
@dimmerPosition: absolute;

@backgroundColor: rgba(0, 0, 0 , 0.85);
@lineHeight: 1;
@perspective: 2000px;
@padding: 1em;

@duration: 0.5s;
@transition:
  background-color @duration linear
;
@zIndex: 1000;
@textAlign: center;
@verticalAlign: middle;
@textColor: @white;
@overflow: hidden;

@blurredStartFilter: initial;
@blurredEndFilter: e("blur(5px) grayscale(0.7)");
@blurredTransition: 800ms filter @defaultEasing;

@blurredBackgroundColor: rgba(0, 0, 0, 0.6);
@blurredInvertedBackgroundColor: rgba(255, 255, 255, 0.6);

/* Hidden (Default) */
@hiddenOpacity: 0;

/* Visible */
@visibleOpacity: 1;

/*-------------------
        Types
--------------------*/

/* Page Dimmer*/
@transformStyle: '';
@pageDimmerPosition: fixed;


/*-------------------
      Variations
--------------------*/

/* Inverted */
@invertedBackgroundColor: rgba(255, 255, 255, 0.85);
@invertedTextColor: @fullBlack;

/* Simple */
@simpleZIndex: 1;
@simpleStartBackgroundColor: rgba(0, 0, 0, 0);
@simpleEndBackgroundColor: @backgroundColor;
@simpleInvertedStartBackgroundColor: rgba(255, 255, 255, 0);
@simpleInvertedEndBackgroundColor: @invertedBackgroundColor;

/* Intensity */
@veryLightBackgroundColor: rgba(0,0,0,.25);
@lightBackgroundColor: rgba(0,0,0,.45);
@mediumBackgroundColor: rgba(0,0,0,.65);
@veryLightInvertedBackgroundColor: rgba(255,255,255,.25);
@lightInvertedBackgroundColor: rgba(255,255,255,.45);
@mediumInvertedBackgroundColor: rgba(255,255,255,.65);