/* application css */
html {
overflow: -moz-scrollbars-vertical !important;
}
body {
font-family: sans-serif;
font-size: 11pt;
margin: 1.5em auto;
max-width: 675px;
-webkit-text-size-adjust: 100%;
color: #222;
}
/* default form styling */
input,
button,
select,
textarea {
color: #555;
background-color: white;
line-height: 1.2em;
padding: 3px 5px;
}
textarea {
line-height: 1.35em;
resize: vertical;
}
input[type="text"],
input[type="search"],
input[type="password"],
input[type="email"],
textarea {
border: 1px solid #ccc;
}
input:focus, textarea:focus {
outline-style: solid;
outline-width: 2px;
}
input[type="checkbox"] {
margin-top: 0.5em;
}
select {
border: 1px solid #ccc;
}
input:focus,
textarea:focus {
border-color: #888;
color: #303030;
background-color: white;
outline: 0;
}
textarea:disabled {
background-color: #f0f0f0;
}
input[type="submit"]:focus,
button:focus {
border-color: #888;
outline: 1px solid #888;
}
/* 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, button:disabled {
background-color: #e9e9e9;
color: gray;
}
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: 3px;
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: 5px;
padding-top: 4px;
padding-bottom: 3px;
}
table.data td img {
vertical-align: middle;
padding-left: 2px;
}
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: white;
border-bottom: 1px solid #eaeaea;
}
table.data tr.row1 td {
background-color: #f9f9f9;
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 .sublegend {
font-size: 9.5pt;
font-weight: normal;
font-style: italic;
color: gray;
}
.box .legend.right {
float: right;
}
.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;
}
fieldset.box {
border: 1px solid #cacaca;
padding: 4px 8px 8px 8px;
}
fieldset.box legend {
border: 2px solid gray;
background-color: white;
padding: 4px 8px;
font-weight: bold;
}
fieldset.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 {
line-height: 2em;
}
.box br {
clear: left;
}
.box .boxline {
clear: both;
margin-bottom: 0.5em;
}
.box p {
margin-top: 1em;
}
.box textarea {
margin-bottom: 4px;
width: 75%;
}
.box label,
.box .label_holder {
width: 7em;
line-height: 2em;
vertical-align: middle;
}
.box div.d {
margin-left: 7em;
line-height: 2em;
}
.box input.normal,
.box label.normal {
display: inline;
float: none;
vertical-align: middle;
}
.box span.d label,
.box td label,
.box .legend label,
.box div.d label {
display: inline;
float: none;
vertical-align: baseline;
}
.box span.d a.tag {
vertical-align: middle;
}
.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;
}
.box.wide div.d {
margin-left: 12em;
}
/* chibug */
a {
color: #3a89c9;
}
a:visited {
color: gray;
}
nav {
background-color: #3a89c9;
font-size: larger;
font-weight: bold;
padding: 0.75em;
color: white;
vertical-align: middle;
}
nav a,
nav a:visited {
color: white;
}
div.subheader {
margin-bottom: 1em;
padding: 0.4em 0.75em;
background-color: #b3ddf2;
border-bottom: 1px solid #8aabbb;
}
div.subheader a {
font-weight: bold;
color: #333;
}
div#logo {
float: right;
}
div#logo img {
padding: 0.5em 0.5em 0 0.5em;
}
main {
padding: 0 0.25em;
}
div.call {
font-style: italic;
font-size: 11pt;
font-weight: normal;
margin-bottom: 0;
}
div.call p {
margin-top: 0.25em;
margin-bottom: 0.75em;
}
section {
margin-bottom: 1em;
margin-top: 1.5em;
padding: 0.5em;
}
section header {
background-color: #b3ddf2;
border-bottom: 1px solid #8aabbb;
font-weight: bold;
font-size: 12.5pt;
padding: 0.4em 0.25em 0.25em 0.5em;
margin: -0.5em;
margin-bottom: 0.5em;
vertical-align: middle;
}
section header a,
section header a:visited {
color: #333;
}
section span.details {
color: #555;
font-weight: normal;
font-size: 10pt;
}
.message_details {
width: 100%;
}
.message_details span {
line-height: 1.5em;
}
.message_details .header {
width: 100px;
float: left;
font-weight: bold;
}
.message_details br {
clear: both;
}
.message_body {
font-family: monospace;
font-size: 10pt;
width: 80ch;
}
.message_body .signature {
color: gray;
}
.message_body .quote1 {
color: green;
}
.message_body .quote2 {
color: blue;
}
.message_body .quote3 {
color: gray;
}
ul.mailinglist {
padding-left: 1.5em;
list-style: disc;
margin: 0;
}
ul.mailinglist li {
line-height: 1.5em;
font-size: 10pt;
}
ul.mailinglist li.highlighted {
font-weight: bold;
background-color: lightyellow;
}
ul.mailinglist li.first a {
font-weight: bold;
}
ul.mailinglist > ul.mailinglist {
list-style: circle;
}
ul.mailinglist span.from {
padding-left: 0.5em;
}
ul.mailinglist span.date {
font-size: smaller;
color: gray;
font-style: italic;
padding-left: 0.5em;
}
.friend {
/* boxes
border: 1px solid #b3ddf2;
border-radius: 1rem; */
display: flex;
}
.friend img {
margin: 15px;
}
.friend a {
display: flex;
margin: 20px 15px;
}
.friend p {
margin: 15px;
}
.page_nav {
text-align: center;
margin-top: 3em;
color: #555;
}
.page_nav.top {
margin-top: 0;
margin-bottom: 1em;
}
.page_nav .page {
border: 1px solid #ddd;
display: inline-block;
padding: 5px 10px;
margin-left: 0.5em;
text-align: center;
border-radius: 8px;
}
.page_nav .page.ellipses {
border-color: transparent;
}
.page_nav .page.cur_page {
background-color: #f7f7f2;
font-weight: bold;
color: #555;
}
/* for flash_errors(), flash_notices() and flash_successes() */
div.flash-error,
div.flash-notice,
div.flash-success {
border: 2px solid;
margin: 5px 5px 10px 5px;
padding: 5px 10px;
}
div.flash-error {
background-color: #ffe7e7;
border-color: red;
}
div.flash-success {
background-color: #e8ffe7;
border-color: green;
}
div.flash-notice {
background-color: #e0e2fc;
border-color: blue;
}
/* for error_messages_for() */
div.fieldWithErrors {
display: inline;
}
div.fieldWithErrors input,
div.fieldWithErrors select,
div.fieldWithErrors textarea {
border: 2px solid red;
padding: 2px;
}
/* mobile view */
@media only screen and (max-width: 675px) {
body {
margin: 0;
max-width: auto;
}
div#logo img {
width: 75px;
height: 50px;
margin: 0;
padding: 0;
}
main {
padding-left: 1em;
padding-right: 1em;
}
section {
padding-left: 0;
padding-right: 0;
}
div.call p {
margin-bottom: 0;
}
.message_body {
font-size: 9pt;
width: auto;
}
}