Projet

Général

Profil

0006-misc-adjust-backoffice-style-of-datetimes-widget-500.patch

Frédéric Péters, 19 janvier 2021 09:46

Télécharger (1,36 ko)

Voir les différences:

Subject: [PATCH 6/6] misc: adjust backoffice style of datetimes widget
 (#50035)

 wcs/qommon/static/css/dc2/admin.scss | 24 +++++++++++++++++++++++-
 1 file changed, 23 insertions(+), 1 deletion(-)
wcs/qommon/static/css/dc2/admin.scss
2051 2051
div.datetimes-table {
2052 2052
	margin-top: 1ex;
2053 2053
	display: flex;
2054
	align-items: flex-start;
2054 2055
	width: 100%;
2055 2056
	> div {
2056 2057
		flex: 0 1 auto;
2058
		padding: 0 2px;
2057 2059
		width: 20%;
2058 2060
		text-align: center;
2059 2061
		display: none;
2060 2062
	}
2061 2063

  
2064
	button {
2065
		margin: 0;
2066
		width: 3em;
2067
		height: 3em;
2068
		&.next {
2069
			margin-left: 1em;
2070
		}
2071
		&.prev {
2072
			margin-right: 1em;
2073
		}
2074
	}
2075

  
2062 2076
	div span {
2077
		border-radius: 3px;
2063 2078
		display: block;
2064 2079
		cursor: pointer;
2065 2080
		padding: 0.3ex 0;
2081
		margin-bottom: 4px;
2066 2082
		&.disabled {
2067 2083
			opacity: 0.3;
2068 2084
			cursor: not-allowed;
2069 2085
		}
2070 2086

  
2087
		&.selectable {
2088
			background: #CDE4FC;
2089
			color: inherit;
2090
		}
2091

  
2092
		&.selectable:hover,
2071 2093
		&.selectable.on {
2072
			background: #215D9C;
2094
			background: #386ede;
2073 2095
			color: white;
2074 2096
		}
2075 2097
	}
2076
-