Repository navigation
Expand file tree
/
Copy path_variables.scss
More file actions
130 lines (100 loc) · 3.06 KB
/
Copy path_variables.scss
File metadata and controls
130 lines (100 loc) · 3.06 KB
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
123
124
125
126
127
128
129
130
$gfs-field-height: 34px !default; // This requires a numeric value for calculations.
$gfs-icon-size: 24px !default; // This is determined by the height of our icon sprite.
$gfs-padding-small: 5px !default;
$gfs-padding-medium: 10px !default;
$gfs-padding-large: 20px !default;
$gfs-field-font-size: inherit !default;
$gfs-field-font-family: inherit !default;
$gfs-field-line-height: 18px !default; // This requires a numeric value for calculations.
$gfs-field-background-color: #fff !default;
$gfs-field-padding-y: ($gfs-field-height - $gfs-field-line-height) / 2 !default;
$gfs-field-padding-x: $gfs-padding-small !default;
$gfs-label-font-family: inherit !default;
$gfs-label-font-size: inherit !default;
$gfs-label-line-height: 18px !default; // This requires a numeric value for calculations.
$gfs-label-padding: 0 0 $gfs-padding-small;
$gfs-field-description-padding: 0 0 $gfs-padding-small;
$gfs-button-font-family: inherit !default;
$gfs-button-font-size: inherit !default;
$gfs-button-padding-x: $gfs-padding-medium;
$gfs-button-padding-y: $gfs-field-padding-y;
$gfs-container-background-color: #efefef !default;
$gfs-border-radius: 3px !default;
$gfs-box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.03) !default;
$gfs-border-color: #cdcdcd !default;
$gfs-border-style: solid !default;
$gfs-border-width: 1px !default;
$gfs-field-description-font-size: 14px !default;
$gfs-label-font-size: inherit !default;
$gfs-sub-label-font-size: 12px !default;
$gfs-error-color: #d63d59 !default;
$gfs-error-background: #fff1f1 !default;
// This value works best if it is a number divisble by 2, 3, and 4.
// For example, 12, 24, etc are good numbers.
$gfs-form-spacing-x: 12px !default;
$gfs-form-spacing-y: 12px !default;
$gfs-breakpoint-small: 768px !default;
%error-message {
background: $gfs-error-color;
color: #fff;
}
/* Basic Icons */
%gf-basic-icon {
@extend %icons-basic;
display: inline-block;
height: $gfs-icon-size;
text-indent: -9999px;
width: $gfs-icon-size;
}
%gf-icon-search {
background-position-x: 0 * $gfs-icon-size;
}
%gf-icon-pin {
background-position-x: -1 * $gfs-icon-size;
}
%gf-icon-new-window {
background-position-x: -2 * $gfs-icon-size;
}
%gf-icon-calendar {
background-position-x: -3 * $gfs-icon-size;
}
%gf-icon-chevron-right {
background-position-x: -4 * $gfs-icon-size;
}
%gf-icon-chevron-left {
background-position-x: -5 * $gfs-icon-size;
}
%gf-icon-chevron-down {
background-position-x: -6 * $gfs-icon-size;
}
%gf-icon-chevron-up {
background-position-x: -7 * $gfs-icon-size;
}
/* CC Icons */
@if $gfs-use-credit-card-styles {
%gf-cc-icon {
@extend %icons-cc;
display: inline-block;
height: 32px;
text-indent: -9999px;
width: 41px;
}
%gf-icon-cc-plain {
background-position-x: 0 * 41px;
}
%gf-icon-cc-amex {
background-position-x: -1 * 41px;
}
%gf-icon-cc-discover {
background-position-x: -2 * 41px;
}
%gf-icon-cc-master {
background-position-x: -3 * 41px;
}
%gf-icon-cc-paypal {
background-position-x: -4 * 41px;
}
%gf-icon-cc-visa {
background-position-x: -5 * 41px;
}
}