mirror of
https://github.com/mickael-kerjean/filestash.git
synced 2025-11-02 03:54:59 +08:00
38 lines
883 B
SCSS
38 lines
883 B
SCSS
@font-face {
|
|
font-family: password;
|
|
src: url('textarea.woff');
|
|
}
|
|
|
|
.component_textarea{
|
|
background: inherit;
|
|
border: none;
|
|
border-radius: 0;
|
|
width: 100%;
|
|
display: inline-block;
|
|
font-family: "San Francisco","Roboto","Arial",sans-serif;
|
|
-webkit-text-size-adjust: 100%;
|
|
font-size: 16px;
|
|
padding: 5px 0px 5px 0px;
|
|
margin: 0 0 8px 0;
|
|
outline: none;
|
|
box-sizing: border-box;
|
|
color: inherit;
|
|
vertical-align: top;
|
|
min-width: 100%;
|
|
max-width: 100%;
|
|
max-height: 31px; /* Firefox was doing some weird things */
|
|
|
|
&[name="password"]{
|
|
&.hasText{
|
|
font-family: 'password';
|
|
}
|
|
-webkit-text-security:disc!important;
|
|
}
|
|
|
|
border-bottom: 2px solid rgba(70, 99, 114, 0.1);
|
|
transition: border-color 0.2s ease-out;
|
|
&:focus{
|
|
border-color: var(--emphasis-primary);
|
|
}
|
|
}
|