summaryrefslogtreecommitdiff
path: root/addons/lunch/static/src
diff options
context:
space:
mode:
authorFabien Pinckaers <fp@tinyerp.com>2012-10-31 11:23:07 +0100
committerFabien Pinckaers <fp@tinyerp.com>2012-10-31 11:23:07 +0100
commita692a215469aaeec2515286be08d7bfbbf355c27 (patch)
tree5cf6415f7da5bc9d46a9c00d007a8c72a1934a4a /addons/lunch/static/src
parent73c7c2f2c02805db5e3ea8210f4ac5222555c1f1 (diff)
[IMP] CSS lunch
bzr revid: fp@tinyerp.com-20121031102307-d4s8sq9v32poebzj
Diffstat (limited to 'addons/lunch/static/src')
-rw-r--r--addons/lunch/static/src/css/Makefile3
-rw-r--r--addons/lunch/static/src/css/lunch.css37
-rw-r--r--addons/lunch/static/src/css/lunch.sass32
-rw-r--r--addons/lunch/static/src/css/lunch_style.css61
4 files changed, 72 insertions, 61 deletions
diff --git a/addons/lunch/static/src/css/Makefile b/addons/lunch/static/src/css/Makefile
new file mode 100644
index 00000000000..941e8dbfe7d
--- /dev/null
+++ b/addons/lunch/static/src/css/Makefile
@@ -0,0 +1,3 @@
+lunch.css: lunch.sass
+ sass -t expanded lunch.sass lunch.css
+
diff --git a/addons/lunch/static/src/css/lunch.css b/addons/lunch/static/src/css/lunch.css
new file mode 100644
index 00000000000..8f4aa1dcd39
--- /dev/null
+++ b/addons/lunch/static/src/css/lunch.css
@@ -0,0 +1,37 @@
+@charset "utf-8";
+.openerp .oe_lunch .oe_lunch_alert textarea {
+ background-color: #ffc7c7;
+ padding: 10px;
+ height: 1em;
+ margin-bottom: 20px;
+}
+.openerp .oe_lunch button.oe_button_add {
+ position: relative;
+ top: -2px;
+ left: 3px;
+}
+.openerp .oe_lunch button.oe_button_plus {
+ margin: -2px;
+}
+.openerp .oe_lunch .oe_lunch_30pc {
+ width: 30%;
+ display: inline-block;
+ vertical-align: top;
+}
+.openerp .oe_lunch .oe_lunch_30pc + .oe_lunch_30pc {
+ padding-left: 5%;
+}
+.openerp .oe_lunch h2 {
+ color: #7c7bad;
+}
+.openerp .oe_lunch .oe_lunch_button {
+ float: right;
+}
+.openerp .oe_lunch .oe_lunch_vignette {
+ border-bottom: 1px solid #dddddd;
+ padding-top: 5px;
+ padding-bottom: 5px;
+}
+.openerp .oe_lunch .oe_group_text_button {
+ margin-bottom: 3px;
+}
diff --git a/addons/lunch/static/src/css/lunch.sass b/addons/lunch/static/src/css/lunch.sass
new file mode 100644
index 00000000000..209d114f4c2
--- /dev/null
+++ b/addons/lunch/static/src/css/lunch.sass
@@ -0,0 +1,32 @@
+@charset "utf-8"
+
+.openerp
+ .oe_lunch
+ .oe_lunch_alert
+ textarea
+ background-color: #ffc7c7
+ padding: 10px
+ height: 1em
+ margin-bottom: 20px
+ button.oe_button_add
+ position: relative
+ top: -2px
+ left: 3px
+ button.oe_button_plus
+ margin: -2px
+ .oe_lunch_30pc
+ width: 30%
+ display: inline-block
+ vertical-align: top
+ .oe_lunch_30pc + .oe_lunch_30pc
+ padding-left: 5%
+ h2
+ color: #7C7BAD
+ .oe_lunch_button
+ float: right
+ .oe_lunch_vignette
+ border-bottom: 1px solid #dddddd
+ padding-top: 5px
+ padding-bottom: 5px
+ .oe_group_text_button
+ margin-bottom: 3px
diff --git a/addons/lunch/static/src/css/lunch_style.css b/addons/lunch/static/src/css/lunch_style.css
deleted file mode 100644
index 098cab12d26..00000000000
--- a/addons/lunch/static/src/css/lunch_style.css
+++ /dev/null
@@ -1,61 +0,0 @@
-
-.openerp .oe_lunch_view {
-}
-
-.openerp .oe_lunch_30pc {
- width: 33%;
- display: inline-block;
- vertical-align: top;
-}
-.openerp .oe_lunch_title {
- font-weight: bold;
- font-size: 17px;
- margin-left: 10px;
- color: #7C7BAD;
-}
-
-.openerp .oe_lunch_vignette {
- padding: 8px;
- min-height: 50px;
- border: 1px solid;
- border-color: grey;
- margin-right: 12px;
- margin-bottom: 5px;
- -moz-border-radius: 15px;
- border-radius: 15px;
- box-shadow: grey 1.5px 1.5px 1.5px;
-}
-
-.openerp .oe_small_textarea>textarea {
- min-height: 20px;
- height: 20px;
- color: red;
-}
-
-.openerp .oe_lunch_button {
- margin: 0px;
- padding: 0px;
- text-align: right;
- width: 29%;
- min-width: 55px;
- max-width: 30%;
- display: inline-block;
-}
-
-.openerp .oe_lunch_note {
- margin: 0px;
- padding: 0px;
- margin-top: 4px;
- text-align: left;
- font-style: italic;
- color: #686464;
- display: inline-block;
-}
-
-.openerp .oe_lunch_text {
- font-size: 15px;
- font-style: bold;
- width: 69%;
- max-width: 70%;
- display: inline-block;
-} \ No newline at end of file