}
@mixin peertube-input-text($width) {
- padding: 0 15px;
+ padding: 4px 15px;
display: inline-block;
- height: $button-height;
width: $width;
max-width: $width;
color: pvar(--inputForegroundColor);
}
@mixin peertube-button {
- padding: 0 13px;
+ padding: 4px 13px;
border: 0;
font-weight: $font-semibold;
- min-height: $button-height;
- line-height: $button-height;
// Because of primeng that redefines border-radius of all input[type="..."]
border-radius: 3px !important;
my-global-icon + * {
@include margin-right(4px);
+ @include margin-left(4px);
}
}
position: relative;
overflow: hidden;
display: inline-block;
- min-height: 30px;
input[type=file] {
position: absolute;
filter: alpha(opacity=0);
opacity: 0;
outline: none;
- background: #fff;
+ background: pvar(--mainBackgroundColor);
cursor: inherit;
display: block;
}
}
select {
- padding: 0 35px 0 12px;
+ padding: 4px 35px 4px 12px;
position: relative;
border: 1px solid pvar(--inputBorderColor);
background: transparent none;
appearance: none;
- height: $button-height;
text-overflow: ellipsis;
color: pvar(--mainForegroundColor);
font-size: $form-input-font-size;