Started inital migration to rails 3.2
This commit is contained in:
0
app/assets/stylesheets/.gitkeep
Executable file
0
app/assets/stylesheets/.gitkeep
Executable file
172
app/assets/stylesheets/application.css.scss
Executable file
172
app/assets/stylesheets/application.css.scss
Executable file
@@ -0,0 +1,172 @@
|
||||
/*
|
||||
*= require_self
|
||||
*= require_tree .
|
||||
*/
|
||||
|
||||
body {
|
||||
font-family: Verdana, Helvetica, Arial;
|
||||
font-size: 12px;
|
||||
background:url('/images/white_stripe.png');
|
||||
}
|
||||
|
||||
a img {
|
||||
border: none;
|
||||
}
|
||||
|
||||
a { color:#aa150e; }
|
||||
table a { font-weight:bold; }
|
||||
|
||||
.clear {
|
||||
clear: both;
|
||||
height: 0;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
#header {
|
||||
width:1024px;
|
||||
margin:0 auto 5px;
|
||||
background:#fff;
|
||||
border:1px solid #e2e2e2;
|
||||
}
|
||||
|
||||
#header #logo { padding:15px 20px 10px 20px; }
|
||||
|
||||
#header #logo img {
|
||||
float:left;
|
||||
margin-right:10px;
|
||||
}
|
||||
|
||||
#header #logo h1 {
|
||||
margin:3px 0;
|
||||
font-size:1.7em;
|
||||
font-family:"Trebuchet MS";
|
||||
}
|
||||
|
||||
#header #menu_wrapper {
|
||||
width:100%;
|
||||
background:url('/images/black_stripe.png');
|
||||
}
|
||||
|
||||
#header #menu_wrapper ul {
|
||||
list-style:none;
|
||||
margin:0;
|
||||
padding:5px 20px 7px 20px;
|
||||
}
|
||||
|
||||
#header #menu_wrapper ul li {
|
||||
display:inline;
|
||||
padding:0px 7px;
|
||||
}
|
||||
|
||||
#header #menu_wrapper ul li:first-child {
|
||||
padding-left:0px;
|
||||
}
|
||||
|
||||
#header #menu_wrapper ul li a { color:#fff; text-decoration:none; font-weight:normal; }
|
||||
|
||||
#header #bottom {
|
||||
background:#fff;
|
||||
font-size:.9em;
|
||||
padding:10px 20px;
|
||||
}
|
||||
|
||||
.module_header {
|
||||
background:url('/images/black_stripe.png') !important;
|
||||
}
|
||||
|
||||
#info_box {
|
||||
width:1024px;
|
||||
margin:5px auto;
|
||||
background:#fff;
|
||||
border:1px solid #e2e2e2;
|
||||
}
|
||||
|
||||
#info_box p {
|
||||
padding:0px 10px;
|
||||
}
|
||||
|
||||
.container {
|
||||
width: 1024px;
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
.demo_notice {
|
||||
display:block;
|
||||
clear:both;
|
||||
padding:10px 10px 10px 36px;
|
||||
-webkit-border-radius:3px;
|
||||
-moz-border-radius:3px;
|
||||
border-radius:3px;
|
||||
border:1px solid;
|
||||
color:#646464;
|
||||
background-position:10px 12px;
|
||||
background-repeat:no-repeat;
|
||||
margin:10px 0;
|
||||
background-color: #cee6f2;
|
||||
border: solid 1px #058dc7;
|
||||
background-image:url('/images/icon_notification_information.png');
|
||||
}
|
||||
|
||||
#flash_notice, #flash_error, #flash_alert {
|
||||
display:block;
|
||||
clear:both;
|
||||
padding:10px 10px 10px 36px;
|
||||
-webkit-border-radius:3px;
|
||||
-moz-border-radius:3px;
|
||||
border-radius:3px;
|
||||
border:1px solid;
|
||||
color:#646464;
|
||||
background-position:10px 12px;
|
||||
background-repeat:no-repeat;
|
||||
margin:10px 0;
|
||||
}
|
||||
|
||||
#flash_notice {
|
||||
background-color:#d9e6c3;
|
||||
background-image:url('/images/icon_notification_success.png');
|
||||
border-color:#77ab13;
|
||||
}
|
||||
|
||||
#flash_error, #flash_alert {
|
||||
background-color:#f2d4ce;
|
||||
background-image:url('/images/icon_notification_error.png');
|
||||
border-color:#ae432e;
|
||||
}
|
||||
|
||||
.fieldWithErrors {
|
||||
display: inline;
|
||||
}
|
||||
|
||||
.error_messages {
|
||||
width: 400px;
|
||||
border: 2px solid #CF0000;
|
||||
padding: 0px;
|
||||
padding-bottom: 12px;
|
||||
margin-bottom: 20px;
|
||||
background-color: #f0f0f0;
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
.error_messages h2 {
|
||||
text-align: left;
|
||||
font-weight: bold;
|
||||
padding: 5px 10px;
|
||||
font-size: 12px;
|
||||
margin: 0;
|
||||
background-color: #c00;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.error_messages p {
|
||||
margin: 8px 10px;
|
||||
}
|
||||
|
||||
.error_messages ul {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
fieldset {
|
||||
border:0px;
|
||||
padding:0px;
|
||||
margin:0px;
|
||||
}
|
||||
57
app/assets/stylesheets/forum-monster.css.scss
Executable file
57
app/assets/stylesheets/forum-monster.css.scss
Executable file
@@ -0,0 +1,57 @@
|
||||
/* Modules
|
||||
--------------------------------------------------------------------------------------------------*/
|
||||
.module { border:1px solid #e2e2e2; margin:.8em 0; background-color:#fff; overflow:auto; }
|
||||
.module_controls { padding:.8em; }
|
||||
.module_header { color:#fff; padding:.7em .7em .7em 1.4em; background-color:#000; }
|
||||
.module_header a { color:#fff; }
|
||||
.module_subheader, .module_footer { margin:.6em .8em; padding:.6em; }
|
||||
.module_subheader { border-bottom:1px solid #e2e2e2; }
|
||||
.module_footer { border-top:1px solid #e2e2e2; }
|
||||
.module_body { padding:1em; }
|
||||
|
||||
/* Form Fields & Labels
|
||||
--------------------------------------------------------------------------------------------------*/
|
||||
.module .fieldset { width:100%; }
|
||||
.module .fieldset .indent { width:16em; }
|
||||
.module .fieldset .label { font-weight:bold; text-align:right; display:block; float:left; padding:6px 0px 2px 1em; }
|
||||
.module .fieldset .label small { font-weight:normal; }
|
||||
.module .fieldset .input { padding:.2em 1em; display:block; float:left; }
|
||||
|
||||
/* Common
|
||||
--------------------------------------------------------------------------------------------------*/
|
||||
.module .clear { clear: both; height: 0; overflow: hidden; }
|
||||
.module .smaller { font-size:.9em; }
|
||||
.module .left { float:left; }
|
||||
.module .right { float:right; text-align:right; }
|
||||
.controls a { margin:0 5px; font-size:.8em; }
|
||||
|
||||
/* Tables
|
||||
--------------------------------------------------------------------------------------------------*/
|
||||
table { width:100%; border-collapse:collapse; }
|
||||
table th { font-weight:normal; padding:.7em; font-size:.8em; }
|
||||
table td { padding:.5em; border:1px solid #e2e2e2; border-bottom:0px; vertical-align:top; background:#fff; }
|
||||
table td:first-child { border-left:0px; }
|
||||
table td:last-child { border-right:0px; }
|
||||
|
||||
table .icon { width:26px; text-align:center; }
|
||||
table .counts { width:8%; text-align:center; }
|
||||
table .last_post { padding-left:10px; }
|
||||
table .description { width:55%; text-align:left; padding-left:20px; }
|
||||
|
||||
/* Post View Table
|
||||
--------------------------------------------------------------------------------------------------*/
|
||||
table .post_author { padding-left:15px; vertical-align:top !important; }
|
||||
table .post_author .name { font-size:1.5em; display:block; margin-bottom:5px; }
|
||||
table .post_author .name a { margin-left:-20px; }
|
||||
table .post_author .info { display:block; margin:5px 0; }
|
||||
table .post_body { width:80%; padding:10px 10px 30px 10px; border-bottom:0px; }
|
||||
table .post_header { height:5px; }
|
||||
|
||||
/* BBCode
|
||||
--------------------------------------------------------------------------------------------------*/
|
||||
blockquote {
|
||||
border: 1px solid #e2e2e2;
|
||||
font-style: italic;
|
||||
margin: 10px 0px 0px 25px;
|
||||
padding: 10px;
|
||||
}
|
||||
Reference in New Issue
Block a user