Skip to content

Commit 2976a54

Browse files
committed
Fix linting
1 parent afea590 commit 2976a54

File tree

2 files changed

+13
-13
lines changed

2 files changed

+13
-13
lines changed

src/js/__tests__/components/__snapshots__/login.js.snap

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ exports[`components/login.js should render itself & its children 1`] = `
66
>
77
<img
88
className="img-responsive logo"
9-
src="images/gitify-logo-outline-dark.png"
9+
src="images/logo-dark.png"
1010
/>
1111
<div
1212
className="desc"

src/scss/app.scss

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ $gray-dark: #373A3C;
1414
$light-gray: darken($white, 10%);
1515
$gray-darker: darken($gray, 5%);
1616

17+
$modal-overlay-bg: rgba(0, 0, 0, .5);
18+
1719
/* @end Colors */
1820

1921

@@ -140,46 +142,44 @@ $modal-scale-min: .35;
140142
// sass-lint:disable class-name-format force-element-nesting
141143

142144
.ReactModal__Overlay {
145+
opacity: 0;
143146
z-index: 9999;
144-
147+
background-color: $modal-overlay-bg;
145148
-webkit-perspective: 150;
146149
perspective: 150;
147-
opacity: 0;
148150
overflow-x: hidden;
149151
overflow-y: auto;
150-
background-color: rgba(0, 0, 0, 0.5);
151152
}
152153

153154
.ReactModal__Overlay--after-open {
154-
opacity: 1;
155155
transition: opacity $modal-animation-duration ease-out;
156+
opacity: 1;
156157
}
157158

158159
.ReactModal__Content {
160+
transform: scale($modal-scale-min) rotateX(-30deg);
159161
background-color: $brand-primary;
160-
161162
-webkit-transform: scale($modal-scale-min) rotateX(-30deg);
162-
transform: scale($modal-scale-min) rotateX(-30deg);
163163
}
164164

165165
.ReactModal__Content--after-open {
166-
-webkit-transform: scale(1) rotateX(0deg);
167166
transform: scale(1) rotateX(0deg);
168167
transition: all $modal-animation-duration ease-in;
168+
-webkit-transform: scale(1) rotateX(0deg);
169169
}
170170

171171
.ReactModal__Overlay--before-close {
172172
opacity: 0;
173173
}
174174

175175
.ReactModal__Content--before-close {
176-
-webkit-transform: scale($modal-scale-min) rotateX(30deg);
177176
transform: scale($modal-scale-min) rotateX(30deg);
178177
transition: all $modal-animation-duration ease-in;
178+
-webkit-transform: scale($modal-scale-min) rotateX(30deg);
179179
}
180180

181181
.ReactModal__Content.modal-dialog {
182-
border: none;
182+
border: 0;
183183
background-color: transparent;
184184
}
185185
// sass-lint:enable class-name-format force-element-nesting
@@ -260,12 +260,12 @@ $modal-scale-min: .35;
260260
}
261261

262262
.sidebar-wrapper {
263-
background-color: $brand-primary;
264263
position: fixed;
265264
left: $sidebar-width;
266265
transition: all .5s ease;
267266
z-index: 1000;
268267
margin-left: -$sidebar-width;
268+
background-color: $brand-primary;
269269
padding: 2rem .75rem;
270270
width: $sidebar-width;
271271
height: 100%;
@@ -354,11 +354,11 @@ $modal-scale-min: .35;
354354
right: 0;
355355
bottom: 0;
356356
left: 0;
357+
margin: 0;
357358
outline: none;
358359
padding: 2.25rem 1.5rem;
359360
overflow: auto;
360361
color: $white;
361-
margin: 0;
362362

363363
.modal-title {
364364
margin-bottom: 1.35rem;
@@ -423,7 +423,7 @@ $modal-scale-min: .35;
423423
padding: .55rem 1.25rem;
424424

425425
.fa {
426-
margin-right: 0.5rem;
426+
margin-right: .5rem;
427427
}
428428
}
429429
}

0 commit comments

Comments
 (0)