doorlock/public/styles.css

109 lines
2.3 KiB
CSS
Raw Permalink Normal View History

2018-07-10 21:47:07 +00:00
/*------------------------------------------------------
- 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);
2018-07-10 23:25:05 +00:00
color: white;
2018-07-10 21:47:07 +00:00
}
.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 {
2018-07-10 23:31:03 +00:00
color: var(--color-primary);
2018-07-10 21:47:07 +00:00
margin-bottom: var(--spacing-lg);
font-size: var(--font-size-xl);
font-weight: 100;
}