-
Notifications
You must be signed in to change notification settings - Fork 276
/
input.scss
54 lines (48 loc) · 1.05 KB
/
input.scss
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
/// input.scss -*- Mode: scss; indent-tabs-mode: nil; basic-offset: 2 -*-
@import 'extends';
md-input-container {
&.md-input-number {
flex-grow: 0;
width: 4em;
input {
text-align: center;
}
}
&.md-no-flex {
flex: none !important;
}
.md-errors-spacer {
// Temporary fix for https://github.com/angular/material/issues/6214
min-height: 0 !important;
}
.sg-hint {
@extend .md-char-counter;
@include rtl(text-align, left, right);
}
}
//md-input-container .bgroup {
// display: block;
//}
//.bgroup b {
// left-margin: -1.25em;
//}
md-autocomplete .sg-input-no-message [md-floating-label] {
md-input-container {
// See .md-input-has-messages
padding-bottom: $input-container-padding;
}
}
.PseudoField input {
flex: 1;
order: 2;
display: block;
background: none;
padding-top: $input-padding-top;
padding-bottom: 0;
border-width: 0 0 $input-border-width-default 0;
line-height: $input-line-height;
-ms-flex-preferred-size: $input-line-height; //IE fix
&:focus {
outline: none;
}
}