mirror of
https://git.rdcenter.ru/RDCenter/skb-kit.git
synced 2026-12-05 05:19:45 +00:00
Выделение глобальных стилей
This commit is contained in:
1 parent
d3ab3ce6ef
commit
4e3c7b9bce
3 files changed
+22
-21
No files matched your search
Executable → Regular
+21
@@ -1,3 +1,4 @@
|
|||||||
|
@import "../../assets/styles/theme.scss";
|
||||||
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');
|
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');
|
||||||
|
|
||||||
input {
|
input {
|
||||||
@@ -26,3 +27,23 @@ code {
|
|||||||
a {
|
a {
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.btn {
|
||||||
|
display: block;
|
||||||
|
width: fit-content;
|
||||||
|
padding: 16px 24px;
|
||||||
|
border-radius: 8px;
|
||||||
|
|
||||||
|
font-size: 20px;
|
||||||
|
font-weight: 600;
|
||||||
|
line-height: 24px;
|
||||||
|
|
||||||
|
color: $btn-primary-text;
|
||||||
|
background: $btn-primary-bg;
|
||||||
|
background-size: 200%;
|
||||||
|
transition: .5s;
|
||||||
|
}
|
||||||
|
|
||||||
|
.btn:hover {
|
||||||
|
background-position: 100%;
|
||||||
|
}
|
||||||
+1
-1
@@ -4,7 +4,7 @@ import { createHashRouter, RouterProvider } from 'react-router-dom';
|
|||||||
|
|
||||||
import routes from './routes';
|
import routes from './routes';
|
||||||
import reportWebVitals from './reportWebVitals';
|
import reportWebVitals from './reportWebVitals';
|
||||||
import './index.styles.scss';
|
import './assets/styles/global.scss';
|
||||||
|
|
||||||
const router = createHashRouter(routes);
|
const router = createHashRouter(routes);
|
||||||
|
|
||||||
|
|||||||
@@ -65,26 +65,6 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.btn {
|
|
||||||
display: block;
|
|
||||||
width: fit-content;
|
|
||||||
padding: 16px 24px;
|
|
||||||
border-radius: 8px;
|
|
||||||
|
|
||||||
font-size: 20px;
|
|
||||||
font-weight: 600;
|
|
||||||
line-height: 24px;
|
|
||||||
|
|
||||||
color: $btn-primary-text;
|
|
||||||
background: $btn-primary-bg;
|
|
||||||
background-size: 200%;
|
|
||||||
transition: .5s;
|
|
||||||
}
|
|
||||||
|
|
||||||
.btn:hover {
|
|
||||||
background-position: 100%;
|
|
||||||
}
|
|
||||||
|
|
||||||
.block .heading a,
|
.block .heading a,
|
||||||
.navbar .nav-link {
|
.navbar .nav-link {
|
||||||
position: relative;
|
position: relative;
|
||||||
|
|||||||
Reference in new issue
Block a user