4 * Copyright 2016 RIFT.IO Inc
6 * Licensed under the Apache License, Version 2.0 (the "License");
7 * you may not use this file except in compliance with the License.
8 * You may obtain a copy of the License at
10 * http://www.apache.org/licenses/LICENSE-2.0
12 * Unless required by applicable law or agreed to in writing, software
13 * distributed under the License is distributed on an "AS IS" BASIS,
14 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 * See the License for the specific language governing permissions and
16 * limitations under the License.
19 @import '../../style/_colors.scss';
20 @import '../../style/variables.scss';
24 display: inline-block;
26 padding: 0.75rem 3rem;
27 text-decoration: none;
28 text-transform: uppercase;
29 box-shadow: 2px 2px rgba(0, 0, 0, 0.15);
33 background-color: #ffffff;
34 border: 1px solid #cccccc;
42 background-color: #333333;
43 border: 1px solid #000000;
56 ############################################################################ */
62 ############################################################################ */
65 -ms-flex-align: center;
71 display: -ms-inline-flexbox;
75 -ms-flex-pack: center;
76 justify-content: center;
80 text-transform: uppercase;
81 transition: $transition;
82 -moz-user-select: none;
83 -ms-user-select: none;
84 -webkit-touch-callout: none;
85 -webkit-user-select: none;
91 text-overflow: ellipsis;
92 transition: $transition;
98 transition: $transition;
101 /* Spacing between content and icon when icon is on the right */
106 /* Spacing between content and icon when icon is on the left */
113 /* box-shadow: $focus-shadow;*/
114 border: 1px solid red;
118 ############################################################################ */
133 ############################################################################ */
137 background: $normalBackground;
138 border-color: darken($normalBackground, 10%);
141 color: $normalForeground;
145 fill: $normalForeground;
151 background: $normalHoverBackground;
152 border-color: darken($normalHoverBackground, 10%);
155 color: $normalHoverForeground;
159 fill: $normalHoverForeground;
165 background: $normalActiveBackground;
166 border-color: darken($normalActiveBackground, 10%);
169 color: $normalActiveForeground;
173 fill: $normalActiveForeground;
178 &--normal.is-disabled {
183 &--normal:hover.is-disabled,
184 &--normal:active.is-disabled {
185 background: $normalBackground;
186 border-color: darken($normalBackground, 10%);
189 color: $normalForeground;
193 fill: $normalForeground;
199 ############################################################################ */
203 background: $primaryBackground;
204 border-color: darken($primaryBackground, 10%);
207 color: $primaryForeground;
211 fill: $primaryForeground;
217 background: $primaryHoverBackground;
218 border-color: darken($primaryHoverBackground, 10%);
221 color: $primaryHoverForeground;
225 fill: $primaryHoverForeground;
231 background: $primaryActiveBackground;
232 border-color: darken($primaryActiveBackground, 10%);
235 color: $primaryActiveForeground;
239 fill: $primaryActiveForeground;
244 &--primary.is-disabled {
249 &--primary:hover.is-disabled,
250 &--primary:active.is-disabled {
251 background: $primaryBackground;
252 border-color: darken($primaryBackground, 10%);
255 color: $primaryForeground;
259 fill: $primaryForeground;
265 display: -ms-flexbox;
267 -ms-flex-pack: center;
268 justify-content: center;