mirror of
https://github.com/zyphlar/doorlock.git
synced 2024-04-03 21:36:03 +00:00
109 lines
2.3 KiB
CSS
109 lines
2.3 KiB
CSS
/*------------------------------------------------------
|
|
- Variables
|
|
------------------------------------------------------*/
|
|
|
|
:root {
|
|
--font-family-sans-serif: Roboto, sans-serif;
|
|
|
|
--color-primary: #2aa5c1;
|
|
--color-primary-dark: #1e8096;
|
|
--color-secondary: #2ac17a;
|
|
--color-secondary-dark: #1d915a;
|
|
}
|
|
|
|
/*------------------------------------------------------
|
|
- Base styles
|
|
------------------------------------------------------*/
|
|
|
|
* {
|
|
box-sizing: border-box;
|
|
}
|
|
body {
|
|
font-size: 16px;
|
|
}
|
|
a {
|
|
color: var(--color-primary);
|
|
text-decoration: none;
|
|
}
|
|
a:hover {
|
|
color: var(--color-primary-darker);
|
|
}
|
|
p {
|
|
line-height: var(--line-height-md);
|
|
margin: var(--spacing-md) 0;
|
|
}
|
|
|
|
/*------------------------------------------------------
|
|
- Buttons
|
|
------------------------------------------------------*/
|
|
|
|
.button {
|
|
background: var(--color-primary);
|
|
border: 1px solid var(--color-primary);
|
|
color: white;
|
|
display: inline-block;
|
|
padding: var(--spacing-sm) var(--spacing-md);
|
|
}
|
|
.button:hover {
|
|
background: var(--color-primary-dark);
|
|
border-color: var(--color-primary-dark);
|
|
color: white;
|
|
}
|
|
.button-danger {
|
|
background: var(--color-danger);
|
|
border-color: var(--color-danger);
|
|
}
|
|
.button-danger:hover {
|
|
background: var(--color-danger-dark);
|
|
border-color: var(--color-danger-dark);
|
|
}
|
|
.button-info {
|
|
background: var(--color-info);
|
|
border-color: var(--color-info);
|
|
}
|
|
.button-info:hover {
|
|
background: var(--color-info-dark);
|
|
border-color: var(--color-info-dark);
|
|
}
|
|
.button-outline {
|
|
color: var(--color-primary);
|
|
background: transparent;
|
|
}
|
|
.button-outline:hover {
|
|
color: white;
|
|
}
|
|
.button-sm {
|
|
font-size: var(--font-size-sm);
|
|
padding: var(--spacing-xs) var(--spacing-sm);
|
|
}
|
|
|
|
/*------------------------------------------------------
|
|
- Forms
|
|
------------------------------------------------------*/
|
|
|
|
.label {
|
|
display: block;
|
|
font-weight: bold;
|
|
padding: var(--spacing-md) 0 var(--spacing-sm) 0;
|
|
}
|
|
.input {
|
|
background: white;
|
|
border: 1px solid var(--color-gray-light);
|
|
padding: var(--spacing-sm);
|
|
}
|
|
.input-block {
|
|
display: block;
|
|
width: 100%;
|
|
}
|
|
|
|
/*------------------------------------------------------
|
|
- Page heading
|
|
------------------------------------------------------*/
|
|
|
|
.page-heading {
|
|
color: var(--color-primary);
|
|
margin-bottom: var(--spacing-lg);
|
|
font-size: var(--font-size-xl);
|
|
font-weight: 100;
|
|
}
|