(https btn reset exclusion) |
(Topmenu layout fixes) |
||
Line 67: | Line 67: | ||
height: 19px; | height: 19px; | ||
background: linear-gradient(0deg, #383838, #444444); | background: linear-gradient(0deg, #383838, #444444); | ||
+ | } | ||
+ | |||
+ | #top_menu_14 .submenu { | ||
+ | box-sizing: content-box; | ||
+ | } | ||
+ | |||
+ | #top_menu_14 .close { | ||
+ | font-size: 16px; | ||
+ | opacity: 0.55; | ||
+ | } | ||
+ | |||
+ | #top_menu_14 .close:hover { | ||
+ | opacity: 0.85; | ||
} | } | ||
Revision as of 19:15, 19 October 2016
/** Reset Styles iGEM-Team Bonn
feel free to use stuff from here but please give credit
- /
/* * * * * * * * * * * * * * * * * * * * * * * * * Resets & Fixes
- * * * * * * * * * * * * * * * * * * * * * * * */
html, body, #globalWrapper, #content, #HQ_page, #bodyContent, #mw-content-text { min-height: 100% !important; margin: 0 !important; padding: 0 !important; }
- globalWrapper, #content {
position: static; }
- content {
width: 100%; margin: 0; padding: 0; }
- HQ_page h1, h2, h3, h4, h5 {
margin-bottom: 0 !important; font-family: inherit !important; font-weight: normal !important; }
- HQ_page table {
margin: 0 !important; border: none !important; }
- HQ_page th, #HQ_page td {
margin: 0 !important; padding: 8px !important; background: none !important; border: none !important; }
- top_title, #mw-content-text > p:first-of-type, #top_menu_under, .sideNav_h1:first-of-type, .mw-editsection {
display: none !important; }
- globalWrapper {
font-size: inherit !important; }
- sideMenu, #sideMenu * {
box-sizing: content-box; }
- sideMenu {
display: none; left: auto !important; right: 25px; border: 1px solid #222; border-radius: 5px; }
- top_menu_14 {
height: 19px; background: linear-gradient(0deg, #383838, #444444); }
- top_menu_14 .submenu {
box-sizing: content-box; }
- top_menu_14 .close {
font-size: 16px; opacity: 0.55; }
- top_menu_14 .close:hover {
opacity: 0.85; }
- top_menu_inside {
width: 100%; margin: 0 auto; border: none; }
- user_item {
float: left !important; margin: 0 !important; padding: 0px 25px 0px 20px !important; }
- bars_item {
left: auto !important; right: 25px; }
- top_menu_14 .submenu {
opacity: 0.9; }
- bodyContent a[href^="https://"], .link-https {
padding-right: 0 !important; }
.btn {padding-right: 12px !important}
.btn-default { color: #333 !important; }
/* * * * * * * * * * * * * * * * * * * * * * * * *
Bootstrap Table Styles
- * * * * * * * * * * * * * * * * * * * * * * * */
/*
- HQ_page table {
border-collapse: collapse !important; border-spacing: 0 !important;
}
- HQ_page td,
- HQ_page th {
padding: 0 !important;
}
- HQ_page th {
text-align: left !important;
}
- /
- HQ_page .table {
width: 100% !important; max-width: 100% !important;
/* margin-bottom: 20px !important; */ }
- HQ_page .table > thead > tr > th,
- HQ_page .table > tbody > tr > th,
- HQ_page .table > tfoot > tr > th,
- HQ_page .table > thead > tr > td,
- HQ_page .table > tbody > tr > td,
- HQ_page .table > tfoot > tr > td {
padding: 8px !important; line-height: 1.42857143 !important; vertical-align: top !important; border-top: 1px solid #dddddd !important;
}
- HQ_page .table > thead > tr > th {
vertical-align: bottom !important; border-bottom: 2px solid #dddddd !important;
}
- HQ_page .table > caption + thead > tr:first-child > th,
- HQ_page .table > colgroup + thead > tr:first-child > th,
- HQ_page .table > thead:first-child > tr:first-child > th,
- HQ_page .table > caption + thead > tr:first-child > td,
- HQ_page .table > colgroup + thead > tr:first-child > td,
- HQ_page .table > thead:first-child > tr:first-child > td {
border-top: 0 !important;
}
- HQ_page .table > tbody + tbody {
border-top: 2px solid #dddddd !important;
}
- HQ_page .table .table {
background-color: #ffffff !important;
}
- HQ_page .table-condensed > thead > tr > th,
- HQ_page .table-condensed > tbody > tr > th,
- HQ_page .table-condensed > tfoot > tr > th,
- HQ_page .table-condensed > thead > tr > td,
- HQ_page .table-condensed > tbody > tr > td,
- HQ_page .table-condensed > tfoot > tr > td {
padding: 5px !important;
}
- HQ_page .table-bordered {
border: 1px solid #dddddd !important;
}
- HQ_page .table-bordered > thead > tr > th,
- HQ_page .table-bordered > tbody > tr > th,
- HQ_page .table-bordered > tfoot > tr > th,
- HQ_page .table-bordered > thead > tr > td,
- HQ_page .table-bordered > tbody > tr > td,
- HQ_page .table-bordered > tfoot > tr > td {
border: 1px solid #dddddd !important;
}
- HQ_page .table-bordered > thead > tr > th,
- HQ_page .table-bordered > thead > tr > td {
/* border-bottom-width: 2px !important; */ }
- HQ_page .table-striped > tbody > tr:nth-of-type(odd) {
background-color: #f9f9f9 !important;
}
- HQ_page .table-hover > tbody > tr:hover {
background-color: #f5f5f5 !important;
}
/*
- HQ_page table col[class*="col-"] {
position: static !important; float: none !important; display: table-column !important;
}
- HQ_page table td[class*="col-"],
- HQ_page table th[class*="col-"] {
position: static !important; float: none !important; display: table-cell !important;
}
- /
- HQ_page .table > thead > tr > td.active,
- HQ_page .table > tbody > tr > td.active,
- HQ_page .table > tfoot > tr > td.active,
- HQ_page .table > thead > tr > th.active,
- HQ_page .table > tbody > tr > th.active,
- HQ_page .table > tfoot > tr > th.active,
- HQ_page .table > thead > tr.active > td,
- HQ_page .table > tbody > tr.active > td,
- HQ_page .table > tfoot > tr.active > td,
- HQ_page .table > thead > tr.active > th,
- HQ_page .table > tbody > tr.active > th,
- HQ_page .table > tfoot > tr.active > th {
background-color: #f5f5f5 !important;
}
- HQ_page .table-hover > tbody > tr > td.active:hover,
- HQ_page .table-hover > tbody > tr > th.active:hover,
- HQ_page .table-hover > tbody > tr.active:hover > td,
- HQ_page .table-hover > tbody > tr:hover > .active,
- HQ_page .table-hover > tbody > tr.active:hover > th {
background-color: #e8e8e8 !important;
}
- HQ_page .table > thead > tr > td.success,
- HQ_page .table > tbody > tr > td.success,
- HQ_page .table > tfoot > tr > td.success,
- HQ_page .table > thead > tr > th.success,
- HQ_page .table > tbody > tr > th.success,
- HQ_page .table > tfoot > tr > th.success,
- HQ_page .table > thead > tr.success > td,
- HQ_page .table > tbody > tr.success > td,
- HQ_page .table > tfoot > tr.success > td,
- HQ_page .table > thead > tr.success > th,
- HQ_page .table > tbody > tr.success > th,
- HQ_page .table > tfoot > tr.success > th {
background-color: #dff0d8 !important;
}
- HQ_page .table-hover > tbody > tr > td.success:hover,
- HQ_page .table-hover > tbody > tr > th.success:hover,
- HQ_page .table-hover > tbody > tr.success:hover > td,
- HQ_page .table-hover > tbody > tr:hover > .success,
- HQ_page .table-hover > tbody > tr.success:hover > th {
background-color: #d0e9c6 !important;
}
- HQ_page .table > thead > tr > td.info,
- HQ_page .table > tbody > tr > td.info,
- HQ_page .table > tfoot > tr > td.info,
- HQ_page .table > thead > tr > th.info,
- HQ_page .table > tbody > tr > th.info,
- HQ_page .table > tfoot > tr > th.info,
- HQ_page .table > thead > tr.info > td,
- HQ_page .table > tbody > tr.info > td,
- HQ_page .table > tfoot > tr.info > td,
- HQ_page .table > thead > tr.info > th,
- HQ_page .table > tbody > tr.info > th,
- HQ_page .table > tfoot > tr.info > th {
background-color: #d9edf7 !important;
}
- HQ_page .table-hover > tbody > tr > td.info:hover,
- HQ_page .table-hover > tbody > tr > th.info:hover,
- HQ_page .table-hover > tbody > tr.info:hover > td,
- HQ_page .table-hover > tbody > tr:hover > .info,
- HQ_page .table-hover > tbody > tr.info:hover > th {
background-color: #c4e3f3 !important;
}
- HQ_page .table > thead > tr > td.warning,
- HQ_page .table > tbody > tr > td.warning,
- HQ_page .table > tfoot > tr > td.warning,
- HQ_page .table > thead > tr > th.warning,
- HQ_page .table > tbody > tr > th.warning,
- HQ_page .table > tfoot > tr > th.warning,
- HQ_page .table > thead > tr.warning > td,
- HQ_page .table > tbody > tr.warning > td,
- HQ_page .table > tfoot > tr.warning > td,
- HQ_page .table > thead > tr.warning > th,
- HQ_page .table > tbody > tr.warning > th,
- HQ_page .table > tfoot > tr.warning > th {
background-color: #fcf8e3 !important;
}
- HQ_page .table-hover > tbody > tr > td.warning:hover,
- HQ_page .table-hover > tbody > tr > th.warning:hover,
- HQ_page .table-hover > tbody > tr.warning:hover > td,
- HQ_page .table-hover > tbody > tr:hover > .warning,
- HQ_page .table-hover > tbody > tr.warning:hover > th {
background-color: #faf2cc !important;
}
- HQ_page .table > thead > tr > td.danger,
- HQ_page .table > tbody > tr > td.danger,
- HQ_page .table > tfoot > tr > td.danger,
- HQ_page .table > thead > tr > th.danger,
- HQ_page .table > tbody > tr > th.danger,
- HQ_page .table > tfoot > tr > th.danger,
- HQ_page .table > thead > tr.danger > td,
- HQ_page .table > tbody > tr.danger > td,
- HQ_page .table > tfoot > tr.danger > td,
- HQ_page .table > thead > tr.danger > th,
- HQ_page .table > tbody > tr.danger > th,
- HQ_page .table > tfoot > tr.danger > th {
background-color: #f2dede !important;
}
- HQ_page .table-hover > tbody > tr > td.danger:hover,
- HQ_page .table-hover > tbody > tr > th.danger:hover,
- HQ_page .table-hover > tbody > tr.danger:hover > td,
- HQ_page .table-hover > tbody > tr:hover > .danger,
- HQ_page .table-hover > tbody > tr.danger:hover > th {
background-color: #ebcccc !important;
}
- HQ_page .table-responsive {
overflow-x: auto !important; min-height: 0.01% !important;
}
/*
Additional Fix for Panel
- /
.table-responsive.panel.panel-default {
border: none !important;
}
/*
Fix for ul.nav
- /
ul.nav {
margin: 0 !important;
}