summaryrefslogtreecommitdiff
path: root/addons/web/static/src/css
diff options
context:
space:
mode:
authorChristophe Simonis <chs@openerp.com>2012-09-07 16:19:11 +0200
committerChristophe Simonis <chs@openerp.com>2012-09-07 16:19:11 +0200
commit33c575d2db2a37482d300c62773a41aeb249edda (patch)
treeb46b776575ad7a696c2ac875d995fe1f58f42be5 /addons/web/static/src/css
parent5bd23d30f514b5a971ed241ce33b1d47f5808638 (diff)
parentffc320dcc73a7636aa345eef4fb820863585a095 (diff)
merge upstream
bzr revid: chs@openerp.com-20120907141911-9i49qbednf7fgqkf
Diffstat (limited to 'addons/web/static/src/css')
-rw-r--r--addons/web/static/src/css/base.css120
-rw-r--r--addons/web/static/src/css/base.sass49
2 files changed, 94 insertions, 75 deletions
diff --git a/addons/web/static/src/css/base.css b/addons/web/static/src/css/base.css
index 226ccbd3513..8698fdb9f94 100644
--- a/addons/web/static/src/css/base.css
+++ b/addons/web/static/src/css/base.css
@@ -393,40 +393,38 @@
background: #dc5f59;
}
.openerp button.oe_highlight {
- background-color: #dc5f59;
- background-image: -webkit-gradient(linear, left top, left bottom, from(#dc5f59), to(#b33630));
- background-image: -webkit-linear-gradient(top, #dc5f59, #b33630);
- background-image: -moz-linear-gradient(top, #dc5f59, #b33630);
- background-image: -ms-linear-gradient(top, #dc5f59, #b33630);
- background-image: -o-linear-gradient(top, #dc5f59, #b33630);
- background-image: linear-gradient(to bottom, #dc5f59, #b33630);
- -moz-box-shadow: none;
- -webkit-box-shadow: none;
- box-shadow: none;
+ border: 1px solid #795151;
+ background-color: #df3f3f;
+ background-image: -webkit-gradient(linear, left top, left bottom, from(#df3f3f), to(#a21a1a));
+ background-image: -webkit-linear-gradient(top, #df3f3f, #a21a1a);
+ background-image: -moz-linear-gradient(top, #df3f3f, #a21a1a);
+ background-image: -ms-linear-gradient(top, #df3f3f, #a21a1a);
+ background-image: -o-linear-gradient(top, #df3f3f, #a21a1a);
+ background-image: linear-gradient(to bottom, #df3f3f, #a21a1a);
+ -moz-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1), 0 1px 1px rgba(155, 155, 155, 0.4) inset;
+ -webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1), 0 1px 1px rgba(155, 155, 155, 0.4) inset;
+ box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1), 0 1px 1px rgba(155, 155, 155, 0.4) inset;
+}
+.openerp button.oe_highlight:hover {
+ background-color: #e25858;
+ background-image: -webkit-gradient(linear, left top, left bottom, from(#e25858), to(#ab1b1b));
+ background-image: -webkit-linear-gradient(top, #e25858, #ab1b1b);
+ background-image: -moz-linear-gradient(top, #e25858, #ab1b1b);
+ background-image: -ms-linear-gradient(top, #e25858, #ab1b1b);
+ background-image: -o-linear-gradient(top, #e25858, #ab1b1b);
+ background-image: linear-gradient(to bottom, #e25858, #ab1b1b);
}
.openerp button.oe_highlight:active {
- background-color: #b33630;
- background-image: -webkit-gradient(linear, left top, left bottom, from(#b33630), to(#dc5f59));
- background-image: -webkit-linear-gradient(top, #b33630, #dc5f59);
- background-image: -moz-linear-gradient(top, #b33630, #dc5f59);
- background-image: -ms-linear-gradient(top, #b33630, #dc5f59);
- background-image: -o-linear-gradient(top, #b33630, #dc5f59);
- background-image: linear-gradient(to bottom, #b33630, #dc5f59);
- -moz-box-shadow: none;
- -webkit-box-shadow: none;
- box-shadow: none;
+ background-color: #c52020;
+ background-image: -webkit-gradient(linear, left top, left bottom, from(#c52020), to(#d22323));
+ background-image: -webkit-linear-gradient(top, #c52020, #d22323);
+ background-image: -moz-linear-gradient(top, #c52020, #d22323);
+ background-image: -ms-linear-gradient(top, #c52020, #d22323);
+ background-image: -o-linear-gradient(top, #c52020, #d22323);
+ background-image: linear-gradient(to bottom, #c52020, #d22323);
}
-.openerp button.oe_highlight:hover {
- background-color: #df6b66;
- background-image: -webkit-gradient(linear, left top, left bottom, from(#df6b66), to(#bf3a33));
- background-image: -webkit-linear-gradient(top, #df6b66, #bf3a33);
- background-image: -moz-linear-gradient(top, #df6b66, #bf3a33);
- background-image: -ms-linear-gradient(top, #df6b66, #bf3a33);
- background-image: -o-linear-gradient(top, #df6b66, #bf3a33);
- background-image: linear-gradient(to bottom, #df6b66, #bf3a33);
- -moz-box-shadow: 0 0 1px rgba(0, 0, 0, 0.2);
- -webkit-box-shadow: 0 0 1px rgba(0, 0, 0, 0.2);
- box-shadow: 0 0 1px rgba(0, 0, 0, 0.2);
+.openerp .oe_background_grey {
+ background: #eeeeee !important;
}
.openerp .oe_form_dirty .oe_highlight_on_dirty {
color: white;
@@ -472,9 +470,9 @@
-moz-border-radius: 3px;
-webkit-border-radius: 3px;
border-radius: 3px;
- -moz-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
- -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
- box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
+ -moz-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
+ -webkit-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
+ box-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
border: none;
margin-bottom: 10px;
}
@@ -864,9 +862,9 @@
font-family: "Lucida Grande", Helvetica, Verdana, Arial;
border: 1px solid #999999;
background: whitesmoke;
- -moz-box-shadow: inset 0 1px 4px rgba(0, 0, 0, 0.3);
- -webkit-box-shadow: inset 0 1px 4px rgba(0, 0, 0, 0.3);
- box-shadow: inset 0 1px 4px rgba(0, 0, 0, 0.3);
+ -moz-box-shadow: inset 0 1px 4px rgba(0, 0, 0, 0.4);
+ -webkit-box-shadow: inset 0 1px 4px rgba(0, 0, 0, 0.4);
+ box-shadow: inset 0 1px 4px rgba(0, 0, 0, 0.4);
-moz-border-radius: 3px;
-webkit-border-radius: 3px;
border-radius: 3px;
@@ -1009,7 +1007,6 @@
.openerp .oe_topbar {
width: 100%;
height: 31px;
- border-top: solid 1px #d3d3d3;
background-color: #646060;
background-image: -webkit-gradient(linear, left top, left bottom, from(#646060), to(#262626));
background-image: -webkit-linear-gradient(top, #646060, #262626);
@@ -1234,24 +1231,26 @@
.openerp .oe_secondary_submenu .oe_menu_counter {
float: right;
text-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);
- margin: 0px;
+ margin: 1px;
padding: 1px 4px;
+ border: none;
}
.openerp .oe_secondary_submenu .oe_menu_counter:hover {
cursor: pointer;
- border: 1px solid #c81010;
- -moz-box-shadow: 0 0 2px #c81010;
- -webkit-box-shadow: 0 0 2px #c81010;
- box-shadow: 0 0 2px #c81010;
+ -webkit-transform: scale(1.1);
+ -moz-transform: scale(1.1);
+ -ms-transform: scale(1.1);
+ -o-transform: scale(1.1);
+ transform: scale(1.1);
}
.openerp .oe_secondary_submenu .oe_active {
- background: #7c7bad;
border-top: 1px solid lightGray;
- border-bottom: 1px solid lightGray;
+ border-bottom: 1px solid #dedede;
text-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);
- -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.2);
- -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.2);
- box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.2);
+ -moz-box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.2), inset 0 -1px 3px rgba(40, 40, 40, 0.2);
+ -webkit-box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.2), inset 0 -1px 3px rgba(40, 40, 40, 0.2);
+ box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.2), inset 0 -1px 3px rgba(40, 40, 40, 0.2);
+ background: #7c7bad;
}
.openerp .oe_secondary_submenu .oe_active a {
color: white;
@@ -1267,6 +1266,9 @@
.openerp .oe_secondary_submenu .oe_active .oe_menu_counter {
background: #eeeeee;
color: #7c7bad;
+ -moz-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.2);
+ -webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.2);
+ box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.2);
}
.openerp .oe_secondary_submenu .oe_menu_toggler:before {
width: 0;
@@ -2005,6 +2007,7 @@
.openerp .oe_form header {
position: relative;
border-bottom: 1px solid #cacaca;
+ padding-left: 2px;
background-color: #fcfcfc;
background-image: -webkit-gradient(linear, left top, left bottom, from(#fcfcfc), to(#dedede));
background-image: -webkit-linear-gradient(top, #fcfcfc, #dedede);
@@ -2017,6 +2020,9 @@
display: inline-block;
float: right;
}
+.openerp .oe_form header .oe_form_button {
+ margin: 3px 2px 1px;
+}
.openerp .oe_form div.oe_chatter {
min-width: 650px;
max-width: 860px;
@@ -2036,7 +2042,7 @@
min-width: 150px;
}
.openerp .oe_form div.oe_form_configuration .oe_form_group_cell_label {
- padding: 2px 0;
+ padding: 1px 0;
}
.openerp .oe_form div.oe_form_configuration .oe_form_group_cell div div {
padding: 1px 0;
@@ -2201,7 +2207,7 @@
}
.openerp .oe_form td.oe_form_group_cell_label {
border-right: 1px solid #dddddd;
- padding: 4px 0px 4px 0px;
+ padding: 2px 0px;
}
.openerp .oe_form td.oe_form_group_cell_label label {
line-height: 18px;
@@ -2209,7 +2215,7 @@
min-width: 140px;
}
.openerp .oe_form td.oe_form_group_cell + .oe_form_group_cell {
- padding-left: 6px;
+ padding: 2px 0 2px 8px;
}
.openerp .oe_form .oe_form_group {
width: 100%;
@@ -2221,7 +2227,7 @@
.openerp .oe_form .oe_form_label_help[for], .openerp .oe_form .oe_form_label[for] {
font-weight: bold;
white-space: nowrap;
- padding-right: 6px;
+ padding-right: 8px;
}
.openerp .oe_form .oe_form_label_help[for] span, .openerp .oe_form .oe_form_label[for] span {
font-size: 80%;
@@ -2297,7 +2303,6 @@
width: 100%;
display: inline-block;
padding: 2px 2px 2px 0px;
- line-height: 1em;
}
.openerp .oe_form .oe_form_field input {
margin: 0px;
@@ -2595,6 +2600,15 @@
margin: 0 !important;
padding: 0;
}
+.openerp .oe_list .oe_list_content .oe_group_header {
+ background-color: #fcfcfc;
+ background-image: -webkit-gradient(linear, left top, left bottom, from(#fcfcfc), to(#dedede));
+ background-image: -webkit-linear-gradient(top, #fcfcfc, #dedede);
+ background-image: -moz-linear-gradient(top, #fcfcfc, #dedede);
+ background-image: -ms-linear-gradient(top, #fcfcfc, #dedede);
+ background-image: -o-linear-gradient(top, #fcfcfc, #dedede);
+ background-image: linear-gradient(to bottom, #fcfcfc, #dedede);
+}
.openerp .oe_list_content {
width: 100%;
}
diff --git a/addons/web/static/src/css/base.sass b/addons/web/static/src/css/base.sass
index 13f740f218c..374f3a6fc4e 100644
--- a/addons/web/static/src/css/base.sass
+++ b/addons/web/static/src/css/base.sass
@@ -379,15 +379,15 @@ $sheet-max-width: 860px
color: white
background: #DC5F59
button.oe_highlight
- @include vertical-gradient(#dc5f59, #b33630)
- @include box-shadow(none)
- button.oe_highlight:active
- @include vertical-gradient(#b33630, #dc5f59)
- @include box-shadow(none)
+ border: 1px solid #795151
+ @include vertical-gradient(#df3f3f, #a21a1a)
+ @include box-shadow((0 1px 2px rgba(0, 0, 0, 0.1), 0 1px 1px rgba(155, 155, 155, 0.4) inset))
button.oe_highlight:hover
- @include vertical-gradient(#DF6B66, #BF3A33)
- //@include vertical-gradient(lighten(#dc5f59, 3%), lighten(#b33630, 3%))
- @include box-shadow(0 0 1px rgba(0, 0, 0, 0.2))
+ @include vertical-gradient(lighten(#e04f4f, 2%), lighten(#a21a1a, 2%))
+ button.oe_highlight:active
+ @include vertical-gradient(lighten(#a21a1a, 8%), darken(#df3f3f, 8%))
+ .oe_background_grey
+ background: #eee !important
.oe_form_dirty
.oe_highlight_on_dirty
@@ -418,7 +418,7 @@ $sheet-max-width: 860px
max-height: 90px
max-width: 90px
@include radius(3px)
- @include box-shadow(0 1px 3px rgba(0, 0, 0, 0.3))
+ @include box-shadow(0 1px 4px rgba(0, 0, 0, 0.4))
border: none
margin-bottom: 10px
.oe_avatar + div
@@ -689,7 +689,7 @@ $sheet-max-width: 860px
font-family: "Lucida Grande", Helvetica, Verdana, Arial
border: 1px solid #999999
background: whitesmoke
- @include box-shadow(inset 0 1px 4px rgba(0, 0, 0, 0.3))
+ @include box-shadow(inset 0 1px 4px rgba(0, 0, 0, 0.4))
@include radius(3px)
input
margin-bottom: 9px
@@ -794,7 +794,6 @@ $sheet-max-width: 860px
.oe_topbar
width: 100%
height: 31px
- border-top: solid 1px #d3d3d3
@include vertical-gradient(#646060, #262626)
@include semantic-html-override
.oe_topbar_item
@@ -948,18 +947,18 @@ $sheet-max-width: 860px
.oe_menu_counter
float: right
text-shadow: 0 1px 1px rgba(0,0,0,0.2)
- margin: 0px
+ margin: 1px
padding: 1px 4px
+ border: none
&:hover
cursor: pointer
- border: 1px solid #C81010
- @include box-shadow(0 0 2px #C81010)
+ @include transform(scale(1.1))
.oe_active
- background: $link-color
border-top: 1px solid lightGray
- border-bottom: 1px solid lightGray
+ border-bottom: 1px solid #dedede
text-shadow: 0 1px 1px rgba(0,0,0,0.2)
- @include box-shadow(inset 0 1px 1px rgba(0, 0, 0, 0.2))
+ @include box-shadow((inset 0 1px 3px rgba(0, 0, 0, 0.2), inset 0 -1px 3px rgba(40, 40, 40, 0.2)))
+ background: $link-color
a
color: white
.oe_menu_label
@@ -970,6 +969,7 @@ $sheet-max-width: 860px
.oe_menu_counter
background: #eee
color: $link-color
+ @include box-shadow(inset 0 1px 2px rgba(0, 0, 0, 0.2))
.oe_menu_toggler:before
width: 0
height: 0
@@ -1545,10 +1545,13 @@ $sheet-max-width: 860px
header
position: relative
border-bottom: 1px solid #cacaca
+ padding-left: 2px
@include vertical-gradient(#fcfcfc, #dedede)
ul
display: inline-block
float: right
+ .oe_form_button
+ margin: 3px 2px 1px
div.oe_chatter
min-width: 650px
max-width: $sheet-max-width
@@ -1565,7 +1568,7 @@ $sheet-max-width: 860px
label
min-width: 150px
.oe_form_group_cell_label
- padding: 2px 0
+ padding: 1px 0
.oe_form_group_cell div div
padding: 1px 0
ul.oe_form_steps, ul.oe_form_steps_clickable
@@ -1661,13 +1664,13 @@ $sheet-max-width: 860px
margin: 2px
td.oe_form_group_cell_label
border-right: 1px solid #ddd
- padding: 4px 0px 4px 0px
+ padding: 2px 0px
label
line-height: 18px
display: block
min-width: 140px
td.oe_form_group_cell + .oe_form_group_cell
- padding-left: 6px
+ padding: 2px 0 2px 8px
.oe_form_group
width: 100%
margin: 9px 0 9px 0
@@ -1679,7 +1682,7 @@ $sheet-max-width: 860px
.oe_form_label_help[for], .oe_form_label[for]
font-weight: bold
white-space: nowrap
- padding-right: 6px
+ padding-right: 8px
span
font-size: 80%
color: darkGreen
@@ -1742,7 +1745,6 @@ $sheet-max-width: 860px
width: 100%
display: inline-block
padding: 2px 2px 2px 0px
- line-height: 1em
input
margin: 0px
input[type="text"], input[type="password"], input[type="file"], select
@@ -1991,6 +1993,8 @@ $sheet-max-width: 860px
position: absolute
margin: 0 !important // dammit
padding: 0
+ .oe_list_content .oe_group_header
+ @include vertical-gradient(#fcfcfc, #dedede)
.oe_list_content
width: 100%
@@ -2050,6 +2054,7 @@ $sheet-max-width: 860px
> tr:nth-child(odd)
background-color: #f0f0fa
@include vertical-gradient(#f0f0fa, #eeeef6)
+
> tfoot
border-top: 2px solid #cacaca
border-bottom: 1px solid #cacaca