summaryrefslogtreecommitdiffstats
path: root/WebContent/VAADIN/themes/base/datefield/datefield.scss
blob: 1d3d408ed2ba922b1727e69cd928c5eee639c5bc (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
@mixin base-datefield($primaryStyleName : v-datefield) {

.#{$primaryStyleName} {
	white-space: nowrap;
	display: inline-block; /* Force minimum width */
}
.#{$primaryStyleName}-textfield {
	vertical-align: top;
}
.v-ie & .#{$primaryStyleName}-button:after {
	content: "\200B";
}

.#{$primaryStyleName}-button {
	cursor: pointer;
	vertical-align: top;
}
.v-has-width > input.#{$primaryStyleName}-textfield {
	width: 100%;
}

.#{$primaryStyleName}-prompt .#{$primaryStyleName}-textfield {
	color: #999;
	font-style: italic;
}
.#{$primaryStyleName} .#{$primaryStyleName}-button-readonly {
	display: none;
}
.#{$primaryStyleName}-calendarpanel table {
	width: 100%;
}
.#{$primaryStyleName}-calendarpanel td {
	padding: 0;
	margin: 0;
}
.#{$primaryStyleName}-calendarpanel:focus {
	outline:none;	
}
.#{$primaryStyleName}-calendarpanel-header td {
	text-align: center;
}
.#{$primaryStyleName}-calendarpanel-month {
	text-align: center;
	white-space: nowrap;
}
.#{$primaryStyleName}-calendarpanel-weeknumber {
	color: #999;
	border-right: 1px solid #ddd;
	font-size: 11.7px;
}
.#{$primaryStyleName}-calendarpanel-day,
.#{$primaryStyleName}-calendarpanel-day-today {
	cursor: pointer;
}
.#{$primaryStyleName}-calendarpanel-day-today {
	border: 1px solid #ddd;
}
.v-disabled .#{$primaryStyleName}-calendarpanel-day,
.v-disabled .#{$primaryStyleName}-calendarpanel-day-today {
	cursor: default;
}
.#{$primaryStyleName}-calendarpanel-day-disabled {
	cursor: default;
	opacity: .5;
}
.#{$primaryStyleName}-calendarpanel-day-selected {
	cursor: default;
	background: #333;
	color: #fff;
}
.#{$primaryStyleName}-calendarpanel-day-focused {
	outline: 1px dotted black;
}
.#{$primaryStyleName}-calendarpanel-day-offmonth {
    color: #666;
}

.#{$primaryStyleName}-time {
	white-space: nowrap;
}
.#{$primaryStyleName}-time .v-label {
	display: inline;
}
.#{$primaryStyleName}-popup {
	background: #fff;
}
.#{$primaryStyleName}-popupcalendar input.#{$primaryStyleName}-textfield {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}
/* Disabled by default
.#{$primaryStyleName}-error .v-textfield,
.#{$primaryStyleName}-error .#{$primaryStyleName}-calendarpanel {
	background: #ffe0e0;
}
*/

/* Disabled by default
.#{$primaryStyleName}-required .v-textfield,
.#{$primaryStyleName}-required .#{$primaryStyleName}-calendarpanel {
	background:transparent;
	background-color: #ffe0e0;
}
*/

}