diff --git a/core/modules/edit/css/edit.module-rtl.css b/core/modules/edit/css/edit.module-rtl.css new file mode 100644 index 0000000..18176aa --- /dev/null +++ b/core/modules/edit/css/edit.module-rtl.css @@ -0,0 +1,28 @@ +/** + * @file edit.module-rtl.css + * RTL styles for edit module + */ + +/* The toolbar contains toolgroups; these are visible. */ +.edit-toolgroup { + float: right; +} + +/* Info toolgroup. */ +.edit-toolgroup.info { + float: right; +} + +/* Operations toolgroup. */ +.edit-toolgroup.ops { + float: left; +} + +/** + * Edit mode: buttons (in both modal and toolbar). + */ +#edit_modal button, +.edit-toolbar button { + float: right; +} + diff --git a/core/modules/edit/css/edit.css b/core/modules/edit/css/edit.module.css similarity index 78% rename from core/modules/edit/css/edit.css rename to core/modules/edit/css/edit.module.css index 6a5ac83..f62c7f4 100644 --- a/core/modules/edit/css/edit.css +++ b/core/modules/edit/css/edit.module.css @@ -1,78 +1,4 @@ /** - * Animations. - */ -.edit-animate-invisible { - opacity: 0; -} - -.edit-animate-fast { --webkit-transition: all .2s ease; - -moz-transition: all .2s ease; - -ms-transition: all .2s ease; - -o-transition: all .2s ease; - transition: all .2s ease; -} - -.edit-animate-default { - -webkit-transition: all .4s ease; - -moz-transition: all .4s ease; - -ms-transition: all .4s ease; - -o-transition: all .4s ease; - transition: all .4s ease; -} - -.edit-animate-slow { --webkit-transition: all .6s ease; - -moz-transition: all .6s ease; - -ms-transition: all .6s ease; - -o-transition: all .6s ease; - transition: all .6s ease; -} - -.edit-animate-delay-veryfast { - -webkit-transition-delay: .05s; - -moz-transition-delay: .05s; - -ms-transition-delay: .05s; - -o-transition-delay: .05s; - transition-delay: .05s; -} - -.edit-animate-delay-fast { - -webkit-transition-delay: .2s; - -moz-transition-delay: .2s; - -ms-transition-delay: .2s; - -o-transition-delay: .2s; - transition-delay: .2s; -} - -.edit-animate-disable-width { - -webkit-transition: width 0s; - -moz-transition: width 0s; - -ms-transition: width 0s; - -o-transition: width 0s; - transition: width 0s; -} - -.edit-animate-only-visibility { - -webkit-transition: opacity .2s ease; - -moz-transition: opacity .2s ease; - -ms-transition: opacity .2s ease; - -o-transition: opacity .2s ease; - transition: opacity .2s ease; -} - -.edit-animate-only-background-and-padding { - -webkit-transition: background, padding .2s ease; - -moz-transition: background, padding .2s ease; - -ms-transition: background, padding .2s ease; - -o-transition: background, padding .2s ease; - transition: background, padding .2s ease; -} - - - - -/** * Candidate editables + editables being edited. * * Note: every class is prefixed with "edit-" to prevent collisions with modules @@ -111,7 +37,6 @@ border: 1px solid #eea0a0; } - /* Editing (focused) editable. */ .edit-form.edit-editable.edit-editing, .edit-field .edit-editable.edit-editing { @@ -122,8 +47,6 @@ } - - /** * Edit mode: modal. */ @@ -153,8 +76,6 @@ } - - /** * Edit mode: type=direct. */ @@ -174,8 +95,6 @@ } - - /** * Edit mode: type=form. */ @@ -204,8 +123,6 @@ .edit-form input { max-width: 100%; } - - /** * Edit mode: toolbars */ @@ -293,7 +210,6 @@ } - /** * Edit mode: buttons (in both modal and toolbar). */ diff --git a/core/modules/edit/css/edit.skin.css b/core/modules/edit/css/edit.skin.css new file mode 100644 index 0000000..588106f --- /dev/null +++ b/core/modules/edit/css/edit.skin.css @@ -0,0 +1,71 @@ +/** + * Animations. + */ +.edit-animate-invisible { + opacity: 0; +} + +.edit-animate-fast { +-webkit-transition: all .2s ease; + -moz-transition: all .2s ease; + -ms-transition: all .2s ease; + -o-transition: all .2s ease; + transition: all .2s ease; +} + +.edit-animate-default { + -webkit-transition: all .4s ease; + -moz-transition: all .4s ease; + -ms-transition: all .4s ease; + -o-transition: all .4s ease; + transition: all .4s ease; +} + +.edit-animate-slow { +-webkit-transition: all .6s ease; + -moz-transition: all .6s ease; + -ms-transition: all .6s ease; + -o-transition: all .6s ease; + transition: all .6s ease; +} + +.edit-animate-delay-veryfast { + -webkit-transition-delay: .05s; + -moz-transition-delay: .05s; + -ms-transition-delay: .05s; + -o-transition-delay: .05s; + transition-delay: .05s; +} + +.edit-animate-delay-fast { + -webkit-transition-delay: .2s; + -moz-transition-delay: .2s; + -ms-transition-delay: .2s; + -o-transition-delay: .2s; + transition-delay: .2s; +} + +.edit-animate-disable-width { + -webkit-transition: width 0s; + -moz-transition: width 0s; + -ms-transition: width 0s; + -o-transition: width 0s; + transition: width 0s; +} + +.edit-animate-only-visibility { + -webkit-transition: opacity .2s ease; + -moz-transition: opacity .2s ease; + -ms-transition: opacity .2s ease; + -o-transition: opacity .2s ease; + transition: opacity .2s ease; +} + +.edit-animate-only-background-and-padding { + -webkit-transition: background, padding .2s ease; + -moz-transition: background, padding .2s ease; + -ms-transition: background, padding .2s ease; + -o-transition: background, padding .2s ease; + transition: background, padding .2s ease; +} +