hw12 styles

This commit is contained in:
2022-07-15 11:17:45 +02:00
parent cddd6d9672
commit 418b6ce1d8
3 changed files with 24 additions and 68 deletions

View File

@@ -10,7 +10,7 @@
background-repeat: no-repeat;
border-radius: 2px;
border: 1px solid #C2C2C2;
color: #000000;
color: inherit;
font-family: 'Montserrat', sans-serif;
font-weight: 400;
font-size: 14px;
@@ -20,16 +20,6 @@
outline: none;
}
.option {
/*padding: 30px;*/
color: var(--primary-content);
background: var(--primary);
}
.option:checked {
color: var(--secondary-content);
background: var(--primary);
}
.option:hover {
box-shadow: 0 0 10px 100px #fed20f inset;

View File

@@ -7,8 +7,8 @@ import { changeThemeId } from './bll/themeReducer'
const themes = [
{ id: 1, value: 'light' },
{ id: 2, value: 'dark' },
{ id: 3, value: 'retro' },
{ id: 2, value: 'blue' },
{ id: 3, value: 'dark' },
]
const HW12 = () => {
@@ -21,19 +21,18 @@ const HW12 = () => {
}
return (
<div id={'hw12'} className={s2.hw + ' ' + s[theme]}>
<div
id={'hw12-text'}
className={s2.hwTitle + ' ' + s[theme + '-text']}
>
homeworks 12
<div id={'hw12'}>
<div id={'hw12-text'} className={s2.hwTitle}>
Homework #12
</div>
<div className={s2.hw}>
<SuperSelect
id={'hw12-select-theme'}
value={themeId}
options={themes}
onChangeOption={change}
/>
</div>
<SuperSelect
id={'hw12-select-theme'}
value={themeId}
options={themes}
onChangeOption={change}
/>
</div>
)
}