diff -u b/core/themes/bartik/css/components/search.css /dev/null --- b/core/themes/bartik/css/components/search.css +++ /dev/null @@ -1,42 +0,0 @@ -/* --------------- Search Form ---------------- */ - -.search-block-form .content { - margin-top: 0; -} -.search-form input[type="search"] { - box-sizing: border-box; - padding: 4px; - -webkit-appearance: textfield; -} -.search-form input[type="search"]::-webkit-search-decoration { - display: none; -} -.search-form #edit-keys { - float: left; /* LTR */ - font-size: 1em; - margin-right: 5px; /* LTR */ -} -[dir="rtl"] .search-form #edit-keys { - float: right; - margin-left: 5px; - margin-right: 0; -} -.search-form .form-submit { - margin-left: 0; - margin-right: 0; - height: 25px; - width: 34px; - padding: 0; - cursor: pointer; - text-indent: -9999px; - border-color: #e4e4e4 #d2d2d2 #b4b4b4; - background: #f0f0f0 url(../../../../misc/icons/505050/loupe.svg) no-repeat center; - overflow: hidden; -} -.search-form .form-submit:hover, -.search-form .form-submit:focus { - background: #dedede url(../../../../misc/icons/424242/loupe.svg) no-repeat center; -} -.search-form .form-item-keys label { - display: block; -} only in patch2: unchanged: --- a/core/themes/bartik/bartik.libraries.yml +++ b/core/themes/bartik/bartik.libraries.yml @@ -26,7 +26,7 @@ global-styling: css/components/pager.css: {} css/components/panel.css: {} css/components/primary-menu.css: {} - css/components/search.css: {} + css/components/search-form.css: {} css/components/search-results.css: {} css/components/secondary-menu.css: {} css/components/shortcut.css: {} only in patch2: unchanged: --- /dev/null +++ b/core/themes/bartik/css/components/search-form.css @@ -0,0 +1,38 @@ +/** + * @file + * The visual styles for Bartik's search form(s). + */ +.search-form .form-search { + box-sizing: border-box; + padding: 4px; + float: left; /* LTR */ + font-size: 1em; + margin-right: 5px; /* LTR */ +} +.search-form .form-search::-webkit-search-decoration { + display: none; +} +[dir="rtl"] .search-form .form-search { + float: right; + margin-left: 5px; + margin-right: 0; +} +.search-form .form-submit { + margin-left: 0; + margin-right: 0; + height: 31px; + width: 34px; + padding: 0; + cursor: pointer; + text-indent: -9999px; + border-color: #e4e4e4 #d2d2d2 #b4b4b4; + background: #f0f0f0 url(../../../../misc/icons/505050/loupe.svg) no-repeat center; + overflow: hidden; +} +.search-form .form-submit:hover, +.search-form .form-submit:focus { + background: #dedede url(../../../../misc/icons/424242/loupe.svg) no-repeat center; +} +.search-form .form-item-keys label { + display: block; +}