#select404page { width: 100%; } #pp-404page-settings .form-table th, .form-table td { display: block; width: auto; } #pp-404page-settings .form-table th { padding: 0; font-weight: normal; } #pp-404page-settings .form-table td { padding: 0; margin-bottom: 20px; } #pp-404page-settings .form-table td p { padding: 0; line-height: 1.2; margin-bottom: 20px; } #pp-settings-advanced .form-table th { display: none; } #pp-404page-settings input[type="checkbox"] { display: none; } #pp-404page-settings input[type="checkbox"] + label.check { cursor: pointer; text-indent: -9999px; width: 80px; height: 40px; background: grey; display: block; border-radius: 40px; position: relative; float: left; margin-right: 40px; } .rtl #pp-404page-settings input[type="checkbox"] + label.check { float: right; margin-left: 40px; margin-right: 0; } #pp-404page-settings input[type="checkbox"]:disabled + label.check { background-color: #DDD; } #pp-404page-settings input[type="checkbox"] + label.check:after { content: ''; position: absolute; top: 5px; width: 30px; height: 30px; background: #fff; border-radius: 30px; transition: 0.3s; } body:not(.rtl) #pp-404page-settings input[type="checkbox"] + label.check:after, .rtl #pp-404page-settings input[type="checkbox"]:enabled:checked + label.check:after { left: 5px; transform: none; } #pp-404page-settings input[type="checkbox"]:enabled:checked + label.check { background: #104060; } body:not(.rtl) #pp-404page-settings input[type="checkbox"]:enabled:checked + label.check:after, .rtl #pp-404page-settings input[type="checkbox"] + label.check:after { left: calc(100% - 5px); transform: translateX(-100%); } #pp-404page-settings select { border: 1px solid #104060; border-radius:5px; height: 40px; line-height: 40px; margin: 5px 0; } #pp-404page-settings .dashicons-warning, #pp-404page-settings input[type="checkbox"] + label.check.warning:before { color: #d54e21; }