[MERGE] Less intrusive timezone offset warning (comes with corresponding server branch)
[odoo/odoo.git] / addons / web / static / src / css / base.sass
index 7710cad..c320230 100644 (file)
@@ -432,14 +432,6 @@ $sheet-padding: 16px
     .oe_image_medium > img
         max-width: 180px
         max-height: 180px
-    .oe_view_manager_current
-        a.accessactive
-            display: inline-block
-            text-decoration: none
-        .accessactive:first-letter
-            text-decoration: underline
-            text-shadow: 0 1px 1px rgba(0, 0, 0, 0.2)
-            font-weight: bold
     .oe_button.oe_link
         @include reset()
         img
@@ -468,13 +460,6 @@ $sheet-padding: 16px
 
     // }}}
 
-    .oe_keyImage_old_pwd input
-        background: url(/web/static/src/img/old_key.png) no-repeat 4px !important
-        padding-left: 22px
-    .oe_keyImage_new_pwd input
-        background: url(/web/static/src/img/new_key.png) no-repeat 4px !important
-        padding-left: 22px
-
     // Tags (for many2many tags, among others) {{{
     .oe_tag
         border: 1px solid $tag-border
@@ -579,7 +564,7 @@ $sheet-padding: 16px
         position: relative
         cursor: pointer
     .oe_dropdown_toggle
-        color: rgba(0,0,0,0.3)
+        color: #4C4C4C
         font-weight: normal
     .oe_dropdown_hover:hover .oe_dropdown_menu, .oe_dropdown_menu.oe_opened
         display: block
@@ -686,9 +671,21 @@ $sheet-padding: 16px
         border-bottom-right-radius: 8px
         border-bottom-left-radius: 8px
     // }}}
-    // Notification {{{
+    // Notifications {{{
     .oe_notification
         z-index: 1050
+    .oe_webclient_timezone_notification
+        a
+            color: white
+            text-decoration: underline
+        p
+            margin-top: 1em
+        dt
+            font-weight: bold
+    .oe_timezone_systray
+        span
+            margin-top: 1px
+            background-color: #f6cf3b
     // }}}
     // Login {{{
     .oe_login
@@ -701,8 +698,6 @@ $sheet-padding: 16px
             list-style-type: none
             padding: 0 0 4px 0
         button
-            float: right
-            display: inline-block
             cursor: pointer
             padding: 6px 16px
             border: 1px solid #222
@@ -1179,41 +1174,41 @@ $sheet-padding: 16px
     // List pager {{{
     .oe_list_pager
         line-height: 26px
-        .oe_pager_value
-            float: left
-            margin-right: 8px
-        ul.oe_pager_group
+    .oe_pager_value
+        float: left
+        margin-right: 8px
+    ul.oe_pager_group
+        padding: 0
+        margin: 0
+    .oe_pager_group
+        float: left
+        height: 24px
+        line-height: 24px
+        display: inline-block
+        border: 1px solid #ababab
+        cursor: pointer
+        @include radius(5px)
+        li
+            height: 24px
+            line-height: 24px
             padding: 0
             margin: 0
-        .oe_pager_group
+            list-style-type: none
             float: left
-            height: 24px
-            line-height: 24px
-            display: inline-block
-            border: 1px solid #ababab
-            cursor: pointer
-            @include radius(5px)
-            li
-                height: 24px
-                line-height: 24px
-                padding: 0
-                margin: 0
-                list-style-type: none
-                float: left
-                border-right: 1px solid #ababab
-                &:last-child
-                    border: none
+            border-right: 1px solid #ababab
+            &:last-child
+                border: none
+        a
+            color: #4c4c4c
+            padding: 0 8px
+            &:hover
+                text-decoration: none
+        .active
+            background: #999
+            @include box-shadow(0 1px 4px rgba(0,0,0,0.3) inset)
             a
-                color: #4c4c4c
-                padding: 0 8px
-                &:hover
-                    text-decoration: none
-            .active
-                background: #999
-                @include box-shadow(0 1px 4px rgba(0,0,0,0.3) inset)
-                a
-                    color: #fff
-                    text-shadow: 0 1px 2px rgba(0,0,0,0.4)
+                color: #fff
+                text-shadow: 0 1px 2px rgba(0,0,0,0.4)
     .oe_list_pager.oe_list_pager_single_page .oe_pager_group
         display: none
     // }}}
@@ -1551,13 +1546,20 @@ $sheet-padding: 16px
         font-size: 125%
         max-width: 700px
         .oe_view_nocontent_create
-            background: transparent url(/web/static/src/img/view_empty_arrow.png) no-repeat 7px 0
             margin-top: 0
             padding-top: 35px
-            min-height: 28px
             color: #4c4c4c
+            &:before
+                content: ""
+                display: inline-block
+                position: absolute
+                width: 70px
+                height: 80px
+                margin-left: -70px
+                margin-top: -50px
+                background: transparent url(/web/static/src/img/view_empty_arrow.png) no-repeat 0px 0px
         > p
-            padding-left: 95px
+            padding-left: 78px
         .oe_empty_custom_dashboard
             background: transparent url(/web/static/src/img/graph_background.png) no-repeat 0 0
             margin-top: -15px
@@ -1890,7 +1892,7 @@ $sheet-padding: 16px
             .oe_form_field_image_controls
                 position: absolute
                 top: 1px
-                padding: 4px
+                padding: 4px 0
                 width: 100%
                 display: none
                 text-align: center
@@ -1910,6 +1912,7 @@ $sheet-padding: 16px
             width: 100%
             left: +2px
             top: +7px
+            overflow: hidden
             button
                 display: inline
                 height: 24px
@@ -1932,10 +1935,11 @@ $sheet-padding: 16px
                     left: -9px
             input.oe_form_binary_file
                 display: inline-block
-                margin-left: -5px
-                height: 28px
-                width: 52px
-                margin-top: -26px
+                margin-left: -85px
+                height: 22px
+                width: 152px
+                margin-top: -24px
+                cursor: pointer
             .oe_attach_label
                 color: #7C7BAD
                 margin-left: -3px
@@ -2404,50 +2408,7 @@ div.ui-widget-overlay
     @include radius(3px)
 // }}}
 
-.resolution
-    width: 350px
-    background-color: white
-    margin-bottom: 15px
-    margin-left: 5px
-    position: relative
-    z-index: 10
-    .res
-        display: table
-        width: 100%
-
-div.res
-    border: 1px solid
-
-.resolution .res > div:not(.simtext)
-    border-bottom: 1px solid
-    height: 70px
-    clear: both
-
-.res .simtext
-    border-bottom: 0px
-    padding: 5px
-    height: auto
-
-.simtext span
-    font-size: 8px
-    color: grey
-
-.resolution .res div div
-    display: inline
-    position: absolute
-    padding-top: 30px
-    padding-left: 10px
-
-.res
-    img
-        width: 150px
-        height: 40px
-        padding-top: 20px
-        padding-left: 5px
-    span a
-        font-size: 10px
-        padding-right: 5px
-
+// @media print {{{
 @media print
     .openerp
         .oe_header_row, ul.oe_header, div.oe_mail_thread_action, .oe_mail_recthread_actions, .oe_button_box, .oe_form button, button.oe_invite, .oe_form header, .openerp .oe_notebook > li.ui-state-default, .oe_topbar, .oe_leftbar, .oe_loading