1
0
Fork 0
mirror of https://github.com/codex-team/codex.docs.git synced 2025-07-21 14:19:42 +02:00
codex.docs/src/frontend/styles/vars.pcss

54 lines
1.1 KiB
Text
Raw Normal View History

2018-09-18 13:10:44 +03:00
:root {
--color-text-main: #1D202B;
--color-text-second: #7B7E89;
--color-line-gray: #E8E8EB;
--color-link-active: #388AE5;
--color-button-danger: #ff1629;
--color-gray-border: rgba(var(--color-line-gray), 0.48);
2018-09-18 13:10:44 +03:00
/**
* Site layout sizes
*/
--layout-padding-horisontal: 40px;
--layout-padding-vertical: 40px;
--layout-width-aside: 200px;
2018-09-18 13:10:44 +03:00
--layout-width-main-col: 650px;
--button {
display: inline-block;
padding: 9px 15px;
border-radius: 3px;
color: #6c6375;
background: #fcfcff;
box-shadow: inset 0 0 0 1px rgba(184, 189, 206, 0.2);
font-size: 14px;
line-height: 1em;
text-decoration: none;
cursor: pointer;
svg {
margin: 0 0.3em 0 -0.05em;
}
}
--button-danger {
background: var(--color-button-danger);
color: #fff;
box-shadow: none;
&:hover {
background: color-mod(var(--color-button-danger) blackness(+10%));
}
}
--button-primary {
background: var(--color-link-active);
color: #fff;
box-shadow: none;
&:hover {
background: color-mod(var(--color-link-active) blackness(+10%));
}
}
2018-09-18 13:10:44 +03:00
}