engine/app/assets/stylesheets/locomotive/box.scss

169 lines
3.1 KiB
SCSS
Raw Normal View History

@import "compass/css3";
@import "compass/css3/border-radius";
@import "compass/css3/images";
@import "compass/css3/text-shadow";
@import "buttons";
body { background: #000 image-url("locomotive/background/body.png") repeat 0 0; }
div.application-message {
font-size: 1.2em;
font-weight: bold;
padding: 8px;
margin: 10px 20px 0 20px;
text-align: justify;
}
div#flash-alert {
background: #FFE5E5;
color: #CE2525;
}
div#flash-notice {
background: #c7ff99;
color: #58852b;
}
#wrapper {
background: transparent image-url("locomotive/box/wrapper_bg.png") repeat-x 0 0;
min-height: 400px;
}
#light {
background: transparent image-url("locomotive/box/light_bg.png") no-repeat center 0;
min-height: 400px;
padding-top: 100px;
}
#panel {
width: 356px;
height: 344px;
padding: 0px 0px 0 0px;
@include box-shadow(rgba(0, 0, 0, 0.2) 0px 0px 10px 3px);
h1 {
height: 41px;
margin: 0px;
padding: 20px 0px 0 0;
@include border-top-radius(3px);
border-top: 1px solid #63646a;
@include background-image(linear-gradient(#393a41, #1e1f26));
font-size: 22px;
color: #fff;
text-align: center;
text-shadow: 1px 1px 1px #000;
} // h1
.inner {
background: #fff;
padding: 5px 20px 20px 20px;
fieldset {
border: 0px;
padding: 0px;
margin: 0px;
ol {
width: 100%;
list-style: none;
padding: 0px;
margin: 0px auto 0 auto;
li {
margin-top: 20px;
label {
display: block;
font-size: 1.2em;
color: #222;
} // label
input {
// background: white url(/assets/locomotive/box/input_bg.png) no-repeat 0 0;
padding: 7px;
border: 1px solid #b5b7c4;
@include background-image(linear-gradient(top, #dedfe4, #f8f9fa 25%, #f8f9fa 25%, #fefefe 50%, #fefefe));
font-size: 14px;
color: #222;
&[type=text] {
width: 302px;
}
&[type=password] {
width: 180px;
}
&[type=file] {
background: none;
padding: 0px;
} // type=file
} // input
div.inline-errors p {
padding: 3px 5px;
margin: 5px 0px;
background: #FFE5E5;
color: #CE2525;
} // inline-errors p
} // li
} // ol
} // fieldset
p.notice {
font-size: 1.2em;
color: #222;
margin: 15px 49px 0 49px;
text-align: center;
} // p.notice
p.link {
margin: 15px 0 0 49px;
a {
color: #1f82bc;
text-decoration: none;
&:hover {
text-decoration: underline;
}
}
} // p.link
p.tright {
text-align: right;
margin-right: 20px;
} // p.tright
} // .inner
.footer {
margin: 0px 0px 0 0px;
padding: 22px 0;
background: #8b8d9a;
@include border-bottom-radius(3px);
text-align: right;
input[type=submit] {
@include black-button;
margin: 0 18px 0 0;
}
} // .footer
} // #panel