diff options
| author | Cedric Snauwaert <csn@openerp.com> | 2012-11-19 16:45:51 +0100 |
|---|---|---|
| committer | Cedric Snauwaert <csn@openerp.com> | 2012-11-19 16:45:51 +0100 |
| commit | 7e193e691cba10cb0f297de47bfd53ef27665768 (patch) | |
| tree | 0dc14e23a09aaa6921cc4aa03aa0aee33249d2ed /addons/note/static/src/css | |
| parent | 2ebf9e89fad0729b85bb8844e575ad2149bd9a1b (diff) | |
| parent | d9d127403b71d3fd401d3baf37b522b20ba89278 (diff) | |
[MERGE]merge with latest addons
bzr revid: csn@openerp.com-20121119154551-y8uizex6hu7fu1eo
Diffstat (limited to 'addons/note/static/src/css')
| -rw-r--r-- | addons/note/static/src/css/Makefile | 3 | ||||
| -rw-r--r-- | addons/note/static/src/css/note.css | 115 | ||||
| -rw-r--r-- | addons/note/static/src/css/note.sass | 102 |
3 files changed, 220 insertions, 0 deletions
diff --git a/addons/note/static/src/css/Makefile b/addons/note/static/src/css/Makefile new file mode 100644 index 00000000000..17bf009479e --- /dev/null +++ b/addons/note/static/src/css/Makefile @@ -0,0 +1,3 @@ +note.css: note.sass + sass --trace -t expanded note.sass note.css + diff --git a/addons/note/static/src/css/note.css b/addons/note/static/src/css/note.css new file mode 100644 index 00000000000..16d71e28aa5 --- /dev/null +++ b/addons/note/static/src/css/note.css @@ -0,0 +1,115 @@ +@charset "utf-8"; +.oe_kanban_column .note_text_line_through { + text-decoration: line-through; +} + +.openerp .oe_form .oe_form_field.oe_memo { + margin: 0 -16px 0 -16px; + padding: 0px; + width: 100%; + min-height: 200px; +} +.openerp .oe_form .oe_form_field.oe_memo .cleditorMain { + border: none; + padding: 0px; +} +.openerp .oe_kanban_view.oe_notes .oe_kanban_card_fancy.oe_kanban_color_0 { + box-shadow: 0px 4px 9px rgba(48, 48, 48, 0.15); +} +.openerp .oe_kanban_view.oe_notes .oe_kanban_card_fancy.oe_kanban_color_1 { + box-shadow: 0px 4px 9px rgba(0, 0, 0, 0.15); +} +.openerp .oe_kanban_view.oe_notes .oe_kanban_card_fancy.oe_kanban_color_2 { + box-shadow: 0px 4px 9px rgba(48, 0, 0, 0.15); +} +.openerp .oe_kanban_view.oe_notes .oe_kanban_card_fancy.oe_kanban_color_3 { + box-shadow: 0px 4px 9px rgba(97, 93, 0, 0.16); +} +.openerp .oe_kanban_view.oe_notes .oe_kanban_card_fancy.oe_kanban_color_4 { + box-shadow: 0px 4px 9px rgba(77, 128, 0, 0.17); +} +.openerp .oe_kanban_view.oe_notes .oe_kanban_card_fancy.oe_kanban_color_5 { + box-shadow: 0px 4px 9px rgba(0, 88, 11, 0.15); +} +.openerp .oe_kanban_view.oe_notes .oe_kanban_card_fancy.oe_kanban_color_6 { + box-shadow: 0px 4px 9px rgba(0, 80, 95, 0.15); +} +.openerp .oe_kanban_view.oe_notes .oe_kanban_card_fancy.oe_kanban_color_7 { + box-shadow: 0px 4px 9px rgba(3, 13, 133, 0.18); +} +.openerp .oe_kanban_view.oe_notes .oe_kanban_card_fancy.oe_kanban_color_8 { + box-shadow: 0px 4px 9px rgba(56, 0, 128, 0.15); +} +.openerp .oe_kanban_view.oe_notes .oe_kanban_card_fancy.oe_kanban_color_9 { + box-shadow: 0px 4px 9px rgba(102, 0, 116, 0.15); +} +.openerp .oe_kanban_record .oe_kanban_card_fancy { + text-shadow: none; + border-radius: 2px; + padding: 8px; + margin-left: 3px; + margin-right: 3px; + padding-bottom: 8px; + margin-bottom: 10px; + -webkit-transform: rotate(-2deg); + -o-transform: rotate(-2deg); + -moz-transform: rotate(-2deg); + -webkit-transition: all 300ms cubic-bezier(0.5, 0, 0.5, 1); + -moz-transition: all 300ms cubic-bezier(0.5, 0, 0.5, 1); + -ms-transition: all 300ms cubic-bezier(0.5, 0, 0.5, 1); + transition: all 300ms cubic-bezier(0.5, 0, 0.5, 1); +} +.openerp .oe_kanban_record:nth-of-type(even) .oe_kanban_card_fancy { + -webkit-transform: rotate(1deg); + -o-transform: rotate(1deg); + -moz-transform: rotate(1deg); +} +.openerp .oe_kanban_record:nth-of-type(3n) .oe_kanban_card_fancy { + -webkit-transform: rotate(4deg); + -o-transform: rotate(4deg); + -moz-transform: rotate(4deg); +} +.openerp .oe_kanban_column:nth-of-type(even) .oe_kanban_card_fancy { + -webkit-transform: rotate(2deg); + -o-transform: rotate(2deg); + -moz-transform: rotate(2deg); +} +.openerp .oe_kanban_column:nth-of-type(even) .oe_kanban_record:nth-of-type(even) .oe_kanban_card_fancy { + -webkit-transform: rotate(-3deg); + -o-transform: rotate(-3deg); + -moz-transform: rotate(-3deg); +} +.openerp .oe_kanban_column:nth-of-type(even) .oe_kanban_record:nth-of-type(3n) .oe_kanban_card_fancy { + -webkit-transform: rotate(1deg); + -o-transform: rotate(1deg); + -moz-transform: rotate(1deg); +} +.openerp .oe_kanban_column:nth-of-type(3n) .oe_kanban_card_fancy { + -webkit-transform: rotate(-2deg); + -o-transform: rotate(-2deg); + -moz-transform: rotate(-2deg); +} +.openerp .oe_kanban_column:nth-of-type(3n) .oe_kanban_record:nth-of-type(even) .oe_kanban_card_fancy { + -webkit-transform: rotate(1deg); + -o-transform: rotate(1deg); + -moz-transform: rotate(1deg); +} +.openerp .oe_kanban_column:nth-of-type(3n) .oe_kanban_record:nth-of-type(3n) .oe_kanban_card_fancy { + -webkit-transform: rotate(-1deg); + -o-transform: rotate(-1deg); + -moz-transform: rotate(-1deg); +} + +.openerp .oe_kanban_column .oe_fold_column .oe_kanban_card_fancy:hover, +.openerp .oe_kanban_column .oe_fold_column .oe_kanban_card_fancy:focus { + position: relative; + z-index: 5; + border-color: rgba(0, 0, 0, 0.4); + -webkit-transition: all 150ms cubic-bezier(0.5, 0, 0.5, 1); + -moz-transition: all 150ms cubic-bezier(0.5, 0, 0.5, 1); + -ms-transition: all 150ms cubic-bezier(0.5, 0, 0.5, 1); + transition: all 150ms cubic-bezier(0.5, 0, 0.5, 1); + -webkit-transform: rotate(0) !important; + -o-transform: rotate(0) !important; + -moz-transform: rotate(0) !important; +} diff --git a/addons/note/static/src/css/note.sass b/addons/note/static/src/css/note.sass new file mode 100644 index 00000000000..6f0c0883ae7 --- /dev/null +++ b/addons/note/static/src/css/note.sass @@ -0,0 +1,102 @@ +@charset "utf-8" + +@mixin rotate($a) + -webkit-transform: rotate($a) + -o-transform: rotate($a) + -moz-transform: rotate($a) + +@mixin transition($what:all,$duration:100ms) + -webkit-transition: $what $duration cubic-bezier(0.5,0,0.5,1) + -moz-transition: $what $duration cubic-bezier(0.5,0,0.5,1) + -ms-transition: $what $duration cubic-bezier(0.5,0,0.5,1) + transition: $what $duration cubic-bezier(0.5,0,0.5,1) + +.oe_kanban_column + .note_text_line_through + text-decoration: line-through + +.openerp + .oe_form + .oe_form_field.oe_memo + margin: 0 -16px 0 -16px + padding: 0px + width: 100% + min-height: 200px + .cleditorMain + border: none + padding: 0px + .oe_kanban_view.oe_notes + .oe_kanban_card_fancy.oe_kanban_color_0 + box-shadow: 0px 4px 9px rgba(48,48,48,0.15) + .oe_kanban_card_fancy.oe_kanban_color_1 + box-shadow: 0px 4px 9px rgba(0,0,0,0.15) + .oe_kanban_card_fancy.oe_kanban_color_2 + box-shadow: 0px 4px 9px rgba(48,0,0,0.15) + .oe_kanban_card_fancy.oe_kanban_color_3 + box-shadow: 0px 4px 9px rgba(97,93,0,0.16) + .oe_kanban_card_fancy.oe_kanban_color_4 + box-shadow: 0px 4px 9px rgba(77,128,0,0.17) + .oe_kanban_card_fancy.oe_kanban_color_5 + box-shadow: 0px 4px 9px rgba(0,88,11,0.15) + .oe_kanban_card_fancy.oe_kanban_color_6 + box-shadow: 0px 4px 9px rgba(0,80,95,0.15) + .oe_kanban_card_fancy.oe_kanban_color_7 + box-shadow: 0px 4px 9px rgba(3,13,133,0.18) + .oe_kanban_card_fancy.oe_kanban_color_8 + box-shadow: 0px 4px 9px rgba(56,0,128,0.15) + .oe_kanban_card_fancy.oe_kanban_color_9 + box-shadow: 0px 4px 9px rgba(102,0,116,0.15) + .oe_kanban_record + .oe_kanban_card_fancy + text-shadow: none + border-radius: 2px + padding: 8px + margin-left: 3px + margin-right: 3px + padding-bottom: 8px + margin-bottom: 10px + @include rotate(-2deg) + @include transition(all, 300ms) + .oe_kanban_record:nth-of-type(even) + .oe_kanban_card_fancy + @include rotate(1deg) + .oe_kanban_record:nth-of-type(3n) + .oe_kanban_card_fancy + @include rotate(4deg) + .oe_kanban_column:nth-of-type(even) + .oe_kanban_card_fancy + @include rotate(2deg) + .oe_kanban_column:nth-of-type(even) + .oe_kanban_record:nth-of-type(even) + .oe_kanban_card_fancy + @include rotate(-3deg) + .oe_kanban_column:nth-of-type(even) + .oe_kanban_record:nth-of-type(3n) + .oe_kanban_card_fancy + @include rotate(1deg) + .oe_kanban_column:nth-of-type(3n) + .oe_kanban_card_fancy + @include rotate(-2deg) + .oe_kanban_column:nth-of-type(3n) + .oe_kanban_record:nth-of-type(even) + .oe_kanban_card_fancy + @include rotate(1deg) + .oe_kanban_column:nth-of-type(3n) + .oe_kanban_record:nth-of-type(3n) + .oe_kanban_card_fancy + @include rotate(-1deg) + + +.openerp + .oe_kanban_column + .oe_fold_column + .oe_kanban_card_fancy:hover, + .oe_kanban_card_fancy:focus + position: relative + z-index: 5 + border-color: rgba(0,0,0,0.4) + @include transition(all, 150ms) + -webkit-transform: rotate(0) !important + -o-transform: rotate(0) !important + -moz-transform: rotate(0) !important + |
