.wpsp-form-control { width: 300px; } .field-container { position: relative; height: 50px; width: 320px; } .field-placeholder { position: absolute; top: 50%; transform: translate(5px, -50%); pointer-events: none; transition: all 0.14s ease-in-out; font-size: 18px; color: #adadad; } input[type="text"].field-input { color: #000; border: 1px solid #d0d0d0; padding: 5px; margin-top: 20px; font-size: 16px; display: block; box-sizing: border-box; width: 100%; bottom: 0px; position: absolute; } input[type="text"].field-input:focus { outline: none; } input[type="text"].field-input.c-fix, input[type="text"].field-input:focus, input[type="text"].field-input:not(:placeholder-shown) { border-color: transparent; } input[type="text"].field-input.c-fix ~ label, input[type="text"].field-input:focus ~ label, input[type="text"].field-input:not(:placeholder-shown) ~ label { color: #646669; font-size: 11px; top: calc(27% - .5rem); transform: translate(5px, 0%); } input[type="text"].field-input::-webkit-input-placeholder { color: transparent; } input[type="text"].field-input::-moz-placeholder { color: transparent; } input[type="text"].field-input:-ms-input-placeholder { color: transparent; } .wpsp-color-picker { width: 321px; } textarea#wpsp_custom_css { width: 321px; height: 208px; resize: none; border: 0; border: 1px solid #d0d0d0; border-radius: 10px; box-sizing: border-box; font-family: 'Open Sans', sans-serif; font-size: 16px; padding: 20px; } .container { margin: 0px 45px; } .avatar-upload { position: relative; max-width: 205px; } .avatar-upload .avatar-edit { position: absolute; right: 12px; z-index: 1; top: 10px; } .avatar-upload .avatar-edit input { display: none; } .avatar-upload .avatar-edit input + label { display: inline-block; width: 34px; height: 34px; margin-bottom: 0; border-radius: 100%; background: #fff; border: 1px solid transparent; box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.12); cursor: pointer; font-weight: normal; transition: all 0.2s ease-in-out; } .avatar-upload .avatar-edit input + label:hover { background: #f1f1f1; border-color: #d6d6d6; } .avatar-upload .avatar-edit input + label:after { /* content: "\f040"; */ /* font-family: 'FontAwesome'; */ color: #757575; position: absolute; top: 10px; left: 0; right: 0; text-align: center; margin: auto; } .avatar-upload .avatar-preview { width: 192px; height: 192px; position: relative; border-radius: 100%; border: 6px solid #f8f8f8; box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.1); } .avatar-upload .avatar-preview > div { width: 100%; height: 100%; border-radius: 100%; background-size: cover; background-repeat: no-repeat; background-position: center; } .switch { position: relative; display: inline-block; width: 60px; height: 34px; } .switch input { opacity: 0; width: 0; height: 0; } .slider { position: absolute; cursor: pointer; top: 0; left: 0; right: 0; bottom: 0; background-color: #ccc; -webkit-transition: .4s; transition: .4s; } .slider:before { position: absolute; content: ""; height: 26px; width: 26px; left: 4px; bottom: 4px; background-color: white; -webkit-transition: .4s; transition: .4s; } input:checked + .slider { background-color: #2196F3; } input:focus + .slider { box-shadow: 0 0 1px #2196F3; } input:checked + .slider:before { -webkit-transform: translateX(26px); -ms-transform: translateX(26px); transform: translateX(26px); } /* Rounded sliders */ .slider.round { border-radius: 34px; } .slider.round:before { border-radius: 50%; } input.field-input:read-only { background-color: #fff9f9; border: 1px solid grey; } textarea#wpsp_custom_css:read-only { background-color: #fff9f9; border: 1px solid grey; }