summaryrefslogtreecommitdiff
path: root/addons/web/static/src/css
diff options
context:
space:
mode:
authorMinh Tran <mit@openerp.com>2012-05-11 17:42:48 +0200
committerMinh Tran <mit@openerp.com>2012-05-11 17:42:48 +0200
commit5bab3fd0630165232ee0d95ce1869f3e2214b72c (patch)
treed1b39ef6af34ef7a6c866dc3107b4e6163d3966b /addons/web/static/src/css
parent8ca6b6f4c6508727d121f0af82a759adf61cbd3c (diff)
Improved view switcher icons
bzr revid: mit@openerp.com-20120511154248-1g7blcfevp9w0mk7
Diffstat (limited to 'addons/web/static/src/css')
-rw-r--r--addons/web/static/src/css/base.css37
-rw-r--r--addons/web/static/src/css/base.sass47
2 files changed, 68 insertions, 16 deletions
diff --git a/addons/web/static/src/css/base.css b/addons/web/static/src/css/base.css
index 623542a91fc..912a216e038 100644
--- a/addons/web/static/src/css/base.css
+++ b/addons/web/static/src/css/base.css
@@ -9,6 +9,17 @@
font-style: normal;
}
+@font-face {
+ font-family: "EntypoRegular";
+ src: url("/web/static/src/font/entypo-webfont.eot") format("eot");
+ src: url("/web/static/src/font/entypo-webfont.eot?#iefix") format("embedded-opentype");
+ src: url("/web/static/src/font/entypo-webfont.woff") format("woff");
+ src: url("/web/static/src/font/entypo-webfont.ttf") format("truetype");
+ src: url("/web/static/src/font/entypo-webfont.svg") format("svg") active;
+ font-weight: normal;
+ font-style: normal;
+}
+
.openerp.openerp-web-client-container {
height: 100%;
position: relative;
@@ -93,6 +104,11 @@
font-size: 21px;
font-weight: 300 !important;
}
+.openerp .oe_e {
+ font-family: "entypoRegular" !important;
+ font-size: 34px;
+ font-weight: 300 !important;
+}
.openerp .oe_left {
float: left;
margin-right: 8px;
@@ -1035,29 +1051,34 @@
text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
}
.openerp .oe_view_manager_switch li {
- padding-left: 1px;
text-align: center;
width: 24px;
height: 24px;
- line-height: 24px;
+ line-height: 16px;
}
.openerp .oe_view_manager_switch .oe_vm_switch_list:after, .openerp .oe_view_manager_switch .oe_vm_switch_tree:after {
- content: "ö";
+ padding: 2px;
+ content: "i";
}
.openerp .oe_view_manager_switch .oe_vm_switch_graph:after {
- content: "ó";
+ font-family: "mnmliconsRegular" !important;
+ font-size: 21px;
+ font-weight: 300 !important;
+ content: "}";
+ position: relative;
+ top: -2px;
}
.openerp .oe_view_manager_switch .oe_vm_switch_gantt:after {
- content: "y";
+ content: "c";
}
.openerp .oe_view_manager_switch .oe_vm_switch_calendar:after {
- content: "b";
+ content: "P";
}
.openerp .oe_view_manager_switch .oe_vm_switch_kanban:after {
- content: "ó";
+ content: "k";
}
.openerp .oe_view_manager_switch .oe_vm_switch_diagram:after {
- content: "}";
+ content: "f";
}
.openerp .oe_form_dropdown_section {
position: relative;
diff --git a/addons/web/static/src/css/base.sass b/addons/web/static/src/css/base.sass
index 3f36930c22d..c736505c481 100644
--- a/addons/web/static/src/css/base.sass
+++ b/addons/web/static/src/css/base.sass
@@ -16,6 +16,16 @@ $colour4: #8a89ba
font-weight: normal
font-style: normal
+@font-face
+ font-family: 'EntypoRegular'
+ src: url('/web/static/src/font/entypo-webfont.eot') format('eot')
+ src: url('/web/static/src/font/entypo-webfont.eot?#iefix') format('embedded-opentype')
+ src: url('/web/static/src/font/entypo-webfont.woff') format('woff')
+ src: url('/web/static/src/font/entypo-webfont.ttf') format('truetype')
+ src: url('/web/static/src/font/entypo-webfont.svg') format('svg') active
+ font-weight: normal
+ font-style: normal
+
@mixin vertical-gradient($startColor: #555, $endColor: #333)
background-color: $startColor
background-image: -webkit-gradient(linear, left top, left bottom, from($startColor), to($endColor)) /* Saf4+, Chrome */
@@ -123,6 +133,10 @@ $colour4: #8a89ba
font-family: "mnmliconsRegular" !important
font-size: 21px
font-weight: 300 !important
+ .oe_e
+ font-family: "entypoRegular" !important
+ font-size: 34px
+ font-weight: 300 !important
.oe_left
float: left
margin-right: 8px
@@ -810,23 +824,40 @@ $colour4: #8a89ba
// ViewManager.switches {{{
.oe_view_manager_switch
li
- padding-left: 1px
text-align: center
width: 24px
height: 24px
- line-height: 24px
+ line-height: 16px
.oe_vm_switch_list:after, .oe_vm_switch_tree:after
- content: "ö"
+ padding: 2px
+ content: "i"
.oe_vm_switch_graph:after
- content: "ó"
+ font-family: "mnmliconsRegular" !important
+ font-size: 21px
+ font-weight: 300 !important
+ content: "}"
+ position: relative
+ top: -2px
.oe_vm_switch_gantt:after
- content: "y"
+ content: "c"
.oe_vm_switch_calendar:after
- content: "b"
+ content: "P"
.oe_vm_switch_kanban:after
- content: "ó"
+ content: "k"
.oe_vm_switch_diagram:after
- content: "}"
+ content: "f"
+ //.oe_vm_switch_list:after, .oe_vm_switch_tree:after
+ //content: "ö"
+ //.oe_vm_switch_graph:after
+ //content: "ó"
+ //.oe_vm_switch_gantt:after
+ //content: "y"
+ //.oe_vm_switch_calendar:after
+ //content: "b"
+ //.oe_vm_switch_kanban:after
+ //content: "ó"
+ //.oe_vm_switch_diagram:after
+ //content: "}"
// }}}
// ViewManager.sidebar {{{
.oe_form_dropdown_section