-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
9 changed files
with
2,908 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,156 @@ | ||
body { | ||
font-family: Arial, sans-serif; | ||
margin: 0; | ||
padding: 0; | ||
--un-bg-opacity: 1; | ||
background-color: rgb(28 28 30 / var(--un-bg-opacity)); | ||
background-image: radial-gradient(ellipse 80% 80% at 50% -30%, #f871714d, #fff0); | ||
background-size: cover; | ||
background-repeat: no-repeat; | ||
} | ||
|
||
#controls { | ||
display: flex; | ||
justify-content: center; | ||
gap: 10px; | ||
padding: 10px; | ||
} | ||
|
||
#controls button { | ||
font-size: 2em; | ||
} | ||
|
||
button { | ||
border: none; | ||
background-color: transparent; | ||
color: #cecece; | ||
} | ||
|
||
button:hover { | ||
color: #D7716E; | ||
} | ||
|
||
#iframeContainer { | ||
display: flex; | ||
justify-content: space-around; | ||
flex-wrap: wrap; | ||
gap: 20px; | ||
padding: 20px; | ||
} | ||
|
||
.iframe-wrapper { | ||
display: flex; | ||
flex-direction: column; | ||
align-items: center; | ||
border-radius: 4px; | ||
overflow: hidden; | ||
background-color: #fff; | ||
min-width: 200px; | ||
} | ||
|
||
.iframe-title-bar { | ||
display: flex; | ||
justify-content: flex-end; | ||
align-items: center; | ||
width: 100%; | ||
padding: 5px 10px; | ||
font-size: 14px; | ||
--un-bg-opacity: 1; | ||
background-color: rgb(28 28 30 / var(--un-bg-opacity)); | ||
background-image: radial-gradient(ellipse 80% 80% at 50% -30%, #f871714d, #fff0); | ||
--un-text-opacity: 1; | ||
color: rgb(212 212 212 / var(--un-text-opacity)); | ||
} | ||
|
||
.iframe-title-bar>*:first-child { | ||
margin-right: auto; | ||
/* Align the first item (title) to the start */ | ||
} | ||
|
||
.iframe-title-bar button { | ||
margin-left: 5px; | ||
background-color: transparent; | ||
color: #cecece; | ||
border: none; | ||
padding: 3px 8px; | ||
border-radius: 4px; | ||
cursor: pointer; | ||
font-size: 1.4em; | ||
} | ||
|
||
.iframe-title-bar button:hover { | ||
color: #D7716E; | ||
} | ||
|
||
.iframe-title-bar span:hover { | ||
color: #D7716E; | ||
cursor: pointer; | ||
} | ||
|
||
iframe { | ||
border: none; | ||
} | ||
|
||
#settingsContainer, | ||
#editContainer { | ||
padding: 10px; | ||
background-color: transparent; | ||
color: #cecece; | ||
border-radius: 4px; | ||
margin: 10px; | ||
text-align: center; | ||
margin-left: 3.5em; | ||
} | ||
|
||
#settingsContainer button { | ||
border: 1px solid #D7716E; | ||
border-radius: 0.5em; | ||
text-align: center; | ||
margin-right: 2em; | ||
} | ||
|
||
input[type="number"] { | ||
background-color: transparent; | ||
color: #cecece; | ||
border: none; | ||
width: 50px; | ||
} | ||
|
||
|
||
#settingsContainer label { | ||
display: block; | ||
margin-bottom: 8px; | ||
} | ||
|
||
/* Default color for the g element */ | ||
#Dribbble-Light-Preview { | ||
fill: #cecece; | ||
} | ||
|
||
/* Change the fill color of the g element when hovering over the svg */ | ||
svg:hover #Dribbble-Light-Preview { | ||
fill: #D7716E; | ||
/* Change to the color you want on hover */ | ||
} | ||
|
||
#Layer_1 { | ||
stroke: #cecece; | ||
} | ||
|
||
#Layer_1:hover { | ||
stroke: #D7716E; | ||
} | ||
|
||
|
||
body.light-mode .iframe-title-bar { | ||
background-color: white; /* Simple white background for light mode */ | ||
color: black; /* Black text for better contrast in light mode */ | ||
background-image: none; | ||
} | ||
|
||
body.dark-mode .iframe-title-bar { | ||
background-color: rgb(28 28 30 / var(--un-bg-opacity)); | ||
background-image: radial-gradient(ellipse 80% 80% at 50% -30%, #f871714d, #fff0); | ||
color: rgb(212 212 212 / var(--un-text-opacity)); | ||
} | ||
|
Large diffs are not rendered by default.
Oops, something went wrong.
Oops, something went wrong.