Files
odoo_source/addons/web/static/src/less/webclient.less
T
Aaron Bohy 977db823c7 [REF] web: stop duplicating web
Avoid duplicating web addon in enterprise by extracting a common basis.
Enterprise features stay in enterprise, but use that common basis.

Mainly:
 - JS refactoring and linting
 - Conversion of .sass into .less split into multiple files
 - Templates cleaning and DOM simplification
 - Re-generation of web.pot, and update of .po files
2016-04-21 15:21:39 +02:00

90 lines
2.1 KiB
Plaintext

// ------------------------------------------------------------------
// Typography
// ------------------------------------------------------------------
a {
color: @odoo-brand-optional;
&:hover {
color: darken(@odoo-brand-optional, 10%);
}
}
// ------------------------------------------------------------------
// General
// ------------------------------------------------------------------
.o_web_client {
background-color: @odoo-webclient-background-color;
}
.o_text_overflow {
.o-text-overflow();
}
.o_hidden {
display: none!important;
}
// ------------------------------------------------------------------
// Misc. widgets
// ------------------------------------------------------------------
@notification-error-bg-color: #F16567;
@notification-info-bg-color: #FCFBEA;
.o_notification_manager {
width: 300px;
max-width: 100%;
.o-position-absolute(@navbar-height, 0px);
z-index: 1100; // Bootstrap modal z-index is 1050
.o_notification {
padding: 0;
margin: 5px 0 0 0;
opacity: 0;
background-color: @notification-info-bg-color;
box-shadow: 0px 0px 5px 1px @odoo-main-text-color;
position: relative;
.o_close {
.o-position-absolute(5px, 5px);
color: rgba(0, 0, 0, 0.3);
text-decoration: none;
}
.o_notification_title {
.o-flex-display();
.o-align-items(center);
border-bottom: 1px solid rgba(0, 0, 0, 0.1);
padding: 10px 10px 10px 20px;
font-weight: bold;
.o_icon {
display: inline-block;
margin-right: 20px;
color: rgba(0, 0, 0, 0.3);
}
}
.o_notification_content {
padding: 10px;
}
&.o_error {
color: white;
background-color: @notification-error-bg-color;
}
}
}
// Buttons
.o_icon_button {
background-color: transparent;
border: 0;
padding: 0;
outline: none;
}
.oe_highlight {
.btn-primary;
}