Line | |
---|
1 | .p-calendar {
|
---|
2 | position: relative;
|
---|
3 | display: inline-flex;
|
---|
4 | }
|
---|
5 |
|
---|
6 | .p-calendar .p-inputtext {
|
---|
7 | flex: 1 1 auto;
|
---|
8 | width: 1%;
|
---|
9 | }
|
---|
10 |
|
---|
11 | .p-calendar-w-btn .p-inputtext {
|
---|
12 | border-top-right-radius: 0;
|
---|
13 | border-bottom-right-radius: 0;
|
---|
14 | }
|
---|
15 |
|
---|
16 | .p-calendar-w-btn .p-datepicker-trigger {
|
---|
17 | border-top-left-radius: 0;
|
---|
18 | border-bottom-left-radius: 0;
|
---|
19 | }
|
---|
20 |
|
---|
21 | /* Fluid */
|
---|
22 | .p-fluid .p-calendar {
|
---|
23 | display: flex;
|
---|
24 | }
|
---|
25 |
|
---|
26 | .p-fluid .p-calendar .p-inputtext {
|
---|
27 | width: 1%;
|
---|
28 | }
|
---|
29 |
|
---|
30 | /* Datepicker */
|
---|
31 | .p-calendar .p-datepicker {
|
---|
32 | min-width: 100%;
|
---|
33 | }
|
---|
34 |
|
---|
35 | .p-datepicker {
|
---|
36 | width: auto;
|
---|
37 | position: absolute;
|
---|
38 | top: 0;
|
---|
39 | left: 0;
|
---|
40 | }
|
---|
41 |
|
---|
42 | .p-datepicker-inline {
|
---|
43 | position: static;
|
---|
44 | }
|
---|
45 |
|
---|
46 | /* Header */
|
---|
47 | .p-datepicker-header {
|
---|
48 | display: flex;
|
---|
49 | align-items: center;
|
---|
50 | justify-content: space-between;
|
---|
51 | }
|
---|
52 |
|
---|
53 | .p-datepicker-header .p-datepicker-title {
|
---|
54 | margin: 0 auto;
|
---|
55 | }
|
---|
56 |
|
---|
57 | .p-datepicker-prev,
|
---|
58 | .p-datepicker-next {
|
---|
59 | cursor: pointer;
|
---|
60 | display: inline-flex;
|
---|
61 | justify-content: center;
|
---|
62 | align-items: center;
|
---|
63 | overflow: hidden;
|
---|
64 | position: relative;
|
---|
65 | }
|
---|
66 |
|
---|
67 | /* Multiple Month DatePicker */
|
---|
68 | .p-datepicker-multiple-month .p-datepicker-group-container {
|
---|
69 | display: flex;
|
---|
70 | }
|
---|
71 |
|
---|
72 | /* DatePicker Table */
|
---|
73 | .p-datepicker table {
|
---|
74 | width: 100%;
|
---|
75 | border-collapse: collapse;
|
---|
76 | }
|
---|
77 |
|
---|
78 | .p-datepicker td > span {
|
---|
79 | display: flex;
|
---|
80 | justify-content: center;
|
---|
81 | align-items: center;
|
---|
82 | cursor: pointer;
|
---|
83 | margin: 0 auto;
|
---|
84 | overflow: hidden;
|
---|
85 | position: relative;
|
---|
86 | }
|
---|
87 |
|
---|
88 | /* Month Picker */
|
---|
89 | .p-monthpicker-month {
|
---|
90 | width: 33.3%;
|
---|
91 | display: inline-flex;
|
---|
92 | align-items: center;
|
---|
93 | justify-content: center;
|
---|
94 | cursor: pointer;
|
---|
95 | overflow: hidden;
|
---|
96 | position: relative;
|
---|
97 | }
|
---|
98 |
|
---|
99 | /* Button Bar */
|
---|
100 | .p-datepicker-buttonbar {
|
---|
101 | display: flex;
|
---|
102 | justify-content: space-between;
|
---|
103 | align-items: center;
|
---|
104 | }
|
---|
105 |
|
---|
106 | /* Time Picker */
|
---|
107 | .p-timepicker {
|
---|
108 | display: flex;
|
---|
109 | justify-content: center;
|
---|
110 | align-items: center;
|
---|
111 | }
|
---|
112 |
|
---|
113 | .p-timepicker button {
|
---|
114 | display: flex;
|
---|
115 | align-items: center;
|
---|
116 | justify-content: center;
|
---|
117 | cursor: pointer;
|
---|
118 | overflow: hidden;
|
---|
119 | position: relative;
|
---|
120 | }
|
---|
121 |
|
---|
122 | .p-timepicker > div {
|
---|
123 | display: flex;
|
---|
124 | align-items: center;
|
---|
125 | flex-direction: column;
|
---|
126 | }
|
---|
127 |
|
---|
128 | /* Touch UI */
|
---|
129 | .p-datepicker-touch-ui,
|
---|
130 | .p-calendar .p-datepicker-touch-ui {
|
---|
131 | position: fixed;
|
---|
132 | top: 50%;
|
---|
133 | left: 50%;
|
---|
134 | min-width: 80vw;
|
---|
135 | transform: translate(-50%, -50%);
|
---|
136 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.