sms-pager/app/assets/stylesheets/main.scss

156 lines
2.1 KiB
SCSS
Raw Normal View History

2015-09-20 13:26:45 -05:00
// maybe this? => https://color.adobe.com/Theme-1-color-theme-6893131/edit/?copy=true
$black: #000;
$white: #fff;
$light: #c7c9cd;
$grey: #8e969d;
2015-09-20 13:26:45 -05:00
$dark: #646267;
$taupe: #f2e8df;
$blue: #211caf;
$red: #b10001;
2015-09-20 13:26:45 -05:00
@mixin inline-ul {
display: inline-block;
list-style: none;
margin: 0;
padding: 0;
li {
display: inline-block;
float: left;
margin: 0;
padding: 0;
a {
display: inline-block;
padding: 15px;
text-decoration: none;
}
}
}
html {
background-color: $taupe;
2015-09-20 13:26:45 -05:00
color: $dark;
margin: 0;
padding: 0;
}
body {
margin: 15px;
padding: 0;
}
.nav {
@include inline-ul;
background-color: $dark;
color: $light;
margin: -15px -15px 15px;
width: calc(100% + 30px);
li {
&:hover {
background-color: $grey;
}
a {
color: $light;
}
}
}
.sub-nav {
@include inline-ul;
margin: -19px -15px 0;
2015-09-20 13:26:45 -05:00
a {
color: $dark;
2015-09-20 13:26:45 -05:00
&:hover {
background-color: $light;
}
}
}
2015-09-20 22:30:44 -05:00
form {
width: 100%;
2015-09-20 22:30:44 -05:00
* {
font-size: 14px;
line-height: 1.6em;
}
label {
display: inline-block;
margin: 0.6em 0 0;
width: 100%;
&:after {
content: ": ";
}
}
input {
display: block;
margin: 0 0 0.6em;
padding: 5px;
}
[type=submit] {
2015-09-20 22:30:44 -05:00
margin: 0.6em 0;
}
textarea {
2015-09-20 22:30:44 -05:00
height: 5em;
max-width: 300px;
2015-09-21 20:40:07 -05:00
padding: 5px;
2015-09-20 22:30:44 -05:00
width: calc(100% - 30px);
}
}
.alertbox {
background-color: $white;
border: 2px solid $white;
color: $dark;
left: calc(50% - 125px);
margin-bottom: 15px;
padding: 10px 35px 10px 20px;
position: absolute;
top: 20px;
width: 250px;
z-index: 50;
& + & { position: relative; }
&.box-blue {
background-color: $blue;
border-color: $light;
color: $white;
}
&.box-red {
background-color: $red;
color: $white;
}
.box-close {
cursor: pointer;
display: inline-block;
float: right;
height: 15px;
margin-top: 1px;
position: relative;
right: -25px;
width: 15px;
&:before {
color: $white;
content: "\00d7";
left: 3px;
position: relative;
top: -2px;
}
}
}