Move all other css to scss
This commit is contained in:
11 files changed
+95
-85
No files matched your search
File renamed without changes.
+1
-1
@@ -4,7 +4,7 @@ import HomepageFeatures from '@site/src/components/HomepageFeatures';
|
||||
import Heading from '@theme/Heading';
|
||||
import HeroImage from '@site/static/img/site/geyser.png';
|
||||
|
||||
import styles from './index.module.css';
|
||||
import styles from './index.module.scss';
|
||||
import Translate from '@docusaurus/Translate';
|
||||
|
||||
function HomepageHeader() {
|
||||
|
||||
@@ -2,7 +2,7 @@ import Translate from '@docusaurus/Translate';
|
||||
import HeroBanner from '@site/src/components/HeroBanner';
|
||||
import HeroBackground from '@site/static/img/site/split-background.webp';
|
||||
import Layout from '@theme/Layout';
|
||||
import styles from './utilities.module.css';
|
||||
import styles from './utilities.module.scss';
|
||||
import { useRef, useState } from 'react';
|
||||
|
||||
const ConfigEditorPage: React.FC = () => {
|
||||
|
||||
@@ -3,7 +3,7 @@ import HeroBanner from '@site/src/components/HeroBanner';
|
||||
import HeroBackground from '@site/static/img/site/split-background.webp';
|
||||
import Layout from '@theme/Layout';
|
||||
import { useEffect, useRef, useState } from 'react';
|
||||
import styles from './utilities.module.css';
|
||||
import styles from './utilities.module.scss';
|
||||
import { Grid } from '@site/src/components/Grid';
|
||||
import CodeBlock from '@theme/CodeBlock';
|
||||
import clsx from 'clsx';
|
||||
|
||||
+29
-30
@@ -32,10 +32,10 @@
|
||||
padding-bottom: 20px;
|
||||
padding-top: 20px;
|
||||
border-bottom: 1px solid gray;
|
||||
}
|
||||
|
||||
.configOption:last-child {
|
||||
border-bottom: none;
|
||||
&:last-child {
|
||||
border-bottom: none;
|
||||
}
|
||||
}
|
||||
|
||||
.loadButton {
|
||||
@@ -53,11 +53,11 @@
|
||||
padding-bottom: 10px;
|
||||
color: var(--ifm-tabs-color-active);
|
||||
margin-left: 5px;
|
||||
}
|
||||
|
||||
.loadButton:hover {
|
||||
background-color: var(--ifm-color-primary);
|
||||
color: #fff;
|
||||
&:hover {
|
||||
background-color: var(--ifm-color-primary);
|
||||
color: #fff;
|
||||
}
|
||||
}
|
||||
|
||||
.statusMessage {
|
||||
@@ -76,10 +76,10 @@
|
||||
z-index: 1000;
|
||||
min-width: 300px;
|
||||
box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
|
||||
}
|
||||
|
||||
.pluginInfoPopover p {
|
||||
margin: 0;
|
||||
p {
|
||||
margin: 0;
|
||||
}
|
||||
}
|
||||
|
||||
.pluginNamePopover {
|
||||
@@ -118,18 +118,18 @@
|
||||
background-color: var(--switch-background-color);
|
||||
border-radius: 20px;
|
||||
transition: all 0.3s;
|
||||
}
|
||||
|
||||
.switch::after {
|
||||
content: '';
|
||||
position: absolute;
|
||||
width: 18px;
|
||||
height: 18px;
|
||||
border-radius: 50%;
|
||||
background-color: white;
|
||||
top: 1px;
|
||||
left: 1px;
|
||||
transition: all 0.3s;
|
||||
&::after {
|
||||
content: '';
|
||||
position: absolute;
|
||||
width: 18px;
|
||||
height: 18px;
|
||||
border-radius: 50%;
|
||||
background-color: white;
|
||||
top: 1px;
|
||||
left: 1px;
|
||||
transition: all 0.3s;
|
||||
}
|
||||
}
|
||||
|
||||
.checkbox:checked+.switch::after {
|
||||
@@ -144,7 +144,6 @@
|
||||
display: none;
|
||||
}
|
||||
|
||||
|
||||
.hidden {
|
||||
display: none;
|
||||
}
|
||||
@@ -167,19 +166,19 @@
|
||||
padding-top: 10px;
|
||||
padding-bottom: 10px;
|
||||
color: var(--ifm-tabs-color-active);
|
||||
}
|
||||
|
||||
.button:hover {
|
||||
background-color: var(--ifm-color-primary);
|
||||
color: #fff;
|
||||
&:hover {
|
||||
background-color: var(--ifm-color-primary);
|
||||
color: #fff;
|
||||
}
|
||||
}
|
||||
|
||||
.buttonSecondary {
|
||||
outline: 3px solid var(--ifm-color-secondary);
|
||||
}
|
||||
|
||||
.buttonSecondary:hover {
|
||||
background-color: var(--ifm-color-secondary);
|
||||
|
||||
&:hover {
|
||||
background-color: var(--ifm-color-secondary);
|
||||
}
|
||||
}
|
||||
|
||||
.formInput {
|
||||
Reference in new issue
Block a user