File tree 1 file changed +31
-2
lines changed
1 file changed +31
-2
lines changed Original file line number Diff line number Diff line change @@ -66,12 +66,41 @@ div.help {
66
66
67
67
background-color : #fffeaa ;
68
68
border : solid 1px #f7f071 ;
69
-
70
69
color : #000 ;
71
70
}
72
71
}
73
72
}
74
-
73
+
74
+ /* *
75
+ * Help text for datetime field is without inner div
76
+ */
77
+ div .help :not (:has (div )) {
78
+ cursor : help ;
79
+ width : 16px ;
80
+ height : 16px ;
81
+ background-image : url (../admin/img/icon-unknown.svg );
82
+ display : inline-block ;
83
+ background-repeat : no-repeat ;
84
+ background-size : 14px ;
85
+ margin-left : 8px !important ;
86
+ margin-top : 6px !important ;
87
+ position : absolute ;
88
+ text-indent : -9999px ;
89
+
90
+ & :hover {
91
+ text-indent : inherit ;
92
+ width : auto ;
93
+ background-image : none ;
94
+ background-color : #fffeaa ;
95
+ border : solid 1px #f7f071 ;
96
+ color : #000 ;
97
+ padding : 5px 5px 3px 5px !important ;
98
+ max-width : 300px ;
99
+ height : auto !important ;
100
+ margin-top : 2px !important ;
101
+ z-index : 10 ;
102
+ }
103
+ }
75
104
// Unsure why Django hides the overflow here :/
76
105
.form-row :has (.help ) {
77
106
overflow : visible ;
You can’t perform that action at this time.
0 commit comments