summaryrefslogtreecommitdiff
path: root/addons/website/static/src/css/website-flatly.sass
diff options
context:
space:
mode:
authorFabien Pinckaers <fp@openerp.com>2013-08-11 23:09:27 +0200
committerFabien Pinckaers <fp@openerp.com>2013-08-11 23:09:27 +0200
commitdcfe89b6da910274fecb0f7d4dd979cf2694e1c8 (patch)
treeaf64ad757169594eb147743023d9b417cc5c8295 /addons/website/static/src/css/website-flatly.sass
parent2b6cb7f1f55941e5270d302adca7af49c86e66ef (diff)
[IMP] First Theme Example
bzr revid: fp@openerp.com-20130811210927-dys2ilkss3553r65
Diffstat (limited to 'addons/website/static/src/css/website-flatly.sass')
-rw-r--r--addons/website/static/src/css/website-flatly.sass76
1 files changed, 76 insertions, 0 deletions
diff --git a/addons/website/static/src/css/website-flatly.sass b/addons/website/static/src/css/website-flatly.sass
new file mode 100644
index 00000000000..892e3b08f44
--- /dev/null
+++ b/addons/website/static/src/css/website-flatly.sass
@@ -0,0 +1,76 @@
+@charset "utf-8"
+
+/*
+ * THIS CSS FILE IS FOR WEBSITE THEMING CUSTOMIZATION ONLY
+ *
+ * css for editor buttons, openerp widget included in the website and other
+ * stuff must go to the editor.css
+ *
+ */
+
+/* ----- GENERIC LAYOUTING HELPERS ---- */
+
+/* Grid of unequally tall elements */
+.grid > [class*="span"]
+ display: inline-block
+ float: none
+ vertical-align: top
+ margin-right: -4px
+ box-sizing: border-box
+ &.grid-align-top > [class*="span"]
+ vertical-align: top
+ &.grid-align-middle > [class*="span"]
+ vertical-align: middle
+ &.grid-align-bottom > [class*="span"]
+ vertical-align: bottom
+
+/* Table with two collumns aligned on the center */
+.table-equalized
+ width: 100%
+ td:first-child
+ width: 50%
+ text-align: right
+ padding-right: 1em
+ vertical-align: bottom
+ td:last-child
+ width: 50%
+ text-align: left
+ vertical-align: bottom
+
+/* Theming pagination inside navbar */
+.navbar-inner > .pagination
+ margin: 6px 0
+ ul
+ position: relative
+ top: 2px
+ border: solid 2px rgba(0,0,0,0.05)
+ border-radius: 8px
+
+/* ---- HOMEPAGE THEME CUSTOMIZATION ---- */
+
+.subheader
+ letter-spacing: 3px
+ font-weight: 300
+
+.dark
+ background: rgb(239, 248, 248)
+ padding: 64px
+
+h5
+ font-weight: bold
+
+#myCarousel .item
+ min-height: 300px
+ color: white
+
+.thumbnail
+ background: white
+
+.navbar .nav > li a
+ float: none
+ padding: 15px 15px 15px
+ color: #ffffff
+ text-decoration: none
+ text-shadow: 0 1px 0 #2c3e50
+
+