/*! * # Fomantic-UI 2.9.3 - Input * https://github.com/fomantic/Fomantic-UI/ * * * Released under the MIT license * https://opensource.org/licenses/MIT * */ /******************************* Standard *******************************/ /* -------------------- Inputs --------------------- */ .ui.input { position: relative; font-weight: normal; font-style: normal; display: inline-flex; color: rgba(0, 0, 0, 0.87); } .ui.input > input { margin: 0; max-width: 100%; flex: 1 0 auto; outline: none; -webkit-tap-highlight-color: rgba(255, 255, 255, 0); text-align: left; line-height: 1.21428571em; font-family: 'Raleway', sans-serif; background: #fff; border: 1px solid rgba(34, 36, 38, 0.15); color: rgba(0, 0, 0, 0.87); border-radius: 0.28571429rem; transition: box-shadow 0.1s ease, border-color 0.1s ease; box-shadow: none; } .ui.input > input:not([type="color"]) { padding: 0.67857143em 1em; } .ui.input > input::-webkit-calendar-picker-indicator { padding: 0; opacity: 0.5; -webkit-transition: opacity 0.3s ease; transition: opacity 0.3s ease; cursor: pointer; } /* -------------------- Placeholder --------------------- */ /* browsers require these rules separate */ .ui.input > input:-ms-input-placeholder { color: rgba(191, 191, 191, 0.87); } .ui.input > input::-ms-input-placeholder { color: rgba(191, 191, 191, 0.87); } .ui.input > input::placeholder { color: rgba(191, 191, 191, 0.87); } .ui.input > input::-moz-placeholder { opacity: 1; } /******************************* States *******************************/ /* -------------------- Disabled --------------------- */ .ui.disabled.input, .ui.input:not(.disabled) input[disabled] { opacity: 0.45; } .ui.disabled.input > input, .ui.input:not(.disabled) input[disabled] { pointer-events: none; } /* -------------------- Active --------------------- */ .ui.input > input:active, .ui.input.down input { border-color: rgba(0, 0, 0, 0.3); background: #fafafa; color: rgba(0, 0, 0, 0.87); box-shadow: none; } /* -------------------- Loading --------------------- */ .ui.loading.loading.input > i.icon::before { position: absolute; content: ""; top: 50%; left: 50%; margin: -0.64285714em 0 0 -0.64285714em; width: 1.28571429em; height: 1.28571429em; border-radius: 500rem; border: 0.2em solid rgba(0, 0, 0, 0.1); } .ui.loading.loading.input > i.icon::after { position: absolute; content: ""; top: 50%; left: 50%; margin: -0.64285714em 0 0 -0.64285714em; width: 1.28571429em; height: 1.28571429em; animation: loader 0.6s infinite linear; border: 0.2em solid #767676; border-radius: 500rem; box-shadow: 0 0 0 1px transparent; } /* -------------------- Focus --------------------- */ .ui.input.focus > input, .ui.input > input:focus { border-color: #a285df; background: #fff; color: rgba(0, 0, 0, 0.8); box-shadow: none; } .ui.input.focus > input:-ms-input-placeholder, .ui.input > input:focus:-ms-input-placeholder { color: rgba(115, 115, 115, 0.87); } .ui.input.focus > input::-ms-input-placeholder, .ui.input > input:focus::-ms-input-placeholder { color: rgba(115, 115, 115, 0.87); } .ui.input.focus > input::placeholder, .ui.input > input:focus::placeholder { color: rgba(115, 115, 115, 0.87); } /* -------------------- States --------------------- */ .ui.input.error > input { background-color: #fff6f6; border-color: #e0b4b4; color: #9f3a38; box-shadow: none; } .ui.input > input:not(:-ms-input-placeholder):invalid { background-color: #fff6f6; border-color: #e0b4b4; color: #9f3a38; box-shadow: none; } .ui.input > input:not(:placeholder-shown):invalid { background-color: #fff6f6; border-color: #e0b4b4; color: #9f3a38; box-shadow: none; } /* Placeholder */ .ui.input.error > input:-ms-input-placeholder { color: #e7bdbc; } .ui.input.error > input::-ms-input-placeholder { color: #e7bdbc; } .ui.input.error > input::placeholder { color: #e7bdbc; } /* Focused Placeholder */ .ui.input.error > input:focus:-ms-input-placeholder { color: #da9796; } .ui.input.error > input:focus::-ms-input-placeholder { color: #da9796; } .ui.input.error > input:focus::placeholder { color: #da9796; } .ui.input.info > input { background-color: #f8ffff; border-color: #a9d5de; color: #276f86; box-shadow: none; } /* Placeholder */ .ui.input.info > input:-ms-input-placeholder { color: #98cfe1; } .ui.input.info > input::-ms-input-placeholder { color: #98cfe1; } .ui.input.info > input::placeholder { color: #98cfe1; } /* Focused Placeholder */ .ui.input.info > input:focus:-ms-input-placeholder { color: #70bdd6; } .ui.input.info > input:focus::-ms-input-placeholder { color: #70bdd6; } .ui.input.info > input:focus::placeholder { color: #70bdd6; } .ui.input.success > input { background-color: #fcfff5; border-color: #a3c293; color: #2c662d; box-shadow: none; } /* Placeholder */ .ui.input.success > input:-ms-input-placeholder { color: #8fcf90; } .ui.input.success > input::-ms-input-placeholder { color: #8fcf90; } .ui.input.success > input::placeholder { color: #8fcf90; } /* Focused Placeholder */ .ui.input.success > input:focus:-ms-input-placeholder { color: #6cbf6d; } .ui.input.success > input:focus::-ms-input-placeholder { color: #6cbf6d; } .ui.input.success > input:focus::placeholder { color: #6cbf6d; } .ui.input.warning > input { background-color: #fffaf3; border-color: #c9ba9b; color: #573a08; box-shadow: none; } /* Placeholder */ .ui.input.warning > input:-ms-input-placeholder { color: #edad3e; } .ui.input.warning > input::-ms-input-placeholder { color: #edad3e; } .ui.input.warning > input::placeholder { color: #edad3e; } /* Focused Placeholder */ .ui.input.warning > input:focus:-ms-input-placeholder { color: #e39715; } .ui.input.warning > input:focus::-ms-input-placeholder { color: #e39715; } .ui.input.warning > input:focus::placeholder { color: #e39715; } /******************************* Variations *******************************/ /* -------------------- Transparent --------------------- */ .ui.transparent.input > textarea, .ui.transparent.input > input { border-color: transparent !important; background-color: transparent !important; padding: 0; box-shadow: none !important; border-radius: 0 !important; } .field .ui.transparent.input > textarea { padding: 0.67857143em 1em; } /* Transparent Icon */ :not(.field) > .ui.transparent.icon.input > i.icon { width: 1.1em; } :not(.field) > .ui.ui.ui.transparent.icon.input > input { padding-left: 0; padding-right: 2em; } :not(.field) > .ui.ui.ui.transparent[class*="left icon"].input > input { padding-left: 2em; padding-right: 0; } /* Transparent Inverted */ .ui.transparent.inverted.input { color: #fff; } .ui.ui.transparent.inverted.input > textarea, .ui.ui.transparent.inverted.input > input { color: inherit; } .ui.transparent.inverted.input > input:-ms-input-placeholder { color: rgba(255, 255, 255, 0.5); } .ui.transparent.inverted.input > input::-ms-input-placeholder { color: rgba(255, 255, 255, 0.5); } .ui.transparent.inverted.input > input::placeholder { color: rgba(255, 255, 255, 0.5); } /* -------------------- Icon --------------------- */ .ui.icon.input > i.icon { cursor: default; position: absolute; line-height: 1; text-align: center; top: 0; right: 0; margin: 0; height: 100%; width: 2.67142857em; opacity: 0.5; border-radius: 0 0.28571429rem 0.28571429rem 0; transition: opacity 0.3s ease; } .ui.icon.input > i.icon:not(.link) { pointer-events: none; } .ui.ui.ui.ui.icon.input:not(.corner) > textarea, .ui.ui.ui.ui.icon.input:not(.corner) > input { padding-right: 2.67142857em; } .ui.icon.input > i.icon::before, .ui.icon.input > i.icon::after { left: 0; position: absolute; text-align: center; top: 50%; width: 100%; margin-top: -0.5em; } .ui.icon.input > i.link.icon { cursor: pointer; } .ui.icon.input > i.circular.icon { top: 0.35em; right: 0.5em; } /* Left Icon Input */ .ui[class*="left icon"].input > i.icon { right: auto; left: 1px; border-radius: 0.28571429rem 0 0 0.28571429rem; } .ui[class*="left icon"].input > i.circular.icon { right: auto; left: 0.5em; } .ui.ui.ui.ui[class*="left icon"]:not([class*="left corner"]).input > textarea, .ui.ui.ui.ui[class*="left icon"]:not([class*="left corner"]).input > input { padding-left: 2.67142857em; } .ui.ui.ui.ui[class*="left icon"]:not(.corner).input > textarea, .ui.ui.ui.ui[class*="left icon"]:not(.corner).input > input { padding-right: 1em; } /* Focus */ .ui.input > input:focus::-webkit-calendar-picker-indicator, .ui.icon.input > textarea:focus ~ i.icon, .ui.icon.input > input:focus ~ i.icon { opacity: 1; } /* -------------------- Labeled --------------------- */ /* Adjacent Label */ .ui.labeled.input > .label { flex: 0 0 auto; margin: 0; font-size: 1em; } .ui.labeled.input > .label:not(.corner) { padding-top: 0.78571429em; padding-bottom: 0.78571429em; } /* Regular Label on Left */ .ui.labeled.input:not([class*="corner labeled"]) .label:first-child { border-top-right-radius: 0; border-bottom-right-radius: 0; } .ui.labeled.input:not([class*="corner labeled"]) .label:first-child + input { border-top-left-radius: 0; border-bottom-left-radius: 0; border-left-color: transparent; } .ui.labeled.input:not([class*="corner labeled"]) .label:first-child + input:focus { border-left-color: #a285df; } /* Regular Label on Right */ .ui[class*="right labeled"].input > input { border-top-right-radius: 0 !important; border-bottom-right-radius: 0 !important; border-right-color: transparent !important; } .ui[class*="right labeled"].input > input + .label { border-top-left-radius: 0; border-bottom-left-radius: 0; } .ui[class*="right labeled"].input > input:focus { border-right-color: #a285df !important; } /* Corner Label */ .ui.labeled.input .corner.label { top: 1px; right: 1px; font-size: 0.64285714em; border-radius: 0 0.28571429rem 0 0; } /* Spacing with corner label */ .ui[class*="corner labeled"]:not([class*="left corner labeled"]).input > .ui.dropdown, .ui[class*="corner labeled"]:not([class*="left corner labeled"]).input > textarea, .ui[class*="corner labeled"]:not([class*="left corner labeled"]).input > input { padding-right: 2.5em; } .ui[class*="corner labeled"].icon.input:not([class*="left corner labeled"]) > .ui.dropdown, .ui[class*="corner labeled"].icon.input:not([class*="left corner labeled"]) > textarea, .ui[class*="corner labeled"].icon.input:not([class*="left corner labeled"]) > input { padding-right: 3.25em; } .ui[class*="corner labeled"].icon.input:not([class*="left corner labeled"]) > i.icon { margin-right: 1.25em; } /* Left Labeled */ .ui[class*="left icon"].input > .ui.dropdown:first-child, .ui[class*="left icon"].input > i.icon + .ui.dropdown, .ui[class*="left corner labeled"].input > .ui.dropdown, .ui[class*="left corner labeled"].input > textarea, .ui[class*="left corner labeled"].input > input { padding-left: 2.5em; } .ui[class*="corner labeled"]:not([class*="left corner labeled"])[class*="left icon"].input > .ui.dropdown, .ui[class*="corner labeled"]:not([class*="left corner labeled"])[class*="left icon"].input > textarea, .ui[class*="corner labeled"]:not([class*="left corner labeled"])[class*="left icon"].input > input { padding-right: 3.25em; } .ui.ui[class*="left corner labeled"][class*="left icon"].input > .ui.dropdown, .ui.ui[class*="left corner labeled"][class*="left icon"].input > textarea, .ui.ui[class*="left corner labeled"][class*="left icon"].input > input { padding-left: 4em; } .ui[class*="left corner labeled"].icon.input > i.icon { margin-left: 1.25em; } .ui[class*="left corner labeled"].icon:not([class*="left icon"]).input > input { padding-right: 2.5em; } .ui[class*="corner labeled"]:not([class*="left corner labeled"]).icon:not([class*="left icon"]).input > input { padding-right: 5em; } .ui[class*="left icon"].input > .ui.dropdown > .search, .ui[class*="left corner labeled"].input > .ui.dropdown > .search { padding-left: 2.5em; } .ui[class*="left icon"].input > .ui.dropdown > .menu, .ui[class*="left corner labeled"].input > .ui.dropdown > .menu { padding-left: 1.25em; } .ui[class*="left icon"].input > .ui.dropdown > .menu > .item, .ui[class*="left corner labeled"].input > .ui.dropdown > .menu > .item { padding-left: 2.5em; margin-left: -1.25em; } .ui[class*="left corner labeled"][class*="left icon"].input > .ui.dropdown > .search { padding-left: 4em; } .ui[class*="left corner labeled"][class*="left icon"].input > .ui.dropdown > .menu > .item { padding-left: 4em; } .ui.icon.input:not([class*="left icon"]) > .ui.dropdown > .search, .ui[class*="corner labeled"]:not([class*="left corner labeled"]).input > .ui.dropdown > .search { padding-right: 5.75em; } .ui.icon.input:not([class*="left icon"]) > .ui.dropdown > .remove.icon, .ui[class*="corner labeled"]:not([class*="left corner labeled"]).input > .ui.dropdown > .remove.icon, .ui.icon.input:not([class*="left icon"]) > .ui.dropdown > .dropdown.icon, .ui[class*="corner labeled"]:not([class*="left corner labeled"]).input > .ui.dropdown > .dropdown.icon { padding-right: 2.5em; } @supports selector(:has(.f)) { .ui.icon.input:not([class*="left icon"]) > .ui.dropdown > .dropdown.icon { padding-right: initial; } .ui.icon.input:not([class*="left icon"]):not(:has(.ui.dropdown ~ input)) > .ui.dropdown > .dropdown.icon { padding-right: 2.5em; } } .ui.ui[class*="corner labeled"]:not([class*="left corner labeled"]).icon:not([class*="left icon"]).input > .ui.dropdown > .search { padding-right: 7.25em; } .ui.ui[class*="corner labeled"]:not([class*="left corner labeled"]).icon:not([class*="left icon"]).input > .ui.dropdown > .remove.icon, .ui.ui[class*="corner labeled"]:not([class*="left corner labeled"]).icon:not([class*="left icon"]).input > .ui.dropdown > .dropdown.icon { padding-right: 4em; } .ui.icon.input > .ui.visible.dropdown ~ i.icon, .ui.icon.input > .ui.active.dropdown ~ i.icon, .ui[class*="corner labeled"].input > .ui.visible.dropdown ~ .ui.corner.label, .ui[class*="corner labeled"].input > .ui.active.dropdown ~ .ui.corner.label { z-index: 10; } .ui.icon.input > textarea ~ i.icon { height: 3em; } :not(.field) > .ui.transparent.icon.input > textarea ~ i.icon { height: 1.3em; } /* Corner Label Position */ .ui.input > .ui.corner.label { top: 1px; right: 1px; } .ui.input > .ui.left.corner.label { right: auto; left: 1px; } /* Labeled and action input states */ .ui.form .field.error > .ui.action.input > .ui.button, .ui.form .field.error > .ui.labeled.input:not([class*="corner labeled"]) > .ui.label, .ui.action.input.error > .ui.button, .ui.labeled.input.error:not([class*="corner labeled"]) > .ui.label { border-top: 1px solid #e0b4b4; border-bottom: 1px solid #e0b4b4; } .ui.form .field.error > .ui[class*="left action"].input > .ui.button, .ui.form .field.error > .ui.labeled.input:not(.right):not([class*="corner labeled"]) > .ui.label, .ui[class*="left action"].input.error > .ui.button, .ui.labeled.input.error:not(.right):not([class*="corner labeled"]) > .ui.label { border-left: 1px solid #e0b4b4; } .ui.form .field.error > .ui.action.input:not([class*="left action"]) > input + .ui.button, .ui.form .field.error > .ui.right.labeled.input:not([class*="corner labeled"]) > input + .ui.label, .ui.action.input.error:not([class*="left action"]) > input + .ui.button, .ui.right.labeled.input.error:not([class*="corner labeled"]) > input + .ui.label { border-right: 1px solid #e0b4b4; } .ui.form .field.error > .ui.right.labeled.input:not([class*="corner labeled"]) > .ui.label:first-child, .ui.right.labeled.input.error:not([class*="corner labeled"]) > .ui.label:first-child { border-left: 1px solid #e0b4b4; } .ui.form .field.info > .ui.action.input > .ui.button, .ui.form .field.info > .ui.labeled.input:not([class*="corner labeled"]) > .ui.label, .ui.action.input.info > .ui.button, .ui.labeled.input.info:not([class*="corner labeled"]) > .ui.label { border-top: 1px solid #a9d5de; border-bottom: 1px solid #a9d5de; } .ui.form .field.info > .ui[class*="left action"].input > .ui.button, .ui.form .field.info > .ui.labeled.input:not(.right):not([class*="corner labeled"]) > .ui.label, .ui[class*="left action"].input.info > .ui.button, .ui.labeled.input.info:not(.right):not([class*="corner labeled"]) > .ui.label { border-left: 1px solid #a9d5de; } .ui.form .field.info > .ui.action.input:not([class*="left action"]) > input + .ui.button, .ui.form .field.info > .ui.right.labeled.input:not([class*="corner labeled"]) > input + .ui.label, .ui.action.input.info:not([class*="left action"]) > input + .ui.button, .ui.right.labeled.input.info:not([class*="corner labeled"]) > input + .ui.label { border-right: 1px solid #a9d5de; } .ui.form .field.info > .ui.right.labeled.input:not([class*="corner labeled"]) > .ui.label:first-child, .ui.right.labeled.input.info:not([class*="corner labeled"]) > .ui.label:first-child { border-left: 1px solid #a9d5de; } .ui.form .field.success > .ui.action.input > .ui.button, .ui.form .field.success > .ui.labeled.input:not([class*="corner labeled"]) > .ui.label, .ui.action.input.success > .ui.button, .ui.labeled.input.success:not([class*="corner labeled"]) > .ui.label { border-top: 1px solid #a3c293; border-bottom: 1px solid #a3c293; } .ui.form .field.success > .ui[class*="left action"].input > .ui.button, .ui.form .field.success > .ui.labeled.input:not(.right):not([class*="corner labeled"]) > .ui.label, .ui[class*="left action"].input.success > .ui.button, .ui.labeled.input.success:not(.right):not([class*="corner labeled"]) > .ui.label { border-left: 1px solid #a3c293; } .ui.form .field.success > .ui.action.input:not([class*="left action"]) > input + .ui.button, .ui.form .field.success > .ui.right.labeled.input:not([class*="corner labeled"]) > input + .ui.label, .ui.action.input.success:not([class*="left action"]) > input + .ui.button, .ui.right.labeled.input.success:not([class*="corner labeled"]) > input + .ui.label { border-right: 1px solid #a3c293; } .ui.form .field.success > .ui.right.labeled.input:not([class*="corner labeled"]) > .ui.label:first-child, .ui.right.labeled.input.success:not([class*="corner labeled"]) > .ui.label:first-child { border-left: 1px solid #a3c293; } .ui.form .field.warning > .ui.action.input > .ui.button, .ui.form .field.warning > .ui.labeled.input:not([class*="corner labeled"]) > .ui.label, .ui.action.input.warning > .ui.button, .ui.labeled.input.warning:not([class*="corner labeled"]) > .ui.label { border-top: 1px solid #c9ba9b; border-bottom: 1px solid #c9ba9b; } .ui.form .field.warning > .ui[class*="left action"].input > .ui.button, .ui.form .field.warning > .ui.labeled.input:not(.right):not([class*="corner labeled"]) > .ui.label, .ui[class*="left action"].input.warning > .ui.button, .ui.labeled.input.warning:not(.right):not([class*="corner labeled"]) > .ui.label { border-left: 1px solid #c9ba9b; } .ui.form .field.warning > .ui.action.input:not([class*="left action"]) > input + .ui.button, .ui.form .field.warning > .ui.right.labeled.input:not([class*="corner labeled"]) > input + .ui.label, .ui.action.input.warning:not([class*="left action"]) > input + .ui.button, .ui.right.labeled.input.warning:not([class*="corner labeled"]) > input + .ui.label { border-right: 1px solid #c9ba9b; } .ui.form .field.warning > .ui.right.labeled.input:not([class*="corner labeled"]) > .ui.label:first-child, .ui.right.labeled.input.warning:not([class*="corner labeled"]) > .ui.label:first-child { border-left: 1px solid #c9ba9b; } /* -------------------- Action --------------------- */ .ui.action.input > .button, .ui.action.input > .buttons { display: flex; align-items: center; flex: 0 0 auto; } .ui.action.input > .button, .ui.action.input > .buttons > .button { padding-top: 0.78571429em; padding-bottom: 0.78571429em; margin: 0; } /* Input when ui Left */ .ui[class*="left action"].input > input { border-top-left-radius: 0; border-bottom-left-radius: 0; border-left-color: transparent; } /* Input when ui Right */ .ui.action.input:not([class*="left action"]) > input { border-top-right-radius: 0; border-bottom-right-radius: 0; border-right-color: transparent; } /* Button and Dropdown */ .ui.action.input > .dropdown:first-child, .ui.action.input > .button:first-child, .ui.action.input > .buttons:first-child > .button { border-radius: 0.28571429rem 0 0 0.28571429rem; } .ui.action.input > .dropdown:not(:first-child), .ui.action.input > .button:not(:first-child), .ui.action.input > .buttons:not(:first-child) > .button { border-radius: 0; } .ui.action.input > .dropdown:last-child, .ui.action.input > .button:last-child, .ui.action.input > .buttons:last-child > .button { border-radius: 0 0.28571429rem 0.28571429rem 0; } /* Input Focus */ .ui.action.input:not([class*="left action"]) > input:focus { border-right-color: #a285df; } .ui.ui[class*="left action"].input > input:focus { border-left-color: #a285df; } /* -------------------- Inverted --------------------- */ /* Standard */ .ui.inverted.input > input { border: none; } /* -------------------- Fluid --------------------- */ .ui.fluid.input { display: flex; } .ui.fluid.input > input { width: 0 !important; } /* -------------------- File --------------------- */ /* width hack for chrome/edge */ .ui.file.input { width: 100%; } .ui.file.input input[type="file"] { width: 0; } .ui.form .field > input[type="file"], .ui.file.input:not(.action) input[type="file"] { padding: 0; } .ui.action.file.input input[type="file"]::-webkit-file-upload-button { display: none; } .ui.form .field input[type="file"]::-webkit-file-upload-button, .ui.file.input input[type="file"]::-webkit-file-upload-button { border: none; cursor: pointer; padding: 0.67857143em 1em; margin-right: 1em; background: #e0e1e2; font-weight: bold; color: rgba(0, 0, 0, 0.6); } .ui.form .field input[type="file"]::-webkit-file-upload-button:hover, .ui.file.input input[type="file"]::-webkit-file-upload-button:hover { background: #cacbcd; color: rgba(0, 0, 0, 0.6); } .ui.action.file.input input[type="file"]::-webkit-file-upload-button { display: none; } .ui.action.file.input input[type="file"]::file-selector-button { display: none; } .ui.form .field input[type="file"]::-webkit-file-upload-button, .ui.file.input input[type="file"]::-webkit-file-upload-button { border: none; cursor: pointer; padding: 0.67857143em 1em; margin-right: 1em; background: #e0e1e2; font-weight: bold; color: rgba(0, 0, 0, 0.6); } .ui.form .field input[type="file"]::file-selector-button, .ui.file.input input[type="file"]::file-selector-button { border: none; cursor: pointer; padding: 0.67857143em 1em; margin-right: 1em; background: #e0e1e2; font-weight: bold; color: rgba(0, 0, 0, 0.6); } .ui.form .field input[type="file"]::-webkit-file-upload-button:hover, .ui.file.input input[type="file"]::-webkit-file-upload-button:hover { background: #cacbcd; color: rgba(0, 0, 0, 0.6); } .ui.form .field input[type="file"]::file-selector-button:hover, .ui.file.input input[type="file"]::file-selector-button:hover { background: #cacbcd; color: rgba(0, 0, 0, 0.6); } .ui.form .field input[type="file"]:required:invalid, .ui.file.input input[type="file"]:required:invalid { color: #9f3a38; background: #fff6f6; border-color: #e0b4b4; } input[type="file"].ui.invisible.file.input, .ui.invisible.file.input input[type="file"] { left: -99999px; position: absolute; } input[type="file"].ui.file.input:focus + label.ui.button:not(.basic):not(.tertiary), .ui.file.input input[type="file"]:focus + label.ui.button:not(.basic):not(.tertiary) { background: #cacbcd; color: rgba(0, 0, 0, 0.8); } input[type="file"].ui.file.input:focus + label.ui.button:not(.basic):not(.tertiary).inverted, .ui.file.input input[type="file"]:focus + label.ui.button:not(.basic):not(.tertiary).inverted { background: #fff; } /* this is related to existing buttons, so the button color variable is used here! */ input[type="file"].ui.file.input:focus + label.ui.primary.button:not(.basic):not(.tertiary), .ui.file.input input[type="file"]:focus + label.ui.primary.button:not(.basic):not(.tertiary) { background-color: #5829bb; color: #fff; } input[type="file"].ui.file.input:focus + label.ui.primary.button:not(.basic):not(.tertiary).inverted, .ui.file.input input[type="file"]:focus + label.ui.primary.button:not(.basic):not(.tertiary).inverted { background-color: #745aff; } input[type="file"].ui.file.input:focus + label.ui.secondary.button:not(.basic):not(.tertiary), .ui.file.input input[type="file"]:focus + label.ui.secondary.button:not(.basic):not(.tertiary) { background-color: #27292a; color: #fff; } input[type="file"].ui.file.input:focus + label.ui.secondary.button:not(.basic):not(.tertiary).inverted, .ui.file.input input[type="file"]:focus + label.ui.secondary.button:not(.basic):not(.tertiary).inverted { background-color: #6e6e6e; } input[type="file"].ui.file.input:focus + label.ui.red.button:not(.basic):not(.tertiary), .ui.file.input input[type="file"]:focus + label.ui.red.button:not(.basic):not(.tertiary) { background-color: #d01919; color: #fff; } input[type="file"].ui.file.input:focus + label.ui.red.button:not(.basic):not(.tertiary).inverted, .ui.file.input input[type="file"]:focus + label.ui.red.button:not(.basic):not(.tertiary).inverted { background-color: #ff392b; } input[type="file"].ui.file.input:focus + label.ui.orange.button:not(.basic):not(.tertiary), .ui.file.input input[type="file"]:focus + label.ui.orange.button:not(.basic):not(.tertiary) { background-color: #f26202; color: #fff; } input[type="file"].ui.file.input:focus + label.ui.orange.button:not(.basic):not(.tertiary).inverted, .ui.file.input input[type="file"]:focus + label.ui.orange.button:not(.basic):not(.tertiary).inverted { background-color: #e76b00; } input[type="file"].ui.file.input:focus + label.ui.yellow.button:not(.basic):not(.tertiary), .ui.file.input input[type="file"]:focus + label.ui.yellow.button:not(.basic):not(.tertiary) { background-color: #eaae00; color: #fff; } input[type="file"].ui.file.input:focus + label.ui.yellow.button:not(.basic):not(.tertiary).inverted, .ui.file.input input[type="file"]:focus + label.ui.yellow.button:not(.basic):not(.tertiary).inverted { background-color: #ebcd00; } input[type="file"].ui.file.input:focus + label.ui.olive.button:not(.basic):not(.tertiary), .ui.file.input input[type="file"]:focus + label.ui.olive.button:not(.basic):not(.tertiary) { background-color: #a7bd0d; color: #fff; } input[type="file"].ui.file.input:focus + label.ui.olive.button:not(.basic):not(.tertiary).inverted, .ui.file.input input[type="file"]:focus + label.ui.olive.button:not(.basic):not(.tertiary).inverted { background-color: #d2e745; } input[type="file"].ui.file.input:focus + label.ui.green.button:not(.basic):not(.tertiary), .ui.file.input input[type="file"]:focus + label.ui.green.button:not(.basic):not(.tertiary) { background-color: #16ab39; color: #fff; } input[type="file"].ui.file.input:focus + label.ui.green.button:not(.basic):not(.tertiary).inverted, .ui.file.input input[type="file"]:focus + label.ui.green.button:not(.basic):not(.tertiary).inverted { background-color: #1ea92e; } input[type="file"].ui.file.input:focus + label.ui.teal.button:not(.basic):not(.tertiary), .ui.file.input input[type="file"]:focus + label.ui.teal.button:not(.basic):not(.tertiary) { background-color: #009c95; color: #fff; } input[type="file"].ui.file.input:focus + label.ui.teal.button:not(.basic):not(.tertiary).inverted, .ui.file.input input[type="file"]:focus + label.ui.teal.button:not(.basic):not(.tertiary).inverted { background-color: #3affff; } input[type="file"].ui.file.input:focus + label.ui.blue.button:not(.basic):not(.tertiary), .ui.file.input input[type="file"]:focus + label.ui.blue.button:not(.basic):not(.tertiary) { background-color: #1678c2; color: #fff; } input[type="file"].ui.file.input:focus + label.ui.blue.button:not(.basic):not(.tertiary).inverted, .ui.file.input input[type="file"]:focus + label.ui.blue.button:not(.basic):not(.tertiary).inverted { background-color: #21b8ff; } input[type="file"].ui.file.input:focus + label.ui.violet.button:not(.basic):not(.tertiary), .ui.file.input input[type="file"]:focus + label.ui.violet.button:not(.basic):not(.tertiary) { background-color: #5829bb; color: #fff; } input[type="file"].ui.file.input:focus + label.ui.violet.button:not(.basic):not(.tertiary).inverted, .ui.file.input input[type="file"]:focus + label.ui.violet.button:not(.basic):not(.tertiary).inverted { background-color: #745aff; } input[type="file"].ui.file.input:focus + label.ui.purple.button:not(.basic):not(.tertiary), .ui.file.input input[type="file"]:focus + label.ui.purple.button:not(.basic):not(.tertiary) { background-color: #9627ba; color: #fff; } input[type="file"].ui.file.input:focus + label.ui.purple.button:not(.basic):not(.tertiary).inverted, .ui.file.input input[type="file"]:focus + label.ui.purple.button:not(.basic):not(.tertiary).inverted { background-color: #cf40ff; } input[type="file"].ui.file.input:focus + label.ui.pink.button:not(.basic):not(.tertiary), .ui.file.input input[type="file"]:focus + label.ui.pink.button:not(.basic):not(.tertiary) { background-color: #e61a8d; color: #fff; } input[type="file"].ui.file.input:focus + label.ui.pink.button:not(.basic):not(.tertiary).inverted, .ui.file.input input[type="file"]:focus + label.ui.pink.button:not(.basic):not(.tertiary).inverted { background-color: #ff5bd1; } input[type="file"].ui.file.input:focus + label.ui.brown.button:not(.basic):not(.tertiary), .ui.file.input input[type="file"]:focus + label.ui.brown.button:not(.basic):not(.tertiary) { background-color: #975b33; color: #fff; } input[type="file"].ui.file.input:focus + label.ui.brown.button:not(.basic):not(.tertiary).inverted, .ui.file.input input[type="file"]:focus + label.ui.brown.button:not(.basic):not(.tertiary).inverted { background-color: #b0620f; } input[type="file"].ui.file.input:focus + label.ui.grey.button:not(.basic):not(.tertiary), .ui.file.input input[type="file"]:focus + label.ui.grey.button:not(.basic):not(.tertiary) { background-color: #838383; color: #fff; } input[type="file"].ui.file.input:focus + label.ui.grey.button:not(.basic):not(.tertiary).inverted, .ui.file.input input[type="file"]:focus + label.ui.grey.button:not(.basic):not(.tertiary).inverted { background-color: #c2c4c5; } input[type="file"].ui.file.input:focus + label.ui.black.button:not(.basic):not(.tertiary), .ui.file.input input[type="file"]:focus + label.ui.black.button:not(.basic):not(.tertiary) { background-color: #27292a; color: #fff; } input[type="file"].ui.file.input:focus + label.ui.black.button:not(.basic):not(.tertiary).inverted, .ui.file.input input[type="file"]:focus + label.ui.black.button:not(.basic):not(.tertiary).inverted { background-color: #000000; } input[type="file"].ui.primary.file.input::-webkit-file-upload-button, .ui.primary.file.input input[type="file"]::-webkit-file-upload-button { background: #6435c9; color: #fff; } input[type="file"].ui.primary.file.input::-webkit-file-upload-button:hover, .ui.primary.file.input input[type="file"]::-webkit-file-upload-button:hover { background: #5829bb; } input[type="file"].ui.primary.file.input::-webkit-file-upload-button, .ui.primary.file.input input[type="file"]::-webkit-file-upload-button { background: #6435c9; color: #fff; } input[type="file"].ui.primary.file.input::file-selector-button, .ui.primary.file.input input[type="file"]::file-selector-button { background: #6435c9; color: #fff; } input[type="file"].ui.primary.file.input::-webkit-file-upload-button:hover, .ui.primary.file.input input[type="file"]::-webkit-file-upload-button:hover { background: #5829bb; } input[type="file"].ui.primary.file.input::file-selector-button:hover, .ui.primary.file.input input[type="file"]::file-selector-button:hover { background: #5829bb; } input[type="file"].ui.secondary.file.input::-webkit-file-upload-button, .ui.secondary.file.input input[type="file"]::-webkit-file-upload-button { background: #1b1c1d; color: #fff; } input[type="file"].ui.secondary.file.input::-webkit-file-upload-button:hover, .ui.secondary.file.input input[type="file"]::-webkit-file-upload-button:hover { background: #27292a; } input[type="file"].ui.secondary.file.input::-webkit-file-upload-button, .ui.secondary.file.input input[type="file"]::-webkit-file-upload-button { background: #1b1c1d; color: #fff; } input[type="file"].ui.secondary.file.input::file-selector-button, .ui.secondary.file.input input[type="file"]::file-selector-button { background: #1b1c1d; color: #fff; } input[type="file"].ui.secondary.file.input::-webkit-file-upload-button:hover, .ui.secondary.file.input input[type="file"]::-webkit-file-upload-button:hover { background: #27292a; } input[type="file"].ui.secondary.file.input::file-selector-button:hover, .ui.secondary.file.input input[type="file"]::file-selector-button:hover { background: #27292a; } input[type="file"].ui.red.file.input::-webkit-file-upload-button, .ui.red.file.input input[type="file"]::-webkit-file-upload-button { background: #db2828; color: #fff; } input[type="file"].ui.red.file.input::-webkit-file-upload-button:hover, .ui.red.file.input input[type="file"]::-webkit-file-upload-button:hover { background: #d01919; } input[type="file"].ui.red.file.input::-webkit-file-upload-button, .ui.red.file.input input[type="file"]::-webkit-file-upload-button { background: #db2828; color: #fff; } input[type="file"].ui.red.file.input::file-selector-button, .ui.red.file.input input[type="file"]::file-selector-button { background: #db2828; color: #fff; } input[type="file"].ui.red.file.input::-webkit-file-upload-button:hover, .ui.red.file.input input[type="file"]::-webkit-file-upload-button:hover { background: #d01919; } input[type="file"].ui.red.file.input::file-selector-button:hover, .ui.red.file.input input[type="file"]::file-selector-button:hover { background: #d01919; } input[type="file"].ui.orange.file.input::-webkit-file-upload-button, .ui.orange.file.input input[type="file"]::-webkit-file-upload-button { background: #f2711c; color: #fff; } input[type="file"].ui.orange.file.input::-webkit-file-upload-button:hover, .ui.orange.file.input input[type="file"]::-webkit-file-upload-button:hover { background: #f26202; } input[type="file"].ui.orange.file.input::-webkit-file-upload-button, .ui.orange.file.input input[type="file"]::-webkit-file-upload-button { background: #f2711c; color: #fff; } input[type="file"].ui.orange.file.input::file-selector-button, .ui.orange.file.input input[type="file"]::file-selector-button { background: #f2711c; color: #fff; } input[type="file"].ui.orange.file.input::-webkit-file-upload-button:hover, .ui.orange.file.input input[type="file"]::-webkit-file-upload-button:hover { background: #f26202; } input[type="file"].ui.orange.file.input::file-selector-button:hover, .ui.orange.file.input input[type="file"]::file-selector-button:hover { background: #f26202; } input[type="file"].ui.yellow.file.input::-webkit-file-upload-button, .ui.yellow.file.input input[type="file"]::-webkit-file-upload-button { background: #fbbd08; color: #fff; } input[type="file"].ui.yellow.file.input::-webkit-file-upload-button:hover, .ui.yellow.file.input input[type="file"]::-webkit-file-upload-button:hover { background: #eaae00; } input[type="file"].ui.yellow.file.input::-webkit-file-upload-button, .ui.yellow.file.input input[type="file"]::-webkit-file-upload-button { background: #fbbd08; color: #fff; } input[type="file"].ui.yellow.file.input::file-selector-button, .ui.yellow.file.input input[type="file"]::file-selector-button { background: #fbbd08; color: #fff; } input[type="file"].ui.yellow.file.input::-webkit-file-upload-button:hover, .ui.yellow.file.input input[type="file"]::-webkit-file-upload-button:hover { background: #eaae00; } input[type="file"].ui.yellow.file.input::file-selector-button:hover, .ui.yellow.file.input input[type="file"]::file-selector-button:hover { background: #eaae00; } input[type="file"].ui.olive.file.input::-webkit-file-upload-button, .ui.olive.file.input input[type="file"]::-webkit-file-upload-button { background: #b5cc18; color: #fff; } input[type="file"].ui.olive.file.input::-webkit-file-upload-button:hover, .ui.olive.file.input input[type="file"]::-webkit-file-upload-button:hover { background: #a7bd0d; } input[type="file"].ui.olive.file.input::-webkit-file-upload-button, .ui.olive.file.input input[type="file"]::-webkit-file-upload-button { background: #b5cc18; color: #fff; } input[type="file"].ui.olive.file.input::file-selector-button, .ui.olive.file.input input[type="file"]::file-selector-button { background: #b5cc18; color: #fff; } input[type="file"].ui.olive.file.input::-webkit-file-upload-button:hover, .ui.olive.file.input input[type="file"]::-webkit-file-upload-button:hover { background: #a7bd0d; } input[type="file"].ui.olive.file.input::file-selector-button:hover, .ui.olive.file.input input[type="file"]::file-selector-button:hover { background: #a7bd0d; } input[type="file"].ui.green.file.input::-webkit-file-upload-button, .ui.green.file.input input[type="file"]::-webkit-file-upload-button { background: #21ba45; color: #fff; } input[type="file"].ui.green.file.input::-webkit-file-upload-button:hover, .ui.green.file.input input[type="file"]::-webkit-file-upload-button:hover { background: #16ab39; } input[type="file"].ui.green.file.input::-webkit-file-upload-button, .ui.green.file.input input[type="file"]::-webkit-file-upload-button { background: #21ba45; color: #fff; } input[type="file"].ui.green.file.input::file-selector-button, .ui.green.file.input input[type="file"]::file-selector-button { background: #21ba45; color: #fff; } input[type="file"].ui.green.file.input::-webkit-file-upload-button:hover, .ui.green.file.input input[type="file"]::-webkit-file-upload-button:hover { background: #16ab39; } input[type="file"].ui.green.file.input::file-selector-button:hover, .ui.green.file.input input[type="file"]::file-selector-button:hover { background: #16ab39; } input[type="file"].ui.teal.file.input::-webkit-file-upload-button, .ui.teal.file.input input[type="file"]::-webkit-file-upload-button { background: #00b5ad; color: #fff; } input[type="file"].ui.teal.file.input::-webkit-file-upload-button:hover, .ui.teal.file.input input[type="file"]::-webkit-file-upload-button:hover { background: #009c95; } input[type="file"].ui.teal.file.input::-webkit-file-upload-button, .ui.teal.file.input input[type="file"]::-webkit-file-upload-button { background: #00b5ad; color: #fff; } input[type="file"].ui.teal.file.input::file-selector-button, .ui.teal.file.input input[type="file"]::file-selector-button { background: #00b5ad; color: #fff; } input[type="file"].ui.teal.file.input::-webkit-file-upload-button:hover, .ui.teal.file.input input[type="file"]::-webkit-file-upload-button:hover { background: #009c95; } input[type="file"].ui.teal.file.input::file-selector-button:hover, .ui.teal.file.input input[type="file"]::file-selector-button:hover { background: #009c95; } input[type="file"].ui.blue.file.input::-webkit-file-upload-button, .ui.blue.file.input input[type="file"]::-webkit-file-upload-button { background: #2185d0; color: #fff; } input[type="file"].ui.blue.file.input::-webkit-file-upload-button:hover, .ui.blue.file.input input[type="file"]::-webkit-file-upload-button:hover { background: #1678c2; } input[type="file"].ui.blue.file.input::-webkit-file-upload-button, .ui.blue.file.input input[type="file"]::-webkit-file-upload-button { background: #2185d0; color: #fff; } input[type="file"].ui.blue.file.input::file-selector-button, .ui.blue.file.input input[type="file"]::file-selector-button { background: #2185d0; color: #fff; } input[type="file"].ui.blue.file.input::-webkit-file-upload-button:hover, .ui.blue.file.input input[type="file"]::-webkit-file-upload-button:hover { background: #1678c2; } input[type="file"].ui.blue.file.input::file-selector-button:hover, .ui.blue.file.input input[type="file"]::file-selector-button:hover { background: #1678c2; } input[type="file"].ui.violet.file.input::-webkit-file-upload-button, .ui.violet.file.input input[type="file"]::-webkit-file-upload-button { background: #6435c9; color: #fff; } input[type="file"].ui.violet.file.input::-webkit-file-upload-button:hover, .ui.violet.file.input input[type="file"]::-webkit-file-upload-button:hover { background: #5829bb; } input[type="file"].ui.violet.file.input::-webkit-file-upload-button, .ui.violet.file.input input[type="file"]::-webkit-file-upload-button { background: #6435c9; color: #fff; } input[type="file"].ui.violet.file.input::file-selector-button, .ui.violet.file.input input[type="file"]::file-selector-button { background: #6435c9; color: #fff; } input[type="file"].ui.violet.file.input::-webkit-file-upload-button:hover, .ui.violet.file.input input[type="file"]::-webkit-file-upload-button:hover { background: #5829bb; } input[type="file"].ui.violet.file.input::file-selector-button:hover, .ui.violet.file.input input[type="file"]::file-selector-button:hover { background: #5829bb; } input[type="file"].ui.purple.file.input::-webkit-file-upload-button, .ui.purple.file.input input[type="file"]::-webkit-file-upload-button { background: #a333c8; color: #fff; } input[type="file"].ui.purple.file.input::-webkit-file-upload-button:hover, .ui.purple.file.input input[type="file"]::-webkit-file-upload-button:hover { background: #9627ba; } input[type="file"].ui.purple.file.input::-webkit-file-upload-button, .ui.purple.file.input input[type="file"]::-webkit-file-upload-button { background: #a333c8; color: #fff; } input[type="file"].ui.purple.file.input::file-selector-button, .ui.purple.file.input input[type="file"]::file-selector-button { background: #a333c8; color: #fff; } input[type="file"].ui.purple.file.input::-webkit-file-upload-button:hover, .ui.purple.file.input input[type="file"]::-webkit-file-upload-button:hover { background: #9627ba; } input[type="file"].ui.purple.file.input::file-selector-button:hover, .ui.purple.file.input input[type="file"]::file-selector-button:hover { background: #9627ba; } input[type="file"].ui.pink.file.input::-webkit-file-upload-button, .ui.pink.file.input input[type="file"]::-webkit-file-upload-button { background: #e03997; color: #fff; } input[type="file"].ui.pink.file.input::-webkit-file-upload-button:hover, .ui.pink.file.input input[type="file"]::-webkit-file-upload-button:hover { background: #e61a8d; } input[type="file"].ui.pink.file.input::-webkit-file-upload-button, .ui.pink.file.input input[type="file"]::-webkit-file-upload-button { background: #e03997; color: #fff; } input[type="file"].ui.pink.file.input::file-selector-button, .ui.pink.file.input input[type="file"]::file-selector-button { background: #e03997; color: #fff; } input[type="file"].ui.pink.file.input::-webkit-file-upload-button:hover, .ui.pink.file.input input[type="file"]::-webkit-file-upload-button:hover { background: #e61a8d; } input[type="file"].ui.pink.file.input::file-selector-button:hover, .ui.pink.file.input input[type="file"]::file-selector-button:hover { background: #e61a8d; } input[type="file"].ui.brown.file.input::-webkit-file-upload-button, .ui.brown.file.input input[type="file"]::-webkit-file-upload-button { background: #a5673f; color: #fff; } input[type="file"].ui.brown.file.input::-webkit-file-upload-button:hover, .ui.brown.file.input input[type="file"]::-webkit-file-upload-button:hover { background: #975b33; } input[type="file"].ui.brown.file.input::-webkit-file-upload-button, .ui.brown.file.input input[type="file"]::-webkit-file-upload-button { background: #a5673f; color: #fff; } input[type="file"].ui.brown.file.input::file-selector-button, .ui.brown.file.input input[type="file"]::file-selector-button { background: #a5673f; color: #fff; } input[type="file"].ui.brown.file.input::-webkit-file-upload-button:hover, .ui.brown.file.input input[type="file"]::-webkit-file-upload-button:hover { background: #975b33; } input[type="file"].ui.brown.file.input::file-selector-button:hover, .ui.brown.file.input input[type="file"]::file-selector-button:hover { background: #975b33; } input[type="file"].ui.grey.file.input::-webkit-file-upload-button, .ui.grey.file.input input[type="file"]::-webkit-file-upload-button { background: #767676; color: #fff; } input[type="file"].ui.grey.file.input::-webkit-file-upload-button:hover, .ui.grey.file.input input[type="file"]::-webkit-file-upload-button:hover { background: #838383; } input[type="file"].ui.grey.file.input::-webkit-file-upload-button, .ui.grey.file.input input[type="file"]::-webkit-file-upload-button { background: #767676; color: #fff; } input[type="file"].ui.grey.file.input::file-selector-button, .ui.grey.file.input input[type="file"]::file-selector-button { background: #767676; color: #fff; } input[type="file"].ui.grey.file.input::-webkit-file-upload-button:hover, .ui.grey.file.input input[type="file"]::-webkit-file-upload-button:hover { background: #838383; } input[type="file"].ui.grey.file.input::file-selector-button:hover, .ui.grey.file.input input[type="file"]::file-selector-button:hover { background: #838383; } input[type="file"].ui.black.file.input::-webkit-file-upload-button, .ui.black.file.input input[type="file"]::-webkit-file-upload-button { background: #1b1c1d; color: #fff; } input[type="file"].ui.black.file.input::-webkit-file-upload-button:hover, .ui.black.file.input input[type="file"]::-webkit-file-upload-button:hover { background: #27292a; } input[type="file"].ui.black.file.input::-webkit-file-upload-button, .ui.black.file.input input[type="file"]::-webkit-file-upload-button { background: #1b1c1d; color: #fff; } input[type="file"].ui.black.file.input::file-selector-button, .ui.black.file.input input[type="file"]::file-selector-button { background: #1b1c1d; color: #fff; } input[type="file"].ui.black.file.input::-webkit-file-upload-button:hover, .ui.black.file.input input[type="file"]::-webkit-file-upload-button:hover { background: #27292a; } input[type="file"].ui.black.file.input::file-selector-button:hover, .ui.black.file.input input[type="file"]::file-selector-button:hover { background: #27292a; } /* -------------------- Size --------------------- */ .ui.input { font-size: 1em; } .ui.mini.input { font-size: 0.78571429em; } .ui.tiny.input { font-size: 0.85714286em; } .ui.small.input { font-size: 0.92857143em; } .ui.large.input { font-size: 1.14285714em; } .ui.big.input { font-size: 1.28571429em; } .ui.huge.input { font-size: 1.42857143em; } .ui.massive.input { font-size: 1.71428571em; } /******************************* Theme Overrides *******************************/ /******************************* Site Overrides *******************************/