odoo/addons/web_dashboard/static/src/css/dashboard.css

307 lines
6.9 KiB
CSS

.openerp table.oe-dashboard {
width: 100%;
}
.openerp .oe-dashboard-links {
text-align: right;
margin: -2em 0.4em 1em 0;
}
.openerp .oe-dashboard-action {
margin: 0 0.5em 0.5em 0;
padding: 0px;
background-color: white;
border-radius: 3px;
-moz-border-radius: 3px;
-webkit-border-radius: 3px;
}
.openerp .oe-dashboard-action .oe-dashboard-action-header {
font-size: 85%;
font-weight: bold;
text-transform: uppercase;
text-indent: 10px;
vertical-align: center;
border-bottom: 1px solid #e5e5e5;
background: white url("/web/static/src/img/box-a-header-a.gif") 0% 0% repeat-x;
}
.openerp h2.oe-dashboard-action-header {
margin: 0;
padding:4px 4px;
-moz-border-radius-topleft: 3px;
-webkit-border-top-left-radius: 3px;
border-top-left-radius: 3px;
-moz-border-radius-topright: 3px;
-webkit-border-top-right-radius: 3px;
border-top-right-radius: 3px;
}
.openerp h2.oe-dashboard-action-header-empty {
padding-top: 0;
padding-bottom: 2px;
}
.openerp a.oe-dashboard-action-rename {
float: left;
padding-right: 4px;
position: relative;
top: 1px;
}
.openerp .oe-dashboard-action-input {
height: 16px;
position: relative;
top: 2px;
}
.openerp .oe-dashboard-action .oe-dashboard-action-header:hover {
cursor: move;
}
.openerp .oe-dashboard-action .ui-icon {
cursor: pointer;
}
.openerp .oe-dashboard-action .ui-icon:hover {
background-color: #ccc;
border-radius: 4px;
-moz-border-radius: 4px;
-webkit-border-radius: 4px;
}
.openerp .oe-dashboard-action .oe-dashboard-action-header .ui-icon {
float: right;
}
.openerp .oe-dashboard .ui-sortable-placeholder {
border: 1px dotted black;
visibility: visible !important;
height: 50px !important;
}
.openerp .oe-dashboard .ui-sortable-placeholder * {
visibility: hidden;
}
/* Base overwriting */
.openerp .oe-dashboard .oe-listview-content, .openerp .oe-dashboard .ui-widget-header {
border:none !important;
padding:0px 3px;
}
/* Layouts */
.openerp .oe-dashboard-layout_1 .oe-dashboard-column.index_0 {
width: 100%;
}
.openerp .oe-dashboard-layout_1 .oe-dashboard-column.index_1,
.openerp .oe-dashboard-layout_1 .oe-dashboard-column.index_2 {
display: none;
}
.openerp .oe-dashboard-layout_1-1 .oe-dashboard-column {
width: 50%;
}
.openerp .oe-dashboard-layout_1-1 .oe-dashboard-column.index_2 {
display: none;
}
.openerp .oe-dashboard-layout_1-1-1 .oe-dashboard-column {
width: 33%;
}
.openerp .oe-dashboard-layout_2-1 .oe-dashboard-column.index_0 {
width: 70%;
}
.openerp .oe-dashboard-layout_2-1 .oe-dashboard-column.index_1 {
width: 30%;
}
.openerp .oe-dashboard-layout_2-1 .oe-dashboard-column.index_2 {
display: none;
}
.openerp .oe-dashboard-layout_1-2 .oe-dashboard-column.index_0 {
width: 30%;
}
.openerp .oe-dashboard-layout_1-2 .oe-dashboard-column.index_1 {
width: 70%;
}
.openerp .oe-dashboard-layout_1-2 .oe-dashboard-column.index_2 {
display: none;
}
.openerp .oe-dashboard-layout-selector {
overflow: auto;
padding: 10px;
}
.openerp .oe-dashboard-layout-selector ul {
margin: 0;
padding: 0;
}
.openerp .oe-dashboard-layout-selector ul li {
position: relative;
float: left;
height: 51px;
list-style-type: none;
margin: 5px;
padding: 0;
width: 82px;
cursor: pointer;
border: 1px solid white;
}
.openerp .oe-dashboard-layout-selector ul li:hover {
border: 1px solid #090;
}
.openerp .oe-dashboard-layout-selector ul li img.oe-selected-layout {
position: absolute;
top: 0px;
right: 0px;
}
.openerp .oe-dashboard-config-overview .oe-config-progress {
border: 1px inset #d9d9d9;
background-color: #f2f2f2;
padding: 0.5em;
-webkit-border-radius: 0.5em;
-moz-border-radius: 0.5em;
border-radius: 0.5em;
}
.openerp .oe-dashboard-config-overview .oe-config-progress-title {
font-size: 1.1em;
font-weight: bold;
text-transform: uppercase;
margin: 0 0 0.5em 0;
}
.openerp .oe-dashboard-config-overview dt {
font-weight: bold;
text-transform: uppercase;
border-top: 1px solid #eee;
padding-top: 0.5em;
}
.openerp .oe-dashboard-config-overview dt:first-child {
border-top: none;
}
.openerp .oe-dashboard-config-overview dd {
margin-left: 1em;
padding-bottom: 0.5em;
}
.openerp .oe-dashboard-config-overview ul {
list-style: none;
padding: 0;
margin: 0;
}
.openerp .oe-dashboard-config-overview li {
cursor: pointer;
position: relative;
text-indent: 20px;
}
.openerp .oe-dashboard-config-overview li:hover {
cursor: pointer;
background-color: #f7f7f7;
}
.openerp .oe-dashboard-config-overview li.oe-done {
cursor: default;
color: #999999;
}
.openerp .oe-dashboard-layout_2-1 .index_0 .oe-dashboard-config-overview ul,
.openerp .oe-dashboard-layout_1-2 .index_1 .oe-dashboard-config-overview ul {
-moz-column-count: 2;
-webkit-column-count: 2;
column-count: 2;
}
.openerp .oe-dashboard-config-overview li span.ui-icon {
position: absolute;
top: 0;
left: 0;
}
.openerp .oe-dashboard-home-tile {
text-align: center;
margin: 10px;
-webkit-border-radius: 10px;
-moz-border-radius: 10px;
border-radius: 10px;
-webkit-box-shadow: 3px 3px 5px 3px #DADDDD;
-moz-box-shadow: 3px 3px 5px 3px #DADDDD;
box-shadow: 3px 3px 5px 3px #DADDDD;
}
.openerp .oe-dashboard-home-tile span {
display: block;
padding: 0 0 15px;
font-weight: bold;
text-transform: uppercase;
color: #555;
white-space: nowrap;
}
.openerp .oe-dashboard-home-tile-icon {
height: 100px;
}
.openerp .oe-dashboard-home-tile-icon img {
display: block;
margin: 0 auto;
}
.openerp .oe-dashboard-home-tile-icon img.hover {
display: none;
}
.openerp .oe-dashboard-home-tile:hover {
background-color: #fafafa;
-webkit-box-shadow: 3px 3px 5px 3px #979797;
-moz-box-shadow: 3px 3px 5px 3px #979797;
box-shadow: 3px 3px 5px 3px #979797;
}
.openerp .oe-dashboard-home-tile:hover img {
display: none;
}
.openerp .oe-dashboard-home-tile:hover img.hover {
display: block;
}
.openerp .oe-dashboard-home-tile:hover span {
color: black;
}
.openerp .oe-dashboard-action .view-manager-main-content {
padding: 2px;
}
.oe-static-home {
padding: 0.5em 0.5em;
text-align: center;
}
.oe-static-home h1 {
margin: 0 0 0.3em
}
.oe-static-home-banner {
display: inline-block;
margin: auto 0;
padding: 0.5em 5em;
text-align: left;
}
.oe-static-home-banner li {
font-size: 150%;
font-weight: bold;
}
.oe-static-home address {
font-style: normal;
padding-left: 2em;
}
.oe-static-home-tiles {
text-align: left;
}
.oe-static-home-tiles td {
vertical-align: top;
}
.oe-static-home-tile {
margin: 0.5em;
padding: 0 1em;
}
.oe-static-home-tile-logo {
margin-right: 0.5em;
}
.oe-static-home-tile-text h2 {
margin-top: 0;
margin-bottom: 0.2em;
}
.oe-static-home-tile-text p {
margin: 0.5em 0;
}