/* *= require_tree . *= require_self */ /* generics */ /* force a vertical scrollbar on firefox to avoid page-shifting */ html { overflow: -moz-scrollbars-vertical !important; } body, textarea, input { font-family: "helvetica neue", arial, sans-serif; font-size: 10pt; color: #333; } a { color: #0855f1; } a:visited { color: #4342AC; } h1 { margin: 0px; margin-bottom: 0.75em; padding: 0px; font-size: 14pt; font-weight: bold; } div.clear { clear: both; } div.s { height: 1px; } a.tag { border: 1px solid #b8b599; background-color: #fffcd7; font-size: 7.5pt; margin-left: 0.25em; padding: 0px 0.5em 1px 0.5em; text-decoration: none; -moz-border-radius: 10px; -webkit-border-radius: 10px; border-radius: 10px; color: #555; vertical-align: text-top; } /* default form styling */ input, select, textarea { color: #555; line-height: 1.2em; padding: 3px 5px; } input[type="text"], input[type="search"], input[type="password"], input[type="email"], textarea { border: 1px solid #ccc; } input[type="checkbox"] { margin-top: 10px; } select { border: 1px solid #ccc; } input:focus, textarea:focus { border-color: #aaa; color: #303030; outline: 0; } body.mobile input, body.mobile select, body.mobile textarea { max-width: 275px; } /* these must be separate */ ::-webkit-input-placeholder { color: #aaa; font-style: italic; } :-moz-placeholder { color: #aaa; font-style: italic; } button, input[type="button"], input[type="reset"], input[type="submit"], div.select2-choices { display: inline-block; padding: 2px 10px 2px 10px; line-height: 18px; color: #333333; text-align: center; background-color: #fafafa; border: 1px solid #ccc; border-bottom-color: #bbb; cursor: pointer; } button:first-child, input[type="button"]:first-child, input[type="reset"]:first-child, input[type="submit"]:first-child { *margin-left: 0; } button:hover, input[type="button"]:hover, input[type="reset"]:hover, input[type="submit"]:hover { color: #333333; text-decoration: none; background-color: #e6e6e6; } select { margin-top: 3px; min-width: 100px; } select:focus { border-color: rgba(160,160,160,.8); color: #303030; outline: 0; } select::-moz-focus-inner { border: 0; outline: 0; } div.field_with_errors { display: inline; } div.field_with_errors input[type="text"], div.field_with_errors input[type="email"], div.field_with_errors input[type="password"] { border: 1px solid red; } div.field_with_errors input:focus { border-color: rgba(255,0,0,.8); } input:disabled { background-color: #e9e9e9; color: gray; } /* outliners */ div#wrapper { margin-left: auto; margin-right: auto; padding-bottom: 1em; width: 900px; } div#inside { margin-left: 0.25em; margin-right: 0.25em; } /* header */ #header { font-weight: bold; padding: 5px 42px 5px 10px; margin-top: 1em; margin-bottom: 0.75em; } #l_holder { background-color: #ee0000; float: left; width: 16px; height: 16px; padding: 1px; margin-left: 4px; margin-right: 11px; } #l_holder.dead { background-color: black; } #l_holder.boring { background-color: darkred; } #header h1 { font-size: 11pt; margin: 0px; margin-left: 22px; margin-right: 1em; padding: 0px; display: inline; } #header h1 a { color: #333; text-decoration: none; } #headertitle { padding-right: 0.75em; } #headertitle a { color: #333; text-decoration: none; } #headerlinks a { color: #666; text-decoration: none; padding-right: 0.75em; } #headerright { float: right; color: #888; text-align: right; } #headerright a { color: #666; text-decoration: none; } #headerright.loggedin a { padding-left: 0.75em; } /* footer */ div#footer { clear: both; color: gray; font-style: italic; margin-bottom: 2em; padding-top: 1em; } div#footer a { color: gray; } /* stories */ ol.stories, ol.comments { padding: 0; list-style: none; margin: 0; } ol.comments { margin-top: 3em; } div.voters { float: left; margin-top: -5px; width: 40px; } div.voters div.score { color: #aaa; font-size: 9pt; margin-top: 1px; margin-bottom: -2px; text-align: center; } div.voters a.upvoter, div.voters a.downvoter { border-color: transparent transparent #bbb transparent; border-style: solid; border-width: 6px; text-decoration: none; width: 0px; height: 0; margin-bottom: 0px; margin-left: 14px; padding: 0; display: block; } div.voters a.upvoter:hover, li.upvoted div.voters a.upvoter { border-bottom-color: #ac130d; } div.voters a.upvoter { border-bottom-width: 11px; } div.voters a.downvoter { border-color: #bbb transparent transparent transparent; border-width: 5px; margin-top: 4px; margin-left: 15px; margin-bottom: -5px; border-top-width: 9px; } div.voters a.downvoter:hover, li.downvoted div.voters a.downvoter { border-top-color: gray; } ol.stories li, ol.comments li { clear: both; margin-bottom: 0.75em; } li div.details { padding-top: 0.1em; } ol.stories li.downvoted { opacity: 0.5; } ol.comments li.negative { opacity: 0.7; color: gray !important; } ol.comments li.negative_3 { opacity: 0.4; } ol.comments li.negative_5 { opacity: 0.3; } ol.comments li.negative_7 { opacity: 0.2; } li .link { font-weight: bold; vertical-align: middle; } li .link a { font-size: 12pt; text-decoration: none; } ol.stories a.tag { vertical-align: middle; } li .domain { color: #888; font-style: italic; font-size: 8.5pt; margin-left: 0.5em; margin-right: 0.25em; vertical-align: middle; } li .byline { color: #888; font-size: 8.5pt; } ol.stories li .byline { margin-top: 1px; } ol.comments li .byline { margin-top: -2px; margin-bottom: -1px; } li .byline a { color: #888; text-decoration: none; } li.story.expired { opacity: 0.6; } li.story.expired a { color: gray !important; } li div.details, div.story_content { margin-left: 40px; margin-right: 40px; } div.story_text { font-size: 10pt; margin-bottom: 1.5em; } div.story_text p { margin: 0.75em 0; } blockquote { display: inline; font-style: italic; margin: 0px; padding: 0px 0px 0px 0.5em; border-left: 2px solid gray; } div.comment_text p { margin: 0.5em 0; } div.comment_actions a { color: #888; font-weight: bold; font-size: 8.5pt; text-decoration: none; } a.pagelink { border: 1px solid #ddd; background-color: #fbfbfb; padding: 4px 8px; } a.pagelink.curpage { border: 1px solid gray; background-color: white; font-weight: bold; } #downvote_why { position: absolute; width: 100px; border: 1px solid #aaa; border-bottom: 0; } #downvote_why a { background-color: white; color: #555; border-bottom: 1px solid #aaa; display: block; padding: 3px; font-size: 9pt; } #downvote_why a:hover { background-color: #eee; } /* data tables */ table.data caption { font-weight: bold; text-align: left; padding-bottom: 3px; } table.data .capright { float: right; } table.data th { background-color: #eaeaea; border-bottom: 1px solid #cacaca; border-top: 1px solid #cacaca; padding: 2px; padding-left: 3px; text-align: left; } table.data th img { vertical-align: middle; margin-bottom: 5px; } table.data th.r, table.data td.r { text-align: right; padding-right: 3px; } table.data td { padding-left: 3px; padding-top: 4px; padding-bottom: 3px; } table.thread td { padding: 0px 0px 0px 3px; margin-bottom: 0px; line-height: 17px; /* text-vertical-align: middle; */ overflow: hidden; } table.thread td img { vertical-align: middle; } table.data tr.row0 td { background-color: #f8f8f8; border-bottom: 1px solid #eaeaea; } table.data tr.row1 td { background-color: #f5f5f5; border-bottom: 1px solid #eaeaea; } table.data tr.nobottom td { border-bottom: 0px; padding-bottom: 0px; } table.data tr.void td, table.data tr.void td a { text-decoration: line-through; color: gray !important; } /* boxes */ .box { border: 0; margin: 0 40px; padding: 0; } .box_submitter { border: 1px solid #cacaca; border-top: 0px; background-color: #eaeaea; padding: 1em; } .box_submitter input { width: 10em; } .box .legend { background-color: white; margin-bottom: 1em; padding: 0; font-weight: bold; font-size: 11pt; } .box .boxtitle { background-color: #f0f0f0; border-bottom: 1px solid #cacaca; display: block; font-weight: bold; margin: -3px -7px 4px -7px; padding: 3px 5px 3px 5px; } .box label, .box .label_holder { display: block; float: left; margin-bottom: 4px; } .box label.required { font-weight: bold; } .box img { vertical-align: middle; } .box label, .box span, .box select, .box br { line-height: 2em; } .box br { clear: both; } .box .boxline { clear: both; margin-bottom: 0.5em; } .box p { margin-top: 1em; } .box textarea { margin-bottom: 4px; width: 75%; } .box input.normal, .box label.normal { display: inline; float: none; vertical-align: middle; } .box label, .box .label_holder { width: 7em; line-height: 2em; vertical-align: middle; } .box .d { margin-left: 10em; } .box .label_holder label, .box .label_holder input { line-height: 2.5em; vertical-align: middle; } .hint { color: gray; font-style: italic; margin-left: 1em; } .hintblock { color: gray; font-style: italic; margin-left: 7em; } .box.wide label, .box.wide .label_holder { width: 12em; } .box.wide .hintblock { margin-left: 12em; } /* for flash_notices() and flash_errors() */ div.flash-error, div.flash-notice, div.flash-success, div.errorExplanation { position: relative; padding: 7px 15px; margin-bottom: 18px; color: white; background-color: #eedc94; background-repeat: repeat-x; background-image: -khtml-gradient(linear, left top, left bottom, from(#fceec1), to(#eedc94)); background-image: -moz-linear-gradient(top, #fceec1, #eedc94); background-image: -ms-linear-gradient(top, #fceec1, #eedc94); background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #fceec1), color-stop(100%, #eedc94)); background-image: -webkit-linear-gradient(top, #fceec1, #eedc94); background-image: -o-linear-gradient(top, #fceec1, #eedc94); background-image: linear-gradient(top, #fceec1, #eedc94); filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fceec1', endColorstr='#eedc94', GradientType=0); text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); border-color: #eedc94 #eedc94 #e4c652; border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25); text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5); border-width: 1px; border-style: solid; -webkit-border-radius: 4px; -moz-border-radius: 4px; border-radius: 4px; -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25); -moz-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25); } div.flash-error a, div.flash-notice a, div.flash-success a, div.errorExplanation a { font-weight: bold; color: #404040; } div.flash-error p a, div.flash-notice p a, div.flash-success p a, div.errorExplanation a { color: #ffffff; } div.flash-error p, div.flash-notice p, div.flash-success p, div.errorExplanation p { margin-bottom: 0; } div.flash-error div, div.flash-notice div, div.flash-success div, div.errorExplanation div { margin-top: 5px; margin-bottom: 2px; line-height: 28px; } div.flash-error, div.errorExplanation { background-color: #c43c35; background-repeat: repeat-x; background-image: -khtml-gradient(linear, left top, left bottom, from(#ee5f5b), to(#c43c35)); background-image: -moz-linear-gradient(top, #ee5f5b, #c43c35); background-image: -ms-linear-gradient(top, #ee5f5b, #c43c35); background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #ee5f5b), color-stop(100%, #c43c35)); background-image: -webkit-linear-gradient(top, #ee5f5b, #c43c35); background-image: -o-linear-gradient(top, #ee5f5b, #c43c35); background-image: linear-gradient(top, #ee5f5b, #c43c35); filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ee5f5b', endColorstr='#c43c35', GradientType=0); text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); border-color: #c43c35 #c43c35 #882a25; border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25); } div.flash-success { background-color: #57a957; background-repeat: repeat-x; background-image: -khtml-gradient(linear, left top, left bottom, from(#62c462), to(#57a957)); background-image: -moz-linear-gradient(top, #62c462, #57a957); background-image: -ms-linear-gradient(top, #62c462, #57a957); background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #62c462), color-stop(100%, #57a957)); background-image: -webkit-linear-gradient(top, #62c462, #57a957); background-image: -o-linear-gradient(top, #62c462, #57a957); background-image: linear-gradient(top, #62c462, #57a957); filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#62c462', endColorstr='#57a957', GradientType=0); text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); border-color: #57a957 #57a957 #3d773d; border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25); } div.flash-notice { background-color: #339bb9; background-repeat: repeat-x; background-image: -khtml-gradient(linear, left top, left bottom, from(#5bc0de), to(#339bb9)); background-image: -moz-linear-gradient(top, #5bc0de, #339bb9); background-image: -ms-linear-gradient(top, #5bc0de, #339bb9); background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #5bc0de), color-stop(100%, #339bb9)); background-image: -webkit-linear-gradient(top, #5bc0de, #339bb9); background-image: -o-linear-gradient(top, #5bc0de, #339bb9); background-image: linear-gradient(top, #5bc0de, #339bb9); filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#5bc0de', endColorstr='#339bb9', GradientType=0); text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); border-color: #339bb9 #339bb9 #22697d; border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25); } div.errorExplanation h2 { font-size: 1.25em; margin: 0; } div#flasher { position: fixed; top: -40px; right: 0px; left: 325px; text-align: center; z-index: 15; height: 1px; } div#flasher div.flash-error, div#flasher div.flash-notice, div#flasher div.flash-success { line-height: 1.5em; display: inline-block; padding-top: 25px; margin-left: auto; margin-right: auto; } div#flasher span#flashcontent { } /* for error_messages_for() */ div.fieldWithErrors { display: inline; } /* modal confirm() */ div.modal_confirm { background-color: black; opacity: 0.6; filter: alpha(opacity=60); position: fixed; left: 0px; right: 0px; bottom: 0px; top: 0px; z-index: 20; } div.modal_confirm_wrapper { position: fixed; left: 0px; right: 0px; bottom: 0px; top: 0px; z-index: 21; } div.modal_confirm_content { background-color: white; color: #333; padding: 15px; margin-left: auto; margin-right: auto; opacity: 1; filter: alpha(opacity=100); text-align: center; margin-top: 150px; width: 35%; z-index: 22; -moz-border-radius: 5px; -webkit-border-radius: 5px; border-radius: 5px; -webkit-box-shadow: 0px 0px 10px rgba(0,0,0,0.75); -moz-box-shadow: 0px 0px 10px rgba(0,0,0,0.75); box-shadow: 0px 0px 10px rgba(0,0,0,0.75); } div.modal_confirm_content div.modal_confirm_buttonbar { margin-top: 1em; } div.modal_confirm_content div.modal_confirm_buttonbar input.default_button { font-weight: bold; } /* select2 deuglification */ .select2-container-multi.select2-container-active .select2-choices { border: 1px solid rgba(160,160,160,.8); } .select2-container .select2-results .select2-highlighted { background: darkred; color: #fff; } .select2-container-multi .select2-choices { border-color: #ccc; background-image: none; padding-top: 2px; } .select2-container-multi.select2-container-active .select2-choices { -webkit-box-shadow: none; -moz-box-shadow : none; -o-box-shadow : none; box-shadow : none; } .select2-container-active .select2-choice, .select2-container-active .select2-choices { -webkit-box-shadow: none; -moz-box-shadow : none; -o-box-shadow : none; box-shadow : none; } .select2-dropdown-open .select2-choice { border: 1px solid #aaa; border-bottom-color: transparent; -webkit-box-shadow: none; -moz-box-shadow : none; -o-box-shadow : none; box-shadow : none; }