aboutsummaryrefslogtreecommitdiffstats
path: root/workflow-designer-ui/src/main/frontend/resources/scss/common/_customVariables.scss
blob: 9472fe68ac8b4f7de9edc52cc469ddff2e08988a (plain)
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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
$cursor-disabled: not-allowed !default;
$cursor-pointer: pointer;

$heading-font-1: 28px;
$heading-font-2: 24px;
$heading-font-3: 20px;
$heading-font-4: 16px;
$heading-font-5: 14px;

$body-font-1: 14px;
$body-font-2: 13px;
$body-font-3: 12px;
$body-font-4: 10px;

@mixin regular-font() {
    font-family: OpenSans-Regular, Arial, sans-serif;
    font-style: normal;
    font-weight: 400;
}

@mixin italic-font() {
    font-family: OpenSans-Italic, OpenSans-Regular, Arial, sans-serif;
    font-style: italic;
    font-weight: 400;
}

@mixin semibold-font() {
    font-family: OpenSans-Semibold, Arial, sans-serif;
    font-style: normal;
    font-weight: 600;
}

@mixin body-1() {
    @include regular-font;
    font-size: $body-font-1;
}

@mixin body-1-semibold() {
    @include semibold-font;
    font-size: $body-font-1;
}

@mixin body-2() {
    @include regular-font;
    font-size: $body-font-2;
}

@mixin body-2-semibold() {
    @include semibold-font;
    font-size: $body-font-2;
}

@mixin body-3() {
    @include regular-font;
    font-size: $body-font-3;
}

@mixin body-4() {
    @include regular-font;
    font-size: $body-font-4;
}

@mixin heading-1() {
    @include regular-font;
    font-size: $heading-font-1;
}

@mixin heading-1-semibold() {
    @include semibold-font;
    font-size: $heading-font-1;
}

@mixin heading-4() {
    @include regular-font;
    font-size: $heading-font-4;
}

@mixin heading-4-semibold() {
    @include semibold-font;
    font-size: $heading-font-4;
}

@mixin heading-5() {
    @include regular-font;
    font-size: $heading-font-5;
}

.flex {
    display: flex;
    flex: 1;
}

.flex-column {
    @extend .flex;
    flex-direction: column;
}

.text-uppercase {
    text-transform: uppercase;
}

.content-area {
    padding: 30px 60px 70px 60px;
    overflow-y: auto;
    overflow-x: hidden;
    height: 100%;
    &.no-padding-content-area {
        padding: 0;
    }
}

.page-title {
    @include heading-1;
    @extend .text-uppercase !optional;
    margin-bottom: 20px;
    color: $blue;
}

.disabled {
    opacity: 0.7 !important;
    cursor: $cursor-disabled;
}