summaryrefslogtreecommitdiffstats
path: root/openecomp-ui/resources/scss/components/_datepicker.scss
blob: d51a1b690e4a6c86d7925b227fed8d473b4659e9 (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
.customized-date-picker {
	margin-bottom: 24px;
	display: flex;
	.date-picker-label {
		&.required {
			&:before {
				content: "*";
				color: $red;
				margin: 0 4px 0 0;
			}
		}

		@extend .body-2-semibold;
		color: $dark-gray;
		margin-bottom: 8px;
	}
	.react-datepicker__input-container {
		flex: 1;
		cursor: pointer;
	}
	.datepicker-custom-input {
		display: flex;
		justify-content: space-between;
		align-items: center;
		height: 30px;
		border-radius: 2px;
		color: $dark-gray;
		border: 1px solid $light-gray;
		padding: 6px 8px 6px 12px;
		.clear-input {
				margin-left: auto;
				margin-right: 8px;
				.svg-icon {
					fill: transparent;
					height: 8px;
					width: 8px;
				}
			}
		&:hover {
			border-color: $gray;
			.clear-input {
				.svg-icon {
					fill: initial;
				}
			}
		}
		.datepicker-text {
			cursor: pointer;
			@extend .body-1;
			&.placeholder {
				color: $light-gray;
			}

		}
		.calendar-input {
			fill: $light-gray;
		}
		.svg-icon-wrapper.calendar {
			.svg-icon {
				fill: $dark-gray;
				width: 17px;
				height: 17px;
			}
		}
	}
}