diff --git a/src/components/BottomLabel.css b/src/components/BottomLabel.css index c68a113..f2cb1ae 100644 --- a/src/components/BottomLabel.css +++ b/src/components/BottomLabel.css @@ -1,6 +1,6 @@ .bottom-label { position: absolute; - bottom: .5rem; + bottom: .25rem; display: flex; align-items: center; gap: .5rem; @@ -12,4 +12,5 @@ width: 2px; height: 2px; background: currentColor; + border-radius: 100px; } \ No newline at end of file diff --git a/src/components/DisabledScreen.css b/src/components/DisabledScreen.css new file mode 100644 index 0000000..15648a7 --- /dev/null +++ b/src/components/DisabledScreen.css @@ -0,0 +1,22 @@ +.disabled { + color: white; + text-align: center; + max-width: 230px; + font-size: 16px; +} + +.disabled svg { + display: block; + width: 1.5rem; + height: 1.5rem; + margin: 0 auto; + color: #B44868; +} + +.disabled p { + color: #4A4864; +} + +.disabled strong { + color: white; +} \ No newline at end of file diff --git a/src/components/DisabledScreen.tsx b/src/components/DisabledScreen.tsx new file mode 100644 index 0000000..426e113 --- /dev/null +++ b/src/components/DisabledScreen.tsx @@ -0,0 +1,13 @@ +import './DisabledScreen.css'; +import { Icon } from './Icon'; + +export function DisabledScreen() { + return ( +
+ +

+ The movie-web extension can not be used on this page +

+
+ ); +} diff --git a/src/components/Frame.css b/src/components/Frame.css index 2b02f34..100be9b 100644 --- a/src/components/Frame.css +++ b/src/components/Frame.css @@ -1,4 +1,4 @@ .frame { - background-color: #171720; - background-image: radial-gradient(271.48% 132.05% at 136.13% 65.62%, rgba(37, 26, 60, 0.50) 0%, rgba(28, 28, 44, 0.00) 100%), radial-gradient(671.15% 123.02% at 76.68% -34.38%, #2E2E5B 0%, rgba(23, 23, 32, 0.00) 100%); + background-color: #0a080e; + background-image: radial-gradient(271.48% 132.05% at 136.13% 65.62%, #271945b3 0%, #1c1c2c00 100%), radial-gradient(671.15% 123.02% at 76.68% -34.38%, #272753 0%, #17172000 100%); } \ No newline at end of file diff --git a/src/components/Icon.tsx b/src/components/Icon.tsx index a7011fe..c3fa918 100644 --- a/src/components/Icon.tsx +++ b/src/components/Icon.tsx @@ -1,5 +1,6 @@ const icons = { power: ``, + warningCircle: ``, }; export type Icons = keyof typeof icons; diff --git a/src/components/ToggleButton.css b/src/components/ToggleButton.css index 41656ae..eba4415 100644 --- a/src/components/ToggleButton.css +++ b/src/components/ToggleButton.css @@ -54,18 +54,17 @@ border-radius: 1000px; box-sizing: border-box; border-color: rgba(96, 66, 166, 0.50); - background-image: linear-gradient(180deg, #463177 0%, #2D1C54 100%); - border: 1px solid #322E48; transition: opacity 300ms ease; -} - -.actual-button-style.active { - z-index: 1; - border-color: #322E48; + border: 1px solid #322E48; background-image: linear-gradient(180deg, #232236 0%, #0E0D15 100%); } -.toggle-button .glow-thingie, .toggle-button svg { +.actual-button-style.active { + border-color: #48307F; + background-image: linear-gradient(180deg, #463177 0%, #2D1C54 100%); +} + +.toggle-button .inside-glow, .toggle-button svg { position: absolute; left: 50%; top: 50%; @@ -73,7 +72,7 @@ transition: color 300ms; } -.toggle-button .glow-thingie { +.toggle-button .inside-glow { position: absolute; width: 90%; height: 90%; diff --git a/src/components/ToggleButton.tsx b/src/components/ToggleButton.tsx index 0c64599..5135a8f 100644 --- a/src/components/ToggleButton.tsx +++ b/src/components/ToggleButton.tsx @@ -8,7 +8,7 @@ export interface ToggleButtonProps { export function ToggleButton(props: ToggleButtonProps) { const opacityStyle = { - opacity: props.active ? 0 : 1, + opacity: props.active ? 1 : 0, }; return ( @@ -27,7 +27,7 @@ export function ToggleButton(props: ToggleButtonProps) {
- - {!domain ?

The movie-web extension can not be used on this page

: null} + {!domain ? : }