only in patch2: unchanged: --- a/core/modules/color/css/color.admin.css +++ b/core/modules/color/css/color.admin.css @@ -4,33 +4,46 @@ */ .color-form { max-width: 50em; + position: relative; +} +#placeholder { + position: absolute; + right: 0; /* LTR */ + top: 0; } .farbtastic { margin: 0 auto; } .color-form .form-item { - overflow: hidden; + height: 2em; + line-height: 2em; margin: 0.5em 0; + overflow: hidden; + padding-left: 1em; /* LTR */ } .color-form label { clear: left; /* LTR */ + float: left; /* LTR */ + width: 10em; } [dir="rtl"] .color-form label { clear: right; } .color-form .form-text { + cursor: pointer; float: left; /* LTR */ - width: 86%; + margin-right: 5px; /* LTR */ text-align: center; - cursor: pointer; + width: 86%; } [dir="rtl"] .color-form .form-text { float: right; } #palette .hook { float: left; /* LTR */ - width: 16px; height: 16px; + margin-top: 3px; + width: 16px; } [dir="rtl"] #palette .hook { float: right; @@ -58,11 +71,14 @@ background-position: 0 -54px; } #palette .lock { - float: left; /* LTR */ - width: 20px; - height: 19px; background: url(../images/lock.png) no-repeat 50% 0; cursor: pointer; + float: left; /* LTR */ + height: 19px; + left: -10px; /* LTR */ + position: relative; + top: -1.4em; + width: 20px; } [dir="rtl"] #palette .lock { float: right; @@ -127,8 +143,8 @@ } .js #preview { display: block; - position: relative; float: left; /* LTR */ + position: relative; } .js[dir="rtl"] #preview { float: right;