Skip to content

Commit b1c6906

Browse files
committed
nice! we just made iframes transparent :)
1 parent 78e1bea commit b1c6906

File tree

1 file changed

+17
-20
lines changed

1 file changed

+17
-20
lines changed

src/css/app.sass

Lines changed: 17 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -197,15 +197,14 @@ $app-bg-dark: radial-gradient(ellipse at bottom right, rgba($secondary, 0.3) 0%,
197197
opacity: 0.5
198198
199199
// common settings for both: dark & light
200-
.body--light
201-
#q-app
202-
//background-color: white
203-
background: $app-bg-light
204-
// TODO: the following is duplicated in .body--dark:
205-
background-repeat: no-repeat // prevent background from repeating if content is larger than viewport
206-
background-size: cover // make sure we always cover entire viewport even if content is smaller
207-
background-attachment: fixed // fix background to viewport
208-
text-color: black
200+
body.body--light
201+
//background-color: white
202+
background: $app-bg-light
203+
// TODO: the following is duplicated in .body--dark:
204+
background-repeat: no-repeat // prevent background from repeating if content is larger than viewport
205+
background-size: cover // make sure we always cover entire viewport even if content is smaller
206+
background-attachment: fixed // fix background to viewport
207+
text-color: black
209208
210209
.fade-top-overlay
211210
// **exact same** gradient
@@ -249,13 +248,12 @@ $app-bg-dark: radial-gradient(ellipse at bottom right, rgba($secondary, 0.3) 0%,
249248
&.user
250249
border: 1px solid rgba($primary,0.8)
251250
252-
.body--dark
253-
#q-app
254-
background-color: black
255-
background: $app-bg-dark
256-
background-repeat: no-repeat // prevent background from repeating if content is larger than viewport
257-
background-size: cover // make sure we always cover entire viewport even if content is smaller
258-
background-attachment: fixed // fix background to viewport
251+
body.body--dark
252+
background-color: black
253+
background: $app-bg-dark
254+
background-repeat: no-repeat // prevent background from repeating if content is larger than viewport
255+
background-size: cover // make sure we always cover entire viewport even if content is smaller
256+
background-attachment: fixed // fix background to viewport
259257
260258
.fade-top-overlay
261259
// **exact same** gradient
@@ -306,10 +304,9 @@ $app-bg-dark: radial-gradient(ellipse at bottom right, rgba($secondary, 0.3) 0%,
306304
border-radius: 5px
307305
border: 1px solid rgb($secondary)
308306
309-
.within-iframe
310-
#q-app
311-
background-color: white
312-
background: transparent
307+
body.within-iframe
308+
background-color: white !important
309+
background: transparent !important
313310
314311
@media print
315312
/* Hide everything initially */

0 commit comments

Comments
 (0)