Updated UI datepicker styles
authorThierry Florac <thierry.florac@onf.fr>
Tue, 30 Sep 2014 14:47:09 +0200
changeset 72 703b4b1d756d
parent 71 9cbc08a0b906
child 73 a31cca83750d
Updated UI datepicker styles
src/ztfy/myams/resources/less/ui.less
--- a/src/ztfy/myams/resources/less/ui.less	Tue Sep 23 17:49:07 2014 +0200
+++ b/src/ztfy/myams/resources/less/ui.less	Tue Sep 30 14:47:09 2014 +0200
@@ -940,10 +940,13 @@
  */
 
 .ui-datepicker {
-	width: 17em;
+	width: 20em;
 	padding: .2em .2em 0;
 	display: none;
 
+	&-inline {
+		z-index: 9000!important;
+	}
 	&-header {
 		position: relative;
 		border: 0;
@@ -957,10 +960,11 @@
 	&-prev {
 		position: absolute;
 		top: 2px;
-		width: 1.8em;
+		width: 5.6em;
 		height: 1.8em;
 		text-align: center;
 		margin-top: 2px;
+		cursor: pointer;
 
 		>:first-child {
 			text-indent: 0!important;
@@ -968,10 +972,10 @@
 		span {
 			display: block;
 			position: absolute;
-			left: 50%;
-			margin-left: -8px;
+			text-align: center;
 			top: 50%;
 			margin-top: -8px;
+			width: 5.8em;
 		}
 	}
 	&-prev {
@@ -981,7 +985,7 @@
 		right: 2px;
 	}
 	&-title {
-		margin: 0 2.3em;
+		margin: 0 5.8em;
 		line-height: 1.8em;
 		text-align: center;