parent
3f1e728781
commit
4385f1acbc
425 changed files with 59924 additions and 37200 deletions
336
web/semantic/dist/components/input.css
vendored
Normal file → Executable file
336
web/semantic/dist/components/input.css
vendored
Normal file → Executable file
|
@ -1,9 +1,9 @@
|
|||
/*!
|
||||
* # Semantic UI 1.11.4 - Input
|
||||
* # Semantic UI 2.1.7 - Input
|
||||
* http://github.com/semantic-org/semantic-ui/
|
||||
*
|
||||
*
|
||||
* Copyright 2014 Contributors
|
||||
* Copyright 2015 Contributors
|
||||
* Released under the MIT license
|
||||
* http://opensource.org/licenses/MIT
|
||||
*
|
||||
|
@ -21,24 +21,33 @@
|
|||
|
||||
.ui.input {
|
||||
position: relative;
|
||||
display: inline-block;
|
||||
color: rgba(0, 0, 0, 0.8);
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
display: -webkit-inline-box;
|
||||
display: -webkit-inline-flex;
|
||||
display: -ms-inline-flexbox;
|
||||
display: inline-flex;
|
||||
color: rgba(0, 0, 0, 0.87);
|
||||
}
|
||||
.ui.input input {
|
||||
margin: 0em;
|
||||
width: 100%;
|
||||
max-width: 100%;
|
||||
-webkit-box-flex: 1;
|
||||
-webkit-flex: 1 0 auto;
|
||||
-ms-flex: 1 0 auto;
|
||||
flex: 1 0 auto;
|
||||
outline: none;
|
||||
-webkit-tap-highlight-color: rgba(255, 255, 255, 0);
|
||||
text-align: left;
|
||||
line-height: 1.2142em;
|
||||
font-family: 'Lato', 'Helvetica Neue', Arial, Helvetica, sans-serif;
|
||||
padding: 0.67861em 1em;
|
||||
padding: 0.67861429em 1em;
|
||||
background: #ffffff;
|
||||
border: 1px solid rgba(0, 0, 0, 0.15);
|
||||
color: rgba(0, 0, 0, 0.8);
|
||||
border-radius: 0.2857rem;
|
||||
-webkit-transition: background-color 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
|
||||
transition: background-color 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
|
||||
border: 1px solid rgba(34, 36, 38, 0.15);
|
||||
color: rgba(0, 0, 0, 0.87);
|
||||
border-radius: 0.28571429rem;
|
||||
-webkit-transition: box-shadow 0.1s ease, border-color 0.1s ease;
|
||||
transition: box-shadow 0.1s ease, border-color 0.1s ease;
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
|
@ -54,6 +63,9 @@
|
|||
.ui.input input::-moz-placeholder {
|
||||
color: rgba(0, 0, 0, 0.4);
|
||||
}
|
||||
.ui.input input::-ms-input-placeholder {
|
||||
color: rgba(0, 0, 0, 0.4);
|
||||
}
|
||||
|
||||
|
||||
/*******************************
|
||||
|
@ -61,6 +73,18 @@
|
|||
*******************************/
|
||||
|
||||
|
||||
/*--------------------
|
||||
Disabled
|
||||
---------------------*/
|
||||
|
||||
.ui.disabled.input,
|
||||
.ui.input input[disabled] {
|
||||
opacity: 0.45;
|
||||
}
|
||||
.ui.disabled.input input {
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
/*--------------------
|
||||
Active
|
||||
---------------------*/
|
||||
|
@ -69,7 +93,7 @@
|
|||
.ui.input.down input {
|
||||
border-color: rgba(0, 0, 0, 0.3);
|
||||
background: #fafafa;
|
||||
color: rgba(0, 0, 0, 0.8);
|
||||
color: rgba(0, 0, 0, 0.87);
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
|
@ -82,9 +106,9 @@
|
|||
content: '';
|
||||
top: 50%;
|
||||
left: 50%;
|
||||
margin: -0.64285em 0em 0em -0.64285em;
|
||||
width: 1.2857em;
|
||||
height: 1.2857em;
|
||||
margin: -0.64285714em 0em 0em -0.64285714em;
|
||||
width: 1.28571429em;
|
||||
height: 1.28571429em;
|
||||
border-radius: 500rem;
|
||||
border: 0.2em solid rgba(0, 0, 0, 0.1);
|
||||
}
|
||||
|
@ -93,15 +117,15 @@
|
|||
content: '';
|
||||
top: 50%;
|
||||
left: 50%;
|
||||
margin: -0.64285em 0em 0em -0.64285em;
|
||||
width: 1.2857em;
|
||||
height: 1.2857em;
|
||||
margin: -0.64285714em 0em 0em -0.64285714em;
|
||||
width: 1.28571429em;
|
||||
height: 1.28571429em;
|
||||
-webkit-animation: button-spin 0.6s linear;
|
||||
animation: button-spin 0.6s linear;
|
||||
-webkit-animation-iteration-count: infinite;
|
||||
animation-iteration-count: infinite;
|
||||
border-radius: 500rem;
|
||||
border-color: #aaaaaa transparent transparent;
|
||||
border-color: #767676 transparent transparent;
|
||||
border-style: solid;
|
||||
border-width: 0.2em;
|
||||
box-shadow: 0px 0px 0px 1px transparent;
|
||||
|
@ -113,18 +137,22 @@
|
|||
|
||||
.ui.input.focus input,
|
||||
.ui.input input:focus {
|
||||
border-color: rgba(39, 41, 43, 0.3);
|
||||
border-color: #85b7d9;
|
||||
background: #ffffff;
|
||||
color: rgba(0, 0, 0, 0.8);
|
||||
box-shadow: none;
|
||||
}
|
||||
.ui.input.focus input input::-webkit-input-placeholder,
|
||||
.ui.input input:focus input::-webkit-input-placeholder {
|
||||
color: rgba(0, 0, 0, 0.8);
|
||||
.ui.input.focus input::-webkit-input-placeholder,
|
||||
.ui.input input:focus::-webkit-input-placeholder {
|
||||
color: rgba(0, 0, 0, 0.87);
|
||||
}
|
||||
.ui.input.focus input input::-moz-placeholder,
|
||||
.ui.input input:focus input::-moz-placeholder {
|
||||
color: rgba(0, 0, 0, 0.8);
|
||||
.ui.input.focus input::-moz-placeholder,
|
||||
.ui.input input:focus::-moz-placeholder {
|
||||
color: rgba(0, 0, 0, 0.87);
|
||||
}
|
||||
.ui.input.focus input::-ms-input-placeholder,
|
||||
.ui.input input:focus::-ms-input-placeholder {
|
||||
color: rgba(0, 0, 0, 0.87);
|
||||
}
|
||||
|
||||
/*--------------------
|
||||
|
@ -132,26 +160,32 @@
|
|||
---------------------*/
|
||||
|
||||
.ui.input.error input {
|
||||
background-color: #fff0f0;
|
||||
border-color: #dbb1b1;
|
||||
color: #d95c5c;
|
||||
background-color: #fff6f6;
|
||||
border-color: #e0b4b4;
|
||||
color: #9f3a38;
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
/* Error Placeholder */
|
||||
.ui.input.error input ::-webkit-input-placeholder {
|
||||
color: rgba(255, 80, 80, 0.4);
|
||||
.ui.input.error input::-webkit-input-placeholder {
|
||||
color: #e7bdbc;
|
||||
}
|
||||
.ui.input.error input ::-moz-placeholder {
|
||||
color: rgba(255, 80, 80, 0.4);
|
||||
.ui.input.error input::-moz-placeholder {
|
||||
color: #e7bdbc;
|
||||
}
|
||||
.ui.input.error input::-ms-input-placeholder {
|
||||
color: #e7bdbc;
|
||||
}
|
||||
|
||||
/* Focused Error Placeholder */
|
||||
.ui.input.error input :focus::-webkit-input-placeholder {
|
||||
color: rgba(255, 80, 80, 0.7);
|
||||
.ui.input.error input:focus::-webkit-input-placeholder {
|
||||
color: #da9796;
|
||||
}
|
||||
.ui.input.error input :focus::-moz-placeholder {
|
||||
color: rgba(255, 80, 80, 0.7);
|
||||
.ui.input.error input:focus::-moz-placeholder {
|
||||
color: #da9796;
|
||||
}
|
||||
.ui.input.error input:focus::-ms-input-placeholder {
|
||||
color: #da9796;
|
||||
}
|
||||
|
||||
|
||||
|
@ -165,34 +199,41 @@
|
|||
---------------------*/
|
||||
|
||||
.ui.transparent.input input {
|
||||
border-color: transparent;
|
||||
background-color: transparent;
|
||||
padding: 0em;
|
||||
border-color: transparent !important;
|
||||
background-color: transparent !important;
|
||||
padding: 0em !important;
|
||||
box-shadow: none !important;
|
||||
}
|
||||
|
||||
/* Transparent Icon */
|
||||
.ui.transparent.icon.input > i.icon {
|
||||
width: 1.25em;
|
||||
width: 1.1em;
|
||||
}
|
||||
.ui.transparent.icon.input > input {
|
||||
padding-left: 0em !important;
|
||||
padding-right: 2em !important;
|
||||
}
|
||||
.ui.transparent[class*="left icon"].input > input {
|
||||
padding-left: 0em !important;
|
||||
padding-left: 2em !important;
|
||||
padding-right: 0em !important;
|
||||
}
|
||||
|
||||
/* Transparent Inverted */
|
||||
.ui.transparent.inverted.input input::-moz-placeholder {
|
||||
color: rgba(255, 255, 255, 0.5);
|
||||
}
|
||||
.ui.transparent.inverted.input {
|
||||
color: #ffffff;
|
||||
}
|
||||
.ui.transparent.inverted.input input {
|
||||
color: inherit;
|
||||
}
|
||||
.ui.transparent.inverted.input input::-webkit-input-placeholder {
|
||||
color: rgba(255, 255, 255, 0.5);
|
||||
}
|
||||
.ui.transparent.inverted.input input::-moz-placeholder {
|
||||
color: rgba(255, 255, 255, 0.5);
|
||||
}
|
||||
.ui.transparent.inverted.input input::-ms-input-placeholder {
|
||||
color: rgba(255, 255, 255, 0.5);
|
||||
}
|
||||
|
||||
/*--------------------
|
||||
Icon
|
||||
|
@ -201,19 +242,23 @@
|
|||
.ui.icon.input > i.icon {
|
||||
cursor: default;
|
||||
position: absolute;
|
||||
line-height: 1;
|
||||
text-align: center;
|
||||
top: 0px;
|
||||
right: 0px;
|
||||
margin: 0em;
|
||||
height: 100%;
|
||||
width: 2.82142em;
|
||||
width: 2.67142857em;
|
||||
opacity: 0.5;
|
||||
border-radius: 0em 0.2857rem 0.2857rem 0em;
|
||||
border-radius: 0em 0.28571429rem 0.28571429rem 0em;
|
||||
-webkit-transition: opacity 0.3s ease;
|
||||
transition: opacity 0.3s ease;
|
||||
}
|
||||
.ui.icon.input > i.icon:not(.link) {
|
||||
pointer-events: none;
|
||||
}
|
||||
.ui.icon.input input {
|
||||
padding-right: 2.82142em !important;
|
||||
padding-right: 2.67142857em !important;
|
||||
}
|
||||
.ui.icon.input > i.icon:before,
|
||||
.ui.icon.input > i.icon:after {
|
||||
|
@ -236,14 +281,14 @@
|
|||
.ui[class*="left icon"].input > i.icon {
|
||||
right: auto;
|
||||
left: 1px;
|
||||
border-radius: 0.2857rem 0em 0em 0.2857rem;
|
||||
border-radius: 0.28571429rem 0em 0em 0.28571429rem;
|
||||
}
|
||||
.ui[class*="left icon"].input > i.circular.icon {
|
||||
right: auto;
|
||||
left: 0.5em;
|
||||
}
|
||||
.ui[class*="left icon"].input > input {
|
||||
padding-left: 2.82142em !important;
|
||||
padding-left: 2.67142857em !important;
|
||||
padding-right: 1em !important;
|
||||
}
|
||||
|
||||
|
@ -258,128 +303,155 @@
|
|||
|
||||
|
||||
/* Adjacent Label */
|
||||
.ui.labeled.input {
|
||||
display: -webkit-inline-box;
|
||||
display: -webkit-inline-flex;
|
||||
display: -ms-inline-flexbox;
|
||||
display: inline-flex;
|
||||
}
|
||||
.ui.labeled.input > .label {
|
||||
-webkit-box-flex: 1;
|
||||
-webkit-flex: 1 0 auto;
|
||||
-ms-flex: 1 0 auto;
|
||||
flex: 1 0 auto;
|
||||
-webkit-box-flex: 0;
|
||||
-webkit-flex: 0 0 auto;
|
||||
-ms-flex: 0 0 auto;
|
||||
flex: 0 0 auto;
|
||||
margin: 0;
|
||||
font-size: 1em;
|
||||
}
|
||||
.ui.labeled.input > .label:not(.corner) {
|
||||
padding-top: 0.78571em;
|
||||
padding-bottom: 0.78571em;
|
||||
padding-top: 0.78571429em;
|
||||
padding-bottom: 0.78571429em;
|
||||
}
|
||||
|
||||
/* Fluid Labeled */
|
||||
.ui.fluid.labeled.input {
|
||||
display: -webkit-box;
|
||||
display: -webkit-flex;
|
||||
display: -ms-flexbox;
|
||||
display: flex;
|
||||
}
|
||||
|
||||
/* Label on Left */
|
||||
.ui.labeled.input:not([class*="corner labeled"]):not([class*="right labeled"]) > input {
|
||||
border-left: none;
|
||||
border-top-left-radius: 0px;
|
||||
border-bottom-left-radius: 0px;
|
||||
}
|
||||
.ui.labeled.input:not([class*="corner labeled"]):not([class*="right labeled"]) > .label {
|
||||
/* Regular Label on Left */
|
||||
.ui.labeled.input:not([class*="corner labeled"]) .label:first-child {
|
||||
border-top-right-radius: 0px;
|
||||
border-bottom-right-radius: 0px;
|
||||
}
|
||||
|
||||
/* Label on Right */
|
||||
.ui[class*="right labeled"].input > input {
|
||||
border-right: none;
|
||||
border-top-right-radius: 0px !important;
|
||||
border-bottom-right-radius: 0px !important;
|
||||
}
|
||||
.ui[class*="right labeled"].input > .label {
|
||||
.ui.labeled.input:not([class*="corner labeled"]) .label:first-child + input {
|
||||
border-top-left-radius: 0px;
|
||||
border-bottom-left-radius: 0px;
|
||||
border-left-color: transparent;
|
||||
}
|
||||
.ui.labeled.input:not([class*="corner labeled"]) .label:first-child + input:focus {
|
||||
border-left-color: #85b7d9;
|
||||
}
|
||||
|
||||
/* Regular Label on Right */
|
||||
.ui[class*="right labeled"].input input {
|
||||
border-top-right-radius: 0px !important;
|
||||
border-bottom-right-radius: 0px !important;
|
||||
border-right-color: transparent !important;
|
||||
}
|
||||
.ui[class*="right labeled"].input input + .label {
|
||||
border-top-left-radius: 0px;
|
||||
border-bottom-left-radius: 0px;
|
||||
}
|
||||
.ui[class*="right labeled"].input input:focus {
|
||||
border-right-color: #85b7d9 !important;
|
||||
}
|
||||
|
||||
/* Corner Label */
|
||||
.ui.labeled.input .corner.label {
|
||||
top: 1px;
|
||||
right: 1px;
|
||||
font-size: 0.75em;
|
||||
border-radius: 0em 0.2857rem 0em 0em;
|
||||
}
|
||||
.ui.labeled.input input {
|
||||
padding-right: 2.5em !important;
|
||||
font-size: 0.64285714em;
|
||||
border-radius: 0em 0.28571429rem 0em 0em;
|
||||
}
|
||||
|
||||
/* Spacing with corner label */
|
||||
.ui[class*="corner labeled"].icon.input:not(.left) > input {
|
||||
.ui[class*="corner labeled"]:not([class*="left corner labeled"]).labeled.input input {
|
||||
padding-right: 2.5em !important;
|
||||
}
|
||||
.ui[class*="corner labeled"].icon.input:not([class*="left corner labeled"]) > input {
|
||||
padding-right: 3.25em !important;
|
||||
}
|
||||
.ui[class*="corner labeled"].icon.input:not(.left) > .icon {
|
||||
.ui[class*="corner labeled"].icon.input:not([class*="left corner labeled"]) > .icon {
|
||||
margin-right: 1.25em;
|
||||
}
|
||||
|
||||
/* Left Labeled */
|
||||
.ui[class*="left corner labeled"].labeled.input input {
|
||||
padding-left: 2.5em !important;
|
||||
}
|
||||
.ui[class*="left corner labeled"].icon.input > input {
|
||||
padding-left: 3.25em !important;
|
||||
}
|
||||
.ui[class*="left corner labeled"].icon.input > .icon {
|
||||
margin-left: 1.25em;
|
||||
}
|
||||
|
||||
/* Corner Label Position */
|
||||
.ui.input > .ui.corner.label {
|
||||
top: 1px;
|
||||
right: 1px;
|
||||
}
|
||||
.ui.input > .ui.left.corner.label {
|
||||
right: auto;
|
||||
left: 1px;
|
||||
}
|
||||
|
||||
/*--------------------
|
||||
Action
|
||||
---------------------*/
|
||||
|
||||
.ui.action.input {
|
||||
display: -webkit-inline-box;
|
||||
display: -webkit-inline-flex;
|
||||
display: -ms-inline-flexbox;
|
||||
display: inline-flex;
|
||||
}
|
||||
.ui.action.input > .button,
|
||||
.ui.action.input > .buttons {
|
||||
-webkit-box-flex: 1;
|
||||
-webkit-flex: 1 0 auto;
|
||||
-ms-flex: 1 0 auto;
|
||||
flex: 1 0 auto;
|
||||
}
|
||||
.ui.action.input > .button,
|
||||
.ui.action.input > .buttons > .button {
|
||||
padding-top: 0.78571em;
|
||||
padding-bottom: 0.78571em;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
/* Fluid */
|
||||
.ui.fluid.action.input {
|
||||
display: -webkit-box;
|
||||
display: -webkit-flex;
|
||||
display: -ms-flexbox;
|
||||
display: flex;
|
||||
-webkit-box-align: center;
|
||||
-webkit-align-items: center;
|
||||
-ms-flex-align: center;
|
||||
align-items: center;
|
||||
-webkit-box-flex: 0;
|
||||
-webkit-flex: 0 0 auto;
|
||||
-ms-flex: 0 0 auto;
|
||||
flex: 0 0 auto;
|
||||
}
|
||||
.ui.action.input > .button,
|
||||
.ui.action.input > .buttons > .button {
|
||||
padding-top: 0.78571429em;
|
||||
padding-bottom: 0.78571429em;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
/* Button on Right */
|
||||
.ui.action.input:not([class*="left action"]) > input {
|
||||
border-right: none;
|
||||
border-top-right-radius: 0px !important;
|
||||
border-bottom-right-radius: 0px !important;
|
||||
border-right-color: transparent !important;
|
||||
}
|
||||
.ui.action.input:not([class*="left action"]) > .dropdown,
|
||||
.ui.action.input:not([class*="left action"]) > .button,
|
||||
.ui.action.input:not([class*="left action"]) > .buttons > .button {
|
||||
border-top-left-radius: 0px;
|
||||
border-bottom-left-radius: 0px;
|
||||
border-radius: 0px;
|
||||
}
|
||||
.ui.action.input:not([class*="left action"]) > .dropdown:last-child,
|
||||
.ui.action.input:not([class*="left action"]) > .button:last-child,
|
||||
.ui.action.input:not([class*="left action"]) > .buttons:last-child > .button {
|
||||
border-radius: 0px 0.28571429rem 0.28571429rem 0px;
|
||||
}
|
||||
|
||||
/* Input Focus */
|
||||
.ui.action.input:not([class*="left action"]) input:focus {
|
||||
border-right-color: #85b7d9 !important;
|
||||
}
|
||||
|
||||
/* Button on Left */
|
||||
.ui[class*="left action"].input > input {
|
||||
border-top-left-radius: 0px !important;
|
||||
border-bottom-left-radius: 0px !important;
|
||||
border-left-color: transparent !important;
|
||||
}
|
||||
.ui[class*="left action"].input > .dropdown,
|
||||
.ui[class*="left action"].input > .button,
|
||||
.ui[class*="left action"].input > .buttons > .button {
|
||||
border-top-right-radius: 0px;
|
||||
border-bottom-right-radius: 0px;
|
||||
border-radius: 0px;
|
||||
}
|
||||
.ui[class*="left action"].input > input {
|
||||
border-left: none;
|
||||
border-top-left-radius: 0px;
|
||||
border-bottom-left-radius: 0px;
|
||||
.ui[class*="left action"].input > .dropdown:first-child,
|
||||
.ui[class*="left action"].input > .button:first-child,
|
||||
.ui[class*="left action"].input > .buttons:first-child > .button {
|
||||
border-radius: 0.28571429rem 0px 0px 0.28571429rem;
|
||||
}
|
||||
|
||||
/* Input Focus */
|
||||
.ui[class*="left action"].input > input:focus {
|
||||
border-left-color: #85b7d9 !important;
|
||||
}
|
||||
|
||||
/*--------------------
|
||||
|
@ -397,7 +469,13 @@
|
|||
---------------------*/
|
||||
|
||||
.ui.fluid.input {
|
||||
display: block;
|
||||
display: -webkit-box;
|
||||
display: -webkit-flex;
|
||||
display: -ms-flexbox;
|
||||
display: flex;
|
||||
}
|
||||
.ui.fluid.input > input {
|
||||
width: 0px !important;
|
||||
}
|
||||
|
||||
/*--------------------
|
||||
|
@ -405,25 +483,25 @@
|
|||
---------------------*/
|
||||
|
||||
.ui.mini.input {
|
||||
font-size: 0.8125rem;
|
||||
font-size: 0.71428571em;
|
||||
}
|
||||
.ui.small.input {
|
||||
font-size: 0.875rem;
|
||||
font-size: 0.92857143em;
|
||||
}
|
||||
.ui.input {
|
||||
font-size: 1rem;
|
||||
font-size: 1em;
|
||||
}
|
||||
.ui.large.input {
|
||||
font-size: 1.125rem;
|
||||
font-size: 1.14285714em;
|
||||
}
|
||||
.ui.big.input {
|
||||
font-size: 1.25rem;
|
||||
font-size: 1.28571429em;
|
||||
}
|
||||
.ui.huge.input {
|
||||
font-size: 1.375rem;
|
||||
font-size: 1.42857143em;
|
||||
}
|
||||
.ui.massive.input {
|
||||
font-size: 1.5rem;
|
||||
font-size: 1.71428571em;
|
||||
}
|
||||
|
||||
|
||||
|
|
Reference in a new issue