Files
odoo_source/addons/website/static/src/css/website.css
T

184 lines
3.1 KiB
CSS

@charset "utf-8";
/* THIS CSS FILE IS FOR WEBSITE THEMING CUSTOMIZATION ONLY
*
* css for editor buttons, openerp widget included in the website and other
* stuff must go to the editor.css
*
*/
/* ----- GENERIC LAYOUTING HELPERS ---- */
/* Vertical Spacing */
.mt128 {
margin-top: 128px !important;
}
.mt92 {
margin-top: 92px !important;
}
.mt64 {
margin-top: 64px !important;
}
.mt48 {
margin-top: 48px !important;
}
.mt32 {
margin-top: 32px !important;
}
.mt16 {
margin-top: 16px !important;
}
.mt8 {
margin-top: 8px !important;
}
.mt4 {
margin-top: 4px !important;
}
.mt0 {
margin-top: 0px !important;
}
.mb128 {
margin-bottom: 128px !important;
}
.mb92 {
margin-bottom: 92px !important;
}
.mb64 {
margin-bottom: 64px !important;
}
.mb48 {
margin-bottom: 48px !important;
}
.mb32 {
margin-bottom: 32px !important;
}
.mb16 {
margin-bottom: 16px !important;
}
.mb8 {
margin-bottom: 8px !important;
}
.mb4 {
margin-bottom: 4px !important;
}
.mb0 {
margin-bottom: 0px !important;
}
/* Grid of unequally tall elements */
.grid > [class*="col-md"] {
display: inline-block;
float: none;
vertical-align: top;
box-sizing: border-box;
}
.grid > [class*="col-md"].grid-align-top > [class*="col-md"] {
vertical-align: top;
}
.grid > [class*="col-md"].grid-align-middle > [class*="col-md"] {
vertical-align: middle;
}
.grid > [class*="col-md"].grid-align-bottom > [class*="col-md"] {
vertical-align: bottom;
}
/* ----- BOOTSTRAP HACK FOR STICKY FOOTER ----- */
html, body {
box-sizing: border-box;
height: 100%;
}
body {
display: table;
width: 100%;
}
header, #wrap, footer {
display: table-row;
}
footer {
height: 100%;
background: #eff8f8;
background: rgba(100, 200, 200, 0.1);
}
#footer_container {
padding-top: 24px;
padding-bottom: 12px;
}
/* ---- HACK FOR COVERING UP CK EDITOR BOGUS P INSERTION --- */
.navbar .nav > li > p {
margin-bottom: 0px;
}
#myCarousel .item {
color: white;
}
/* ---- HOMEPAGE THEME CUSTOMIZATION ---- */
.dark {
background: #eff8f8;
background: rgba(100, 200, 200, 0.1);
-webkit-box-shadow: 0px 5px 9px -7px rgba(0, 0, 255, 0.5) inset, 0px -3px 9px -7px rgba(0, 0, 255, 0.5) inset;
-moz-box-shadow: 0px 5px 9px -7px rgba(0, 0, 255, 0.5) inset, 0px -3px 9px -7px rgba(0, 0, 255, 0.5) inset;
box-shadow: 0px 5px 9px -7px rgba(0, 0, 255, 0.5) inset, 0px -3px 9px -7px rgba(0, 0, 255, 0.5) inset;
}
.nav-hierarchy {
padding-left: 16px;
}
div#wrap .carousel {
top: -20px;
}
/* -- Hack for removing double scrollbar from mobile preview -- */
div#mobile-preview.modal {
overflow: hidden;
overflow-y: hidden;
}
ul.nav-stacked > li > a {
padding: 2px 15px;
}
#customize-menu .dropdown-header {
text-transform: uppercase;
}
/* ---- PUBLISH BUTTON ---- */
a.css_unpublish .css_unpublish {
display: none;
}
a.css_unpublish:hover .css_unpublish {
display: inline;
}
a.css_unpublish:hover .css_publish {
display: none;
}
a.css_publish .css_publish {
display: none;
}
a.css_publish:hover .css_publish {
display: inline;
}
a.css_publish:hover .css_unpublish {
display: none;
}