|
40 | 40 | * restating the styles for the .ng-hide class in CSS:
|
41 | 41 | * ```css
|
42 | 42 | * .ng-hide {
|
43 |
| - * /* Not to worry, this will override the AngularJS default... |
44 |
| - * display:block!important; |
45 |
| - * |
46 | 43 | * /* this is just another form of hiding an element */
|
47 | 44 | * position:absolute;
|
48 | 45 | * top:-9999px;
|
|
72 | 69 | * /* this is required as of 1.3x to properly
|
73 | 70 | * apply all styling in a show/hide animation */
|
74 | 71 | * transition:0s linear all;
|
75 |
| - * |
76 |
| - * /* this must be set as block so the animation is visible */ |
77 |
| - * display:block!important; |
78 | 72 | * }
|
79 | 73 | *
|
80 | 74 | * .my-element.ng-hide-add-active,
|
|
126 | 120 | background:white;
|
127 | 121 | }
|
128 | 122 |
|
129 |
| - .animate-show.ng-hide-add, |
130 |
| - .animate-show.ng-hide-remove { |
131 |
| - display:block!important; |
132 |
| - } |
133 |
| -
|
134 | 123 | .animate-show.ng-hide-add.ng-hide-add-active,
|
135 | 124 | .animate-show.ng-hide-remove.ng-hide-remove-active {
|
136 | 125 | -webkit-transition:all linear 0.5s;
|
@@ -214,9 +203,6 @@ var ngShowDirective = ['$animate', function($animate) {
|
214 | 203 | * restating the styles for the .ng-hide class in CSS:
|
215 | 204 | * ```css
|
216 | 205 | * .ng-hide {
|
217 |
| - * //!annotate CSS Specificity|Not to worry, this will override the AngularJS default... |
218 |
| - * display:block!important; |
219 |
| - * |
220 | 206 | * //this is just another form of hiding an element
|
221 | 207 | * position:absolute;
|
222 | 208 | * top:-9999px;
|
@@ -244,7 +230,6 @@ var ngShowDirective = ['$animate', function($animate) {
|
244 | 230 | * //
|
245 | 231 | * .my-element.ng-hide-add, .my-element.ng-hide-remove {
|
246 | 232 | * transition:0.5s linear all;
|
247 |
| - * display:block!important; |
248 | 233 | * }
|
249 | 234 | *
|
250 | 235 | * .my-element.ng-hide-add { ... }
|
@@ -292,11 +277,6 @@ var ngShowDirective = ['$animate', function($animate) {
|
292 | 277 | background:white;
|
293 | 278 | }
|
294 | 279 |
|
295 |
| - .animate-hide.ng-hide-add, |
296 |
| - .animate-hide.ng-hide-remove { |
297 |
| - display:block!important; |
298 |
| - } |
299 |
| -
|
300 | 280 | .animate-hide.ng-hide {
|
301 | 281 | line-height:0;
|
302 | 282 | opacity:0;
|
|
0 commit comments