Publish Vulpes Preview 15 sources for desktop, Android and Tundra
Share Gaia assets and adapters, keep private profiles and development documents local, and update both public READMEs.
This commit is contained in:
parent
93e3a48004
commit
b38dea0597
25901 changed files with 9982925 additions and 369 deletions
95
gaia/shared/elements/gaia_textinput/style.css
Executable file
95
gaia/shared/elements/gaia_textinput/style.css
Executable file
|
|
@ -0,0 +1,95 @@
|
|||
/* ----------------------------------
|
||||
* TEXT INPUT
|
||||
* ---------------------------------- */
|
||||
|
||||
input[type="text"],
|
||||
input[type="password"],
|
||||
input[type="email"],
|
||||
input[type="tel"],
|
||||
input[type="search"],
|
||||
input[type="url"],
|
||||
input[type="number"],
|
||||
input[type="date"],
|
||||
textarea {
|
||||
-moz-box-sizing: border-box;
|
||||
display: block;
|
||||
width: 100%;
|
||||
height: 4rem;
|
||||
resize: none;
|
||||
padding: 0 1.2rem;
|
||||
font-size: 1.8rem;
|
||||
line-height: 4rem;
|
||||
border: 0.1rem solid #ccc;
|
||||
border-radius: 0.3rem;
|
||||
box-shadow: none; /* override the box-shadow from the system (performance issue) */
|
||||
background: #fff url(input_areas/images/ui/shadow.png) repeat-x;
|
||||
}
|
||||
|
||||
/* fix for required inputs with wrong or empty value e.g. [type=email] */
|
||||
input:invalid,
|
||||
textarea:invalid {
|
||||
border: 0.1rem solid #820000;
|
||||
color: #b90000;
|
||||
}
|
||||
|
||||
input::-moz-placeholder,
|
||||
textarea::-moz-placeholder {
|
||||
color: #858585;
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
input:-moz-placeholder,
|
||||
textarea:-moz-placeholder {
|
||||
color: #858585;
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
input:focus {
|
||||
padding-right: 3rem;
|
||||
}
|
||||
|
||||
input:focus + button[type="reset"],
|
||||
textarea:focus + button[type="reset"],
|
||||
input:focus + button.reset,
|
||||
textarea:focus + button.reset {
|
||||
opacity: 1;
|
||||
pointer-events: all;
|
||||
}
|
||||
|
||||
input + button[type="reset"],
|
||||
textarea + button[type="reset"],
|
||||
input + button.reset,
|
||||
textarea + button.reset {
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
right: 0;
|
||||
width: 3rem;
|
||||
height: 4rem;
|
||||
padding: 0;
|
||||
border: none;
|
||||
font-size: 0;
|
||||
opacity: 0;
|
||||
pointer-events: none;
|
||||
background: transparent url(images/clear.png) no-repeat 50% 50% / 2.4rem auto;
|
||||
}
|
||||
|
||||
.skin-dark input + button[type="reset"],
|
||||
.skin-dark textarea + button[type="reset"],
|
||||
.skin-dark input + button.reset,
|
||||
.skin-dark textarea + button.reset {
|
||||
background-image: url(images/clear_dark.png);
|
||||
}
|
||||
|
||||
input + button[type="reset"],
|
||||
textarea + button[type="reset"],
|
||||
input + button.reset,
|
||||
textarea + button.reset {
|
||||
top: 0;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
#gaia-text-input {
|
||||
position: relative;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
Loading…
Reference in a new issue