Skip to content

Commit

Permalink
1.8
Browse files Browse the repository at this point in the history
  • Loading branch information
u-Sir authored Dec 30, 2024
1 parent 51b68cd commit 79aa22e
Show file tree
Hide file tree
Showing 9 changed files with 2,908 additions and 8 deletions.
156 changes: 156 additions & 0 deletions chromium/custom_page/custom_page.css
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));
}

392 changes: 392 additions & 0 deletions chromium/custom_page/custom_page.html

Large diffs are not rendered by default.

Loading

0 comments on commit 79aa22e

Please sign in to comment.