239 lines
3.1 KiB
SCSS
239 lines
3.1 KiB
SCSS
//@import "bootstrap";
|
|
@import "client/common";
|
|
|
|
/* mixins, variables, etc. */
|
|
|
|
$grayLight: #aaaaaa;
|
|
$grayLighter: #aaaaaa;
|
|
$grayMediumLight: #eaeaea;
|
|
$gray: #cccccc;
|
|
$grayDarker: #cfcfcf;
|
|
$blue: blue;
|
|
|
|
/* universal */
|
|
|
|
html {
|
|
overflow-y: scroll;
|
|
}
|
|
|
|
body {
|
|
padding-top: 60px;
|
|
}
|
|
|
|
section {
|
|
overflow: auto;
|
|
}
|
|
|
|
textarea {
|
|
resize: vertical;
|
|
}
|
|
|
|
.center {
|
|
text-align: center;
|
|
h1 {
|
|
margin-bottom: 10px;
|
|
}
|
|
}
|
|
|
|
/* typography */
|
|
|
|
h1, h2, h3, h4, h5, h6 {
|
|
line-height: 1;
|
|
}
|
|
|
|
h1 {
|
|
font-size: 3em;
|
|
letter-spacing: -2px;
|
|
margin-bottom: 30px;
|
|
text-align: center;
|
|
}
|
|
|
|
h2 {
|
|
font-size: 1.7em;
|
|
letter-spacing: -1px;
|
|
margin-bottom: 30px;
|
|
text-align: center;
|
|
font-weight: normal;
|
|
color: $grayLight;
|
|
}
|
|
|
|
p {
|
|
font-size: 1.1em;
|
|
line-height: 1.7em;
|
|
}
|
|
|
|
|
|
/* header */
|
|
|
|
#logo {
|
|
float: left;
|
|
margin-right: 10px;
|
|
font-size: 1.7em;
|
|
color: white;
|
|
text-transform: uppercase;
|
|
letter-spacing: -1px;
|
|
padding-top: 9px;
|
|
font-weight: bold;
|
|
line-height: 1;
|
|
&:hover {
|
|
color: white;
|
|
text-decoration: none;
|
|
}
|
|
}
|
|
|
|
/* footer */
|
|
|
|
footer {
|
|
margin-top: 45px;
|
|
padding-top: 5px;
|
|
border-top: 1px solid $grayMediumLight;
|
|
color: $grayLight;
|
|
a {
|
|
color: $gray;
|
|
&:hover {
|
|
color: $grayDarker;
|
|
}
|
|
}
|
|
small {
|
|
float: left;
|
|
}
|
|
ul {
|
|
float: right;
|
|
list-style: none;
|
|
li {
|
|
float: left;
|
|
margin-left: 10px;
|
|
}
|
|
}
|
|
}
|
|
|
|
/* miscellaneous */
|
|
|
|
.debug_dump {
|
|
clear: both;
|
|
float: left;
|
|
width: 100%;
|
|
margin-top: 45px;
|
|
@include border_box_sizing;
|
|
}
|
|
|
|
/* sidebar */
|
|
|
|
aside {
|
|
section {
|
|
padding: 10px 0;
|
|
border-top: 1px solid $grayLighter;
|
|
&:first-child {
|
|
border: 0;
|
|
padding-top: 0;
|
|
}
|
|
span {
|
|
display: block;
|
|
margin-bottom: 3px;
|
|
line-height: 1;
|
|
}
|
|
h1 {
|
|
font-size: 1.6em;
|
|
text-align: left;
|
|
letter-spacing: -1px;
|
|
margin-bottom: 3px;
|
|
}
|
|
}
|
|
}
|
|
|
|
.gravatar {
|
|
float: left;
|
|
margin-right: 10px;
|
|
}
|
|
|
|
.stats {
|
|
overflow: auto;
|
|
a {
|
|
float: left;
|
|
padding: 0 10px;
|
|
border-left: 1px solid $grayLighter;
|
|
color: gray;
|
|
&:first-child {
|
|
padding-left: 0;
|
|
border: 0;
|
|
}
|
|
&:hover {
|
|
text-decoration: none;
|
|
color: $blue;
|
|
}
|
|
}
|
|
strong {
|
|
display: block;
|
|
}
|
|
}
|
|
|
|
.user_avatars {
|
|
overflow: auto;
|
|
margin-top: 10px;
|
|
.gravatar {
|
|
margin: 1px 1px;
|
|
}
|
|
}
|
|
|
|
/* forms */
|
|
|
|
input, textarea, select, .uneditable-input {
|
|
border: 1px solid #bbb;
|
|
width: 100%;
|
|
padding: 10px;
|
|
height: auto;
|
|
margin-bottom: 15px;
|
|
@include border_box_sizing;
|
|
}
|
|
|
|
/** MSC: did this because firefox clips text if it's padding:4px on text input fields */
|
|
input[type=text] {
|
|
padding: 2px !important;
|
|
}
|
|
|
|
#error_explanation {
|
|
color:#f00;
|
|
ul {
|
|
list-style: none;
|
|
margin: 0 0 18px 0;
|
|
}
|
|
}
|
|
|
|
/**
|
|
.field_with_errors {
|
|
@extend .control-group;
|
|
@extend .error;
|
|
}
|
|
*/
|
|
|
|
/* users index */
|
|
|
|
.users {
|
|
list-style: none;
|
|
margin: 0;
|
|
li {
|
|
overflow: auto;
|
|
padding: 10px 0;
|
|
border-top: 1px solid $grayLighter;
|
|
&:last-child {
|
|
border-bottom: 1px solid $grayLighter;
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
.content {
|
|
display: block;
|
|
}
|
|
|
|
.timestamp {
|
|
color: $grayLight;
|
|
}
|
|
|
|
aside {
|
|
textarea {
|
|
height: 100px;
|
|
margin-bottom: 5px;
|
|
}
|
|
}
|