Fauxton: add missing mixin
Project: http://git-wip-us.apache.org/repos/asf/couchdb/repo Commit: http://git-wip-us.apache.org/repos/asf/couchdb/commit/9cfee98e Tree: http://git-wip-us.apache.org/repos/asf/couchdb/tree/9cfee98e Diff: http://git-wip-us.apache.org/repos/asf/couchdb/diff/9cfee98e Branch: refs/heads/Update-Sidebar-Ui Commit: 9cfee98e74c1e0e478291b628ca1495f2427ece1 Parents: d1d71cb Author: sean barclay <[email protected]> Authored: Mon Jun 23 19:19:07 2014 +0200 Committer: Garren Smith <[email protected]> Committed: Mon Jun 30 10:20:25 2014 +0200 ---------------------------------------------------------------------- .../addons/documents/assets/less/documents.less | 3 ++- src/fauxton/assets/less/mixins.less | 21 ++++++++++++++++++++ 2 files changed, 23 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/couchdb/blob/9cfee98e/src/fauxton/app/addons/documents/assets/less/documents.less ---------------------------------------------------------------------- diff --git a/src/fauxton/app/addons/documents/assets/less/documents.less b/src/fauxton/app/addons/documents/assets/less/documents.less index 3b00039..1281b06 100644 --- a/src/fauxton/app/addons/documents/assets/less/documents.less +++ b/src/fauxton/app/addons/documents/assets/less/documents.less @@ -11,8 +11,9 @@ // the License. /*ALL DOCS TABLE*/ -@import "../../../style/assets/less/mixins.less"; @import "../../../../../assets/less/variables.less"; +@import "../../../../../assets/less/bootstrap/variables.less"; +@import "../../../../../assets/less/bootstrap/mixins.less"; tr.all-docs-item { border: none; http://git-wip-us.apache.org/repos/asf/couchdb/blob/9cfee98e/src/fauxton/assets/less/mixins.less ---------------------------------------------------------------------- diff --git a/src/fauxton/assets/less/mixins.less b/src/fauxton/assets/less/mixins.less new file mode 100644 index 0000000..63eda35 --- /dev/null +++ b/src/fauxton/assets/less/mixins.less @@ -0,0 +1,21 @@ +.translate-origin(@x, @y) { + -webkit-transform-origin: @x @y; + -moz-transform-origin: @x @y; + -ms-transform-origin: @x @y; + -o-transform-origin: @x @y; + transform-origin: @x @y; +} + +.customTransition(@prop, @delay, @a, @b, @c, @d){ +-webkit-transition: @prop, @delay cubic-bezier(@a, @b, @c, @d); + -moz-transition: @prop, @delay cubic-bezier(@a, @b, @c, @d); + -ms-transition: @prop, @delay cubic-bezier(@a, @b, @c, @d); + -o-transition: @prop, @delay cubic-bezier(@a, @b, @c, @d); + transition: @prop, @delay cubic-bezier(@a, @b, @c, @d); /* custom */ + +-webkit-transition-timing-function: cubic-bezier(@a, @b, @c, @d); + -moz-transition-timing-function: cubic-bezier(@a, @b, @c, @d); + -ms-transition-timing-function: cubic-bezier(@a, @b, @c, @d); + -o-transition-timing-function: cubic-bezier(@a, @b, @c, @d); + transition-timing-function: cubic-bezier(@a, @b, @c, @d); /* custom */ +}
