Disable transition effects
Benjamin Renard

Benjamin Renard commited on 2017-09-09 21:32:29
Showing 2 changed files, with 16 additions and 10 deletions.

... ...
@@ -569,7 +569,7 @@ if (typeof jQuery === 'undefined') {
569 569
 
570 570
   Collapse.VERSION  = '3.3.7'
571 571
 
572
-  Collapse.TRANSITION_DURATION = 350
572
+  Collapse.TRANSITION_DURATION = 0
573 573
 
574 574
   Collapse.DEFAULTS = {
575 575
     toggle: true
... ...
@@ -26,6 +26,12 @@ div.panel-heading, li.list-group-item, a {
26 26
   cursor: pointer;
27 27
 }
28 28
 
29
+.collapsing {
30
+    -webkit-transition: none;
31
+    transition: none;
32
+    display: none;
33
+}
34
+
29 35
 .count-tag {
30 36
   display: inline-block;
31 37
   width: 6em;
... ...
@@ -84,7 +90,7 @@ div.panel-heading, li.list-group-item, a {
84 90
 <div class="container" id="content"></div>
85 91
 
86 92
 
87
-<div class="modal fade" id="add_scase_modal" tabindex="-1" role="dialog" aria-labelledby="addSCaseModal" aria-hidden="true">
93
+<div class="modal" id="add_scase_modal" tabindex="-1" role="dialog" aria-labelledby="addSCaseModal" aria-hidden="true">
88 94
   <div class="modal-dialog">
89 95
     <div class="modal-content">
90 96
       <div class="modal-header">
... ...
@@ -106,7 +112,7 @@ div.panel-heading, li.list-group-item, a {
106 112
   </div><!-- /.modal-dialog -->
107 113
 </div>
108 114
 
109
-<div class="modal fade" id="copy_scase_modal" tabindex="-1" role="dialog" aria-labelledby="copySCaseModal" aria-hidden="true">
115
+<div class="modal" id="copy_scase_modal" tabindex="-1" role="dialog" aria-labelledby="copySCaseModal" aria-hidden="true">
110 116
   <div class="modal-dialog">
111 117
     <div class="modal-content">
112 118
       <div class="modal-header">
... ...
@@ -128,7 +134,7 @@ div.panel-heading, li.list-group-item, a {
128 134
   </div><!-- /.modal-dialog -->
129 135
 </div>
130 136
 
131
-<div class="modal fade" id="rename_scase_modal" tabindex="-1" role="dialog" aria-labelledby="renameSCaseModal" aria-hidden="true">
137
+<div class="modal" id="rename_scase_modal" tabindex="-1" role="dialog" aria-labelledby="renameSCaseModal" aria-hidden="true">
132 138
   <div class="modal-dialog">
133 139
     <div class="modal-content">
134 140
       <div class="modal-header">
... ...
@@ -150,7 +156,7 @@ div.panel-heading, li.list-group-item, a {
150 156
   </div><!-- /.modal-dialog -->
151 157
 </div>
152 158
 
153
-<div class="modal fade" id="add_cat_modal" tabindex="-1" role="dialog" aria-labelledby="addCatModal" aria-hidden="true">
159
+<div class="modal" id="add_cat_modal" tabindex="-1" role="dialog" aria-labelledby="addCatModal" aria-hidden="true">
154 160
   <div class="modal-dialog">
155 161
     <div class="modal-content">
156 162
       <div class="modal-header">
... ...
@@ -172,7 +178,7 @@ div.panel-heading, li.list-group-item, a {
172 178
   </div><!-- /.modal-dialog -->
173 179
 </div>
174 180
 
175
-<div class="modal fade" id="rename_cat_modal" tabindex="-1" role="dialog" aria-labelledby="renameCatModal" aria-hidden="true">
181
+<div class="modal" id="rename_cat_modal" tabindex="-1" role="dialog" aria-labelledby="renameCatModal" aria-hidden="true">
176 182
   <div class="modal-dialog">
177 183
     <div class="modal-content">
178 184
       <div class="modal-header">
... ...
@@ -195,7 +201,7 @@ div.panel-heading, li.list-group-item, a {
195 201
 </div>
196 202
 
197 203
 
198
-<div class="modal fade" id="add_thing_modal" tabindex="-1" role="dialog" aria-labelledby="addThingModal" aria-hidden="true">
204
+<div class="modal" id="add_thing_modal" tabindex="-1" role="dialog" aria-labelledby="addThingModal" aria-hidden="true">
199 205
   <div class="modal-dialog">
200 206
     <div class="modal-content">
201 207
       <div class="modal-header">
... ...
@@ -217,7 +223,7 @@ div.panel-heading, li.list-group-item, a {
217 223
   </div><!-- /.modal-dialog -->
218 224
 </div>
219 225
 
220
-<div class="modal fade" id="rename_thing_modal" tabindex="-1" role="dialog" aria-labelledby="renameThingModal" aria-hidden="true">
226
+<div class="modal" id="rename_thing_modal" tabindex="-1" role="dialog" aria-labelledby="renameThingModal" aria-hidden="true">
221 227
   <div class="modal-dialog">
222 228
     <div class="modal-content">
223 229
       <div class="modal-header">
... ...
@@ -240,7 +246,7 @@ div.panel-heading, li.list-group-item, a {
240 246
 </div>
241 247
 
242 248
 
243
-<div class="modal fade" id="please_wait_modal" tabindex="-1" role="dialog" aria-labelledby="pleaseWaitModal" aria-hidden="true" data-keyboard='false' data-backdrop='static'>
249
+<div class="modal" id="please_wait_modal" tabindex="-1" role="dialog" aria-labelledby="pleaseWaitModal" aria-hidden="true" data-keyboard='false' data-backdrop='static'>
244 250
   <div class="modal-dialog">
245 251
     <div class="modal-content">
246 252
       <div class="modal-header">
... ...
@@ -257,7 +263,7 @@ div.panel-heading, li.list-group-item, a {
257 263
   </div><!-- /.modal-dialog -->
258 264
 </div>
259 265
 
260
-<div class="modal fade" id="confirm_modal" tabindex="-1" role="dialog" aria-labelledby="confirmModal" aria-hidden="true">
266
+<div class="modal" id="confirm_modal" tabindex="-1" role="dialog" aria-labelledby="confirmModal" aria-hidden="true">
261 267
   <div class="modal-dialog">
262 268
     <div class="modal-content">
263 269
       <div class="modal-header">
264 270