Last change
on this file since bdd6491 was 59329aa, checked in by Ema <ema_spirova@…>, 3 years ago |
adding photos
|
-
Property mode
set to
100644
|
File size:
1.5 KB
|
Line | |
---|
1 | .p-inputtext {
|
---|
2 | margin: 0;
|
---|
3 | }
|
---|
4 |
|
---|
5 | .p-fluid .p-inputtext {
|
---|
6 | width: 100%;
|
---|
7 | }
|
---|
8 |
|
---|
9 | /* InputGroup */
|
---|
10 | .p-inputgroup {
|
---|
11 | display: flex;
|
---|
12 | align-items: stretch;
|
---|
13 | width: 100%;
|
---|
14 | }
|
---|
15 |
|
---|
16 | .p-inputgroup-addon {
|
---|
17 | display: flex;
|
---|
18 | align-items: center;
|
---|
19 | justify-content: center;
|
---|
20 | }
|
---|
21 |
|
---|
22 | .p-inputgroup .p-float-label {
|
---|
23 | display: flex;
|
---|
24 | align-items: stretch;
|
---|
25 | width: 100%;
|
---|
26 | }
|
---|
27 |
|
---|
28 | .p-inputgroup .p-inputtext,
|
---|
29 | .p-fluid .p-inputgroup .p-inputtext,
|
---|
30 | .p-inputgroup .p-inputwrapper,
|
---|
31 | .p-inputgroup .p-inputwrapper > .p-component {
|
---|
32 | flex: 1 1 auto;
|
---|
33 | width: 1%;
|
---|
34 | }
|
---|
35 |
|
---|
36 | /* Floating Label */
|
---|
37 | .p-float-label {
|
---|
38 | display: block;
|
---|
39 | position: relative;
|
---|
40 | }
|
---|
41 |
|
---|
42 | .p-float-label label {
|
---|
43 | position: absolute;
|
---|
44 | pointer-events: none;
|
---|
45 | top: 50%;
|
---|
46 | margin-top: -.5rem;
|
---|
47 | transition-property: all;
|
---|
48 | transition-timing-function: ease;
|
---|
49 | line-height: 1;
|
---|
50 | }
|
---|
51 |
|
---|
52 | .p-float-label textarea ~ label {
|
---|
53 | top: 1rem;
|
---|
54 | }
|
---|
55 |
|
---|
56 | .p-float-label input:focus ~ label,
|
---|
57 | .p-float-label input.p-filled ~ label,
|
---|
58 | .p-float-label textarea:focus ~ label,
|
---|
59 | .p-float-label textarea.p-filled ~ label,
|
---|
60 | .p-float-label .p-inputwrapper-focus ~ label,
|
---|
61 | .p-float-label .p-inputwrapper-filled ~ label {
|
---|
62 | top: -.75rem;
|
---|
63 | font-size: 12px;
|
---|
64 | }
|
---|
65 |
|
---|
66 | .p-float-label .input:-webkit-autofill ~ label {
|
---|
67 | top: -20px;
|
---|
68 | font-size: 12px;
|
---|
69 | }
|
---|
70 |
|
---|
71 | .p-input-icon-left,
|
---|
72 | .p-input-icon-right {
|
---|
73 | position: relative;
|
---|
74 | display: inline-block;
|
---|
75 | }
|
---|
76 |
|
---|
77 | .p-input-icon-left > i,
|
---|
78 | .p-input-icon-right > i {
|
---|
79 | position: absolute;
|
---|
80 | top: 50%;
|
---|
81 | margin-top: -.5rem;
|
---|
82 | }
|
---|
83 |
|
---|
84 | .p-fluid .p-input-icon-left,
|
---|
85 | .p-fluid .p-input-icon-right {
|
---|
86 | display: block;
|
---|
87 | width: 100%;
|
---|
88 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.