summaryrefslogtreecommitdiff
path: root/addons/website/static/src/css/common.sass
diff options
context:
space:
mode:
authorXavier Morel <xmo@openerp.com>2013-11-20 13:44:51 +0100
committerXavier Morel <xmo@openerp.com>2013-11-20 13:44:51 +0100
commitaa2208f580d1b189b9cf2d79cea72b4694f0da3d (patch)
treea252918dd60bf22ee57448ff5b43f5fb282e7626 /addons/website/static/src/css/common.sass
parent6b10be15b245e05adac2a54f0321305c6d5076d9 (diff)
[IMP] sass/compass use in website.sass
bzr revid: xmo@openerp.com-20131120124451-25m26kao051x6tam
Diffstat (limited to 'addons/website/static/src/css/common.sass')
-rw-r--r--addons/website/static/src/css/common.sass25
1 files changed, 25 insertions, 0 deletions
diff --git a/addons/website/static/src/css/common.sass b/addons/website/static/src/css/common.sass
new file mode 100644
index 00000000000..86e1f6655ef
--- /dev/null
+++ b/addons/website/static/src/css/common.sass
@@ -0,0 +1,25 @@
+@import "compass/css3"
+@import "compass/css3/user-interface"
+@import "compass/css3/transition"
+
+//smartphones, iPhone, portrait 480x320 phones
+$smart_phone: 320px
+//portrait e-readers (Nook/Kindle), smaller tablets @ 600 or @ 640 wide.*/
+$small-tablet: 481px
+//portrait tablets, portrait iPad, landscape e-readers, landscape 800x480 or 854x480 phones
+$portrait-tablet: 641px
+//tablet, landscape iPad, lo-res laptops ands desktops
+$tablet: 961px
+//big landscape tablets, laptops, and desktops
+$desktop: 1025px
+
+@mixin editor-font
+ font-size: 14px
+ font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', 'Consolas', 'source-code-pro', monospace
+ line-height: normal
+
+@mixin selection()
+ ::-moz-selection
+ @content
+ ::selection
+ @content