summaryrefslogtreecommitdiffstats
path: root/WebContent/VAADIN/themes/liferay/datefield/datefield.scss
blob: 4bfc810b52ae7978e10174808cffc6e8501becb7 (plain)
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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
@mixin liferay-datefield {

.v-datefield-popup {
	padding: 3px;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
}

.v-datefield-calendarpanel-header {
	height: 28px;	
}

.v-datefield-calendarpanel:focus {
	outline: none;	
}

.v-datefield-calendarpanel-body {
	text-align: right;
	vertical-align: top;
}

.v-datefield-popupcalendar .v-datefield-button {
	background: transparent url(../common/buttons_sprites.png) no-repeat 0 -48px;
	width: 24px;
	height: 24px;
	border: none;
}

.v-datefield-popupcalendar .v-datefield-button:hover {
	background-position: 0px -72px;
}

.v-datefield-popupcalendar .v-datefield-button:focus {
	background-position: 0px -96px;
}

.v-datefield-month .v-datefield-calendarpanel-month,
.v-datefield-day .v-datefield-calendarpanel-month,
.v-datefield-full .v-datefield-calendarpanel-month {
	width: 124px;
}

.v-datefield-year .v-datefield-calendarpanel-month {
	width: 35px;
}

.v-datefield-calendarpanel-month {
	background: transparent url(datefield_sprites.png) repeat-x 0 -112px;
	font-weight: bold;
}

span.v-datefield-calendarpanel-month {
	display: block;
	text-align: center;
	background: transparent;
	overflow: hidden;
	padding: 1px 3px 0;
}

.v-datefield-calendarpanel-prevyear,
.v-datefield-calendarpanel-nextyear {
	width: 22px;	
}
	
.v-datefield-calendarpanel-prevyear button,
.v-datefield-calendarpanel-prevmonth button,
.v-datefield-calendarpanel-nextmonth button,
.v-datefield-calendarpanel-nextyear button {
	width: 22px;
	height: 28px;
	border: none;
	background: transparent;
	background-repeat: no-repeat;
	background-image: url(datefield_sprites.png);
  	background-position: 0 0;
	overflow: hidden;
	padding: 0;
	text-indent: -9999px;
	outline: none;
	-webkit-border-radius: 0;
	-moz-border-radius: 0;
	border-radius: 0;
}

.v-ie .v-datefield-calendarpanel-prevyear button,
.v-ie .v-datefield-calendarpanel-nextyear button,
.v-ie .v-datefield-calendarpanel-prevmonth button,
.v-ie .v-datefield-calendarpanel-nextmonth button {
	text-indent: 0;
	font-size: 1px;
}

.v-datefield-calendarpanel-prevmonth button {
	background-position: 0 -56px;
}

.v-datefield-calendarpanel-prevmonth {
	background: transparent url(datefield_sprites.png) repeat-x 0 -112px;
}

.v-datefield-calendarpanel-nextyear button {
	background-position: 0 -28px;
	width: 100%;
	min-width: 22px;
}

.v-datefield-calendarpanel-nextmonth button {
	background-position: 0 -84px;
}

.v-datefield-calendarpanel-nextmonth {
	background: transparent url(datefield_sprites.png) repeat-x 0 -112px;
}

.v-datefield-calendarpanel-prevyear button {
	width: 100%;
	min-width: 22px;
}

.v-datefield-calendarpanel-day {
	display: block;
	width: 22px;
	margin: 0 0 3px 3px;
	text-align: center;
	background: #d4d4d4 url(/html/themes/classic/images/application/state_default_bg.png) repeat-x 0 0;
	border-color: #c8c9ca #9e9e9e #9e9e9e #c8c9ca;
	border-style: solid;
	border-width: 1px;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
}

.v-datefield-calendarpanel-day-today {
	font-weight: bold;
}

.v-datefield-calendarpanel-day-selected {
	background: #b5b5b5 url(/html/themes/classic/images/application/state_active_bg.png) repeat-x 0 0;
	color: #000;
	border-color: #555;
}

.v-datefield-calendarpanel-day-focused {
	outline: 1px dotted #555;
}


.v-datefield-calendarpanel-weekdays {
	text-align: center;
}

.v-datefield-calendarpanel-weekdays strong {
	font-weight: normal;
}

.v-datefield-calendarpanel-weeknumber {
	display: block;
	border: none;
	padding: 2px 0 2px 0;
	margin: 0;
}

.v-datefield-calendarpanel-body table {
	margin: 0 auto;
	width: 200px;	
}

}