ajay javiya (OpenERP) has proposed merging 
lp:~openerp-commiter/openerp-web/trunk-red-button-addcolor-aja into 
lp:~openerp-dev/openerp-web/trunk-red-button.

Requested reviews:
  Jigar Amin  (OpenERP) (jam-openerp)

For more details, see:
https://code.launchpad.net/~openerp-commiter/openerp-web/trunk-red-button-addcolor-aja/+merge/109817

Hello 
Add two css class for active flow and return flow.
Thank You
-- 
https://code.launchpad.net/~openerp-commiter/openerp-web/trunk-red-button-addcolor-aja/+merge/109817
Your team OpenERP R&D Team is subscribed to branch 
lp:~openerp-dev/openerp-web/trunk-red-button.
=== modified file 'addons/web/static/src/css/base.css'
--- addons/web/static/src/css/base.css	2012-06-11 09:26:41 +0000
+++ addons/web/static/src/css/base.css	2012-06-12 11:40:28 +0000
@@ -48,7 +48,7 @@
   background: white;
   /* http://www.quirksmode.org/dom/inputfile.html
    * http://stackoverflow.com/questions/2855589/replace-input-type-file-by-an-image
-   */
+   */ */
 }
 .openerp a {
   text-decoration: none;
@@ -1593,6 +1593,44 @@
   -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_form_readonly button.oe_form_button_active_flow {
+  color: white;
+  background: #dc5f59;
+  background: -moz-linear-gradient(#dc5f59, #b33630);
+  background: -webkit-gradient(linear, left top, left bottom, from(#dc5f59), to(#b33630));
+  background: -webkit-linear-gradient(#dc5f59, #b33630);
+  -moz-box-shadow: none;
+  -webkit-box-shadow: none;
+  -box-shadow: none;
+}
+.openerp .oe_form_readonly button.oe_form_button_active_flow:hover {
+  background: #df6b66;
+  background: -moz-linear-gradient(#df6b66, #bf3a33);
+  background: -webkit-gradient(linear, left top, left bottom, from(#df6b66), to(#bf3a33));
+  background: -webkit-linear-gradient(#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_form_readonly button.oe_form_button_return_flow {
+  color: black;
+  background: #ababab;
+  background: -moz-linear-gradient(#ababab, #b0b0b0);
+  background: -webkit-gradient(linear, left top, left bottom, from(#ababab), to(#b0b0b0));
+  background: -webkit-linear-gradient(#ababab, #b0b0b0);
+  -moz-box-shadow: none;
+  -webkit-box-shadow: none;
+  -box-shadow: none;
+}
+.openerp .oe_form_readonly button.oe_form_button_return_flow:hover {
+  background: black;
+  background: -moz-linear-gradient(#b0b0b0, #d9d9d9);
+  background: -webkit-gradient(linear, left top, left bottom, from(#b0b0b0), to(#d9d9d9));
+  background: -webkit-linear-gradient(#b0b0b0, #d9d9d9);
+  -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_application .oe_form_sheetbg {
   background: url(/web/static/src/img/form_sheetbg.png);
   padding: 8px 0;

=== modified file 'addons/web/static/src/css/base.sass'
--- addons/web/static/src/css/base.sass	2012-06-11 09:26:41 +0000
+++ addons/web/static/src/css/base.sass	2012-06-12 11:40:28 +0000
@@ -1274,6 +1274,40 @@
             -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)
+        button.oe_form_button_active_flow 
+            color: white
+            background: #DC5F59
+            background: -moz-linear-gradient(#DC5F59, #B33630)
+            background: -webkit-gradient(linear, left top, left bottom, from(#DC5F59), to(#B33630))
+            background: -webkit-linear-gradient(#DC5F59, #B33630)
+            -moz-box-shadow: none
+            -webkit-box-shadow: none
+            -box-shadow: none
+        button.oe_form_button_active_flow:hover
+            background: #DF6B66
+            background: -moz-linear-gradient( #DF6B66, #BF3A33)
+            background: -webkit-gradient(linear, left top, left bottom, from( #DF6B66), to( #BF3A33))
+            background: -webkit-linear-gradient( #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)
+        button.oe_form_button_return_flow
+            color: black
+            background: #ABABAB
+            background: -moz-linear-gradient(#ABABAB, #B0B0B0)
+            background: -webkit-gradient(linear, left top, left bottom, from(#ABABAB), to(#B0B0B0))
+            background: -webkit-linear-gradient(#ABABAB, #B0B0B0)
+            -moz-box-shadow: none
+            -webkit-box-shadow: none
+            -box-shadow: none
+        button.oe_form_button_return_flow:hover
+            background: black
+            background: -moz-linear-gradient(#B0B0B0,  #D9D9D9)
+            background: -webkit-gradient(linear, left top, left bottom, from(#B0B0B0), to( #D9D9D9))
+            background: -webkit-linear-gradient(#B0B0B0,  #D9D9D9)
+            -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)
     .oe_application
         .oe_form_sheetbg
             background: url(/web/static/src/img/form_sheetbg.png)

_______________________________________________
Mailing list: https://launchpad.net/~openerp-dev-gtk
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~openerp-dev-gtk
More help   : https://help.launchpad.net/ListHelp

Reply via email to