OwlCyberSecurity - MANAGER
Edit File: inputs.css
.wsrw-metabox-form-row { display: flex; margin-bottom: var(--wsrw-space-v); @media screen and (max-width: 782px) { flex-flow: wrap; } } .wsrw-metabox-form-row-label { flex-shrink: 0; width: 245px; @media screen and (max-width: 782px) { margin-bottom: 6px; } label { color: var(--wsrw-text-color-heading); font-size: var(--wsrw-font-size-s); font-weight: 600; } } .wsrw-input-title { input.wsrw-input-text { font-size: var(--wsrw-font-size-m); } } input.wsrw-input-number, input.wsrw-input-text { border: var(--wsrw-input-border); border-radius: 4px; color: var(--wsrw-input-text-color); font-size: var(--wsrw-font-size-s); height: 40px; &:focus { border-color: var(--wsrw-input-border-active); } } input.wsrw-input-text { width: 100%; } .wsrw-input-textarea { border: var(--wsrw-input-border); border-radius: 4px; color: var(--wsrw-input-text-color); font-size: var(--wsrw-font-size-s); max-width: 100%; resize: none; width: 424px; } .wsrw-input-select { align-items: center; display: flex; label { color: var(--wsrw-text-color-heading); font-size: var(--wsrw-font-size-s); font-weight: 600; } .wsrw-checkbox-toggle, select { margin-left: 13px; } } .wsrw-metabox-form-row-input { width: 100%; position: relative; select { min-width: 424px; @media screen and (max-width: 782px) { min-width: 0; width: 100%; } } input[type="password"] { width: 400px; } } .wsrw-inline-select { select { min-width: 98px; } & > label { color: var(--wsrw-text-color-paragraph); display: inline-block; font-size: 13px; margin-left: 12px; } } .wsrw-separator { border-color: var(--wsrw-border-color); border-style: solid; border-width: 1px 0 0; margin: var(--wsrw-space-v) 0; } /* Checkbox toggle. */ .wsrw-checkbox-toggle { display: inline-block; height: 20px; position: relative; width: 36px; input { opacity: 0; height: 100%; width: 100%; position: absolute; &:checked { & + .wsrw-checkbox-toggle-slider { background-color: var(--wsrw-color-primary); &:before { transform: translateX(16px); } } } &:focus { & + .wsrw-checkbox-toggle-slider { outline: 1px dotted #212121; outline: 1px auto -webkit-focus-ring-color; } &:not(:focus-visible) { & + .wsrw-checkbox-toggle-slider { outline: none; } } } } .wsrw-checkbox-toggle-slider { background-color: #ccc; border-radius: 20px; bottom: 0; cursor: pointer; left: 0; position: absolute; right: 0; top: 0; -webkit-transition: .4s; transition: .4s; &:before { background-color: white; border-radius: 50%; bottom: 3px; content: ""; height: 14px; left: 3px; position: absolute; -webkit-transition: .4s; transition: .4s; width: 14px; } } } .wsrw-checkbox-toggle-label { margin-left: 14px; color: var(--wsrw-text-color-heading); font-size: 14px; font-weight: 600; } .wsrw-checkbox-row { margin-bottom: 25px; &.wsrw-checkbox-row-disabled { opacity: 0.7; cursor: not-allowed; pointer-events: none; } .description { margin: 14px 0; } } .wsrw-input-radio { margin-right: 20px; flex: 1 1 0; text-align: center; label { display: flex; flex-flow: column; border-radius: 4px; justify-content: center; padding: 20px; background-color: var(--wsrw-button-disabled-bg); border: 2px solid var(--wsrw-button-disabled-bg); color: var(--wsrw-text-color-paragraph); &:hover { color: var(--wsrw-text-color-heading); svg path { fill: var(--wsrw-text-color-heading); } } } input[type="radio"] { opacity: 0; position: absolute; &:checked { & + label { border-color: var(--wsrw-color-primary); background: var(--wsrw-background-white); color: var(--wsrw-text-color-heading); svg path { fill: var(--wsrw-text-color-heading); } } } &:disabled { & + label { opacity: 0.9; &:hover { color: var(--wsrw-text-color-paragraph); svg path { fill: var(--wsrw-text-color-paragraph); } } } } } .wsrw-input-radio-icon { text-align: center; } .wsrw-input-radio-label { font-size: 16px; font-weight: 600; margin-top: 10px; display: block; } } .wsrw-input-with-button { display: flex; width: 100%; .wsrw-input-text { margin-right: 10px; width: 100%; } .wsrw-button { padding-bottom: 10px; padding-top: 10px; } } .wsrw-snippet-manager.wp-core-ui, .wsrw-tools.wp-core-ui, .wsrw-generator.wp-core-ui { select { background-position-x: calc(100% - 13px); border-color: var(--wsrw-border-color); border-radius: 4px; color: var(--wsrw-text-color-heading); line-height: 38px; min-height: 40px; padding-left: 12px; padding-right: 32px; } } .wsrw-content { .select2-container { .select2-search--inline { margin: 0; .select2-search__field { color: var(--wsrw-text-color-heading); font-size: 14px; margin: 5px 5px 0; } } &.select2-container--default { .select2-selection--multiple { border-color: var(--wsrw-border-color); .select2-selection__choice { background-color: var(--wsrw-button-disabled-bg); border: none; border-radius: 3px; color: var(--wsrw-text-color-heading); font-size: 14px; margin: 9px 8px 9px 0; padding: 1px 4px; } .select2-selection__rendered { display: block; padding: 0 8px; } .select2-selection__choice__remove { margin-right: 4px; } } } .select2-selection--single { height: 40px; font-size: var(--wsrw-font-size-s); border-color: var(--wsrw-border-color); .select2-selection__rendered { padding: 0 8px; line-height: 40px; } .select2-selection__arrow { height: 40px; width: 30px; } } } } .wsrw-admin-page { .select2-dropdown { border-color: var(--wsrw-border-color); color: var(--wsrw-text-color-heading); } .select2-results { .wsrw-pro-pill { margin-left: 7px; vertical-align: middle; } > .select2-results__options > .select2-results__option[role="list"] { padding: 0; } } } .wsrw-checkboxes-list { label { display: block; margin-bottom: 16px; } input { margin-right: 12px; } } .wsrw-file-upload { .wsrw-file-field { background-color: var(--wsrw-background-white); border: 1px solid #ddd; border-radius: 3px; box-shadow: none; color: var(--wsrw-text-color-paragraph); display: inline-block; margin: 0 10px 0 0; min-height: 36px; overflow: hidden; padding: 8px 10px; text-overflow: ellipsis; vertical-align: middle; white-space: nowrap; width: 400px; } input[type=file] { height: 0.1px; opacity: 0; overflow: hidden; position: absolute; width: 0.1px; z-index: -1; } label { cursor: pointer; display: inline-flex; outline: none; padding: 0; text-overflow: ellipsis; white-space: nowrap; } } .wsrw-checkbox-multiselect-columns { max-width: 600px; position: relative; label { cursor: pointer; } &:after { clear: both; content: "."; display: block; font-size: 0; height: 0; line-height: 0; min-height: 0; visibility: hidden; } &:before { background-image: url("data:image/svg+xml,%3Csvg width='18' height='14' viewBox='0 0 18 14' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3.99 6L0 10L3.99 14V11H11V9H3.99V6ZM18 4L14.01 0V3H7V5H14.01V8L18 4Z' fill='%23999'/%3E%3C/svg%3E%0A"); color: #999; content: ""; display: block; height: 14px; left: 50%; margin: 0 0 0 -10px; position: absolute; top: 130px; width: 18px; } .wsrw-multiselect-search { input { border-radius: 3px 3px 0 0; margin: 0; z-index: 10; position: relative; } } .header { font-size: 13px; font-weight: 600; margin: 0; padding: 0 0 5px 0; text-align: center; } .first-column, .second-column { float: left; width: 45%; } .first-column { ul { border-radius: 0 0 3px 3px; border-top: 0; } } .second-column { float: right; ul { height: 290px; } } .second-column ul li { padding: 10px; } ul { background-color: #fff; border: 1px solid #ddd; border-radius: 3px; height: 250px; list-style-type: none; margin: 0; overflow-y: auto; padding: 0; position: relative; li { border-bottom: 1px #eee solid; color: var(--wsrw-text-color-paragraph); font-size: 14px; margin: 0; label { display: block; padding: 10px 10px 10px 32px; position: relative; vertical-align: baseline; &:hover { background-color: var(--wsrw-color-primary); color: #fff; &.checked:before { background-image: url("data:image/svg+xml,%3Csvg width='10' height='8' viewBox='0 0 10 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1.38462 3.03448L0 4.13793L3.23077 8H4.46154L10 0.965517L8.76923 0L3.69231 4.96552L1.38462 3.03448Z' fill='%23FFFFFF'/%3E%3C/svg%3E%0A"); } } &:before { color: #ddd; content: "\f0c8"; font: normal normal normal 16px/1 Georgia; -webkit-font-smoothing: antialiased; left: 10px; -moz-osx-font-smoothing: grayscale; position: absolute; text-rendering: auto; top: 12px; } &.checked { color: rgba(119, 119, 119, 0.6); &:hover { color: #fff; } } &.checked:before { background-image: url("data:image/svg+xml,%3Csvg width='10' height='8' viewBox='0 0 10 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1.38462 3.03448L0 4.13793L3.23077 8H4.46154L10 0.965517L8.76923 0L3.69231 4.96552L1.38462 3.03448Z' fill='%234982BF'/%3E%3C/svg%3E%0A"); background-position: 3px 3px; background-repeat: no-repeat; background-size: 10px 8px; } input { display: none; } } } } .all { color: #999; display: inline-block; font-size: 13px; margin: 10px 0 0; } } .wsrw-admin-page { .select2-container--default { font-size: 12px; font-weight: 500; .select2-results__option .select2-results__option { padding-left: 30px; color: var(--wsrw-text-color-heading); font-weight: 500; margin-bottom: 0; &[aria-disabled=true] { color: var(--wsrw-text-color-paragraph); opacity: 0.5; } &[aria-selected=true] { background-color: var(--wsrw-button-primary-bg); color: #fff; } } .select2-results__option--highlighted[aria-selected] { background: var(--wsrw-button-disabled-bg); color: var(--wsrw-text-color-light-bg); } .select2-results__group { padding-left: 16px; color: var(--wsrw-text-color-paragraph); font-weight: 500; } } } label { .wsrw-icon-mobile { transform: scale(0.86); } } .wsrw-wide-text { width: 100%; max-width: 500px; } .wsrw-metabox-form-row-input .wsrw-alert { max-width: 800px; } .wsrw-label-text-row { p:first-child { margin-top: 0; } } .wsrw-input-row-schedule { display: flex; justify-content: space-between; .wsrw-input-row-input { width: calc(50% - 10px); position: relative; } } .wsrw-input-row-schedule, .wsrw-input-with-button { & + .wsrw-help-tooltip { position: absolute; left: 100%; top: 10px; margin-left: 15px; @media screen and (max-width: 782px) { display: none; } } } .wsrw-input-button-clear { position: absolute; right: 7px; top: 15px; width: 14px; height: 14px; border: none; text-align: center; margin: 0; padding: 0; background: transparent; cursor: pointer; border-radius: 50%; svg { width: 14px; height: 14px; display: block; path { } } }