Ver Mensaje Individual
  #4 (permalink)  
Antiguo 27/10/2015, 02:28
Avatar de satjaen
satjaen
 
Fecha de Ingreso: septiembre-2012
Ubicación: Jaén (Andalucía)
Mensajes: 893
Antigüedad: 12 años, 2 meses
Puntos: 10
Respuesta: Efecto cargando.....

Y este es el css:

pace.css
Código CSS:
Ver original
  1. .pace {
  2.   -webkit-pointer-events: none;
  3.   pointer-events: none;
  4.  
  5.   -webkit-user-select: none;
  6.   -moz-user-select: none;
  7.   user-select: none;
  8.  
  9.   -webkit-box-sizing: border-box;
  10.   -moz-box-sizing: border-box;
  11.   -ms-box-sizing: border-box;
  12.   -o-box-sizing: border-box;
  13.   box-sizing: border-box;
  14.  
  15.   -webkit-border-radius: 10px;
  16.   -moz-border-radius: 10px;
  17.   border-radius: 10px;
  18.  
  19.   -webkit-background-clip: padding-box;
  20.   -moz-background-clip: padding;
  21.   background-clip: padding-box;
  22.  
  23.   z-index: 2000;
  24.   position: fixed;
  25.   margin: auto;
  26.   top: 12px;
  27.   left: 0;
  28.   right: 0;
  29.   bottom: 0;
  30.   width: 200px;
  31.   height: 50px;
  32.   overflow: hidden;
  33. }
  34.  
  35. .pace .pace-progress {
  36.   -webkit-box-sizing: border-box;
  37.   -moz-box-sizing: border-box;
  38.   -ms-box-sizing: border-box;
  39.   -o-box-sizing: border-box;
  40.   box-sizing: border-box;
  41.  
  42.   -webkit-border-radius: 2px;
  43.   -moz-border-radius: 2px;
  44.   border-radius: 2px;
  45.  
  46.   -webkit-background-clip: padding-box;
  47.   -moz-background-clip: padding;
  48.   background-clip: padding-box;
  49.  
  50.   -webkit-transform: translate3d(0, 0, 0);
  51.   transform: translate3d(0, 0, 0);
  52.  
  53.   display: block;
  54.   position: absolute;
  55.   right: 100%;
  56.   margin-right: -7px;
  57.   width: 93%;
  58.   top: 7px;
  59.   height: 14px;
  60.   font-size: 12px;
  61.   background: #29d;
  62.   color: #29d;
  63.   line-height: 60px;
  64.   font-weight: bold;
  65.   font-family: Helvetica, Arial, "Lucida Grande", sans-serif;
  66.  
  67.   -webkit-box-shadow: 120px 0 #fff, 240px 0 #fff;
  68.   -ms-box-shadow: 120px 0 #fff, 240px 0 #fff;
  69.   box-shadow: 120px 0 #fff, 240px 0 #fff;
  70. }
  71.  
  72. .pace .pace-progress:after {
  73.   content: attr(data-progress-text);
  74.   display: inline-block;
  75.   position: fixed;
  76.   width: 45px;
  77.   text-align: right;
  78.   right: 0;
  79.   padding-right: 16px;
  80.   top: 4px;
  81. }
  82.  
  83. .pace .pace-progress[data-progress-text="0%"]:after { right: -200px }
  84. .pace .pace-progress[data-progress-text="1%"]:after { right: -198.14px }
  85. .pace .pace-progress[data-progress-text="2%"]:after { right: -196.28px }
  86. .pace .pace-progress[data-progress-text="3%"]:after { right: -194.42px }
  87. .pace .pace-progress[data-progress-text="4%"]:after { right: -192.56px }
  88. .pace .pace-progress[data-progress-text="5%"]:after { right: -190.7px }
  89. .pace .pace-progress[data-progress-text="6%"]:after { right: -188.84px }
  90. .pace .pace-progress[data-progress-text="7%"]:after { right: -186.98px }
  91. .pace .pace-progress[data-progress-text="8%"]:after { right: -185.12px }
  92. .pace .pace-progress[data-progress-text="9%"]:after { right: -183.26px }
  93. .pace .pace-progress[data-progress-text="10%"]:after { right: -181.4px }
  94. .pace .pace-progress[data-progress-text="11%"]:after { right: -179.54px }
  95. .pace .pace-progress[data-progress-text="12%"]:after { right: -177.68px }
  96. .pace .pace-progress[data-progress-text="13%"]:after { right: -175.82px }
  97. .pace .pace-progress[data-progress-text="14%"]:after { right: -173.96px }
  98. .pace .pace-progress[data-progress-text="15%"]:after { right: -172.1px }
  99. .pace .pace-progress[data-progress-text="16%"]:after { right: -170.24px }
  100. .pace .pace-progress[data-progress-text="17%"]:after { right: -168.38px }
  101. .pace .pace-progress[data-progress-text="18%"]:after { right: -166.52px }
  102. .pace .pace-progress[data-progress-text="19%"]:after { right: -164.66px }
  103. .pace .pace-progress[data-progress-text="20%"]:after { right: -162.8px }
  104. .pace .pace-progress[data-progress-text="21%"]:after { right: -160.94px }
  105. .pace .pace-progress[data-progress-text="22%"]:after { right: -159.08px }
  106. .pace .pace-progress[data-progress-text="23%"]:after { right: -157.22px }
  107. .pace .pace-progress[data-progress-text="24%"]:after { right: -155.36px }
  108. .pace .pace-progress[data-progress-text="25%"]:after { right: -153.5px }
  109. .pace .pace-progress[data-progress-text="26%"]:after { right: -151.64px }
  110. .pace .pace-progress[data-progress-text="27%"]:after { right: -149.78px }
  111. .pace .pace-progress[data-progress-text="28%"]:after { right: -147.92px }
  112. .pace .pace-progress[data-progress-text="29%"]:after { right: -146.06px }
  113. .pace .pace-progress[data-progress-text="30%"]:after { right: -144.2px }
  114. .pace .pace-progress[data-progress-text="31%"]:after { right: -142.34px }
  115. .pace .pace-progress[data-progress-text="32%"]:after { right: -140.48px }
  116. .pace .pace-progress[data-progress-text="33%"]:after { right: -138.62px }
  117. .pace .pace-progress[data-progress-text="34%"]:after { right: -136.76px }
  118. .pace .pace-progress[data-progress-text="35%"]:after { right: -134.9px }
  119. .pace .pace-progress[data-progress-text="36%"]:after { right: -133.04px }
  120. .pace .pace-progress[data-progress-text="37%"]:after { right: -131.18px }
  121. .pace .pace-progress[data-progress-text="38%"]:after { right: -129.32px }
  122. .pace .pace-progress[data-progress-text="39%"]:after { right: -127.46px }
  123. .pace .pace-progress[data-progress-text="40%"]:after { right: -125.6px }
  124. .pace .pace-progress[data-progress-text="41%"]:after { right: -123.74px }
  125. .pace .pace-progress[data-progress-text="42%"]:after { right: -121.88px }
  126. .pace .pace-progress[data-progress-text="43%"]:after { right: -120.02px }
  127. .pace .pace-progress[data-progress-text="44%"]:after { right: -118.16px }
  128. .pace .pace-progress[data-progress-text="45%"]:after { right: -116.3px }
  129. .pace .pace-progress[data-progress-text="46%"]:after { right: -114.44px }
  130. .pace .pace-progress[data-progress-text="47%"]:after { right: -112.58px }
  131. .pace .pace-progress[data-progress-text="48%"]:after { right: -110.72px }
  132. .pace .pace-progress[data-progress-text="49%"]:after { right: -108.86px }
  133. .pace .pace-progress[data-progress-text="50%"]:after { right: -107px }
  134. .pace .pace-progress[data-progress-text="51%"]:after { right: -105.14px }
  135. .pace .pace-progress[data-progress-text="52%"]:after { right: -103.28px }
  136. .pace .pace-progress[data-progress-text="53%"]:after { right: -101.42px }
  137. .pace .pace-progress[data-progress-text="54%"]:after { right: -99.56px }
  138. .pace .pace-progress[data-progress-text="55%"]:after { right: -97.7px }
  139. .pace .pace-progress[data-progress-text="56%"]:after { right: -95.84px }
  140. .pace .pace-progress[data-progress-text="57%"]:after { right: -93.98px }
  141. .pace .pace-progress[data-progress-text="58%"]:after { right: -92.12px }
  142. .pace .pace-progress[data-progress-text="59%"]:after { right: -90.26px }
  143. .pace .pace-progress[data-progress-text="60%"]:after { right: -88.4px }
  144. .pace .pace-progress[data-progress-text="61%"]:after { right: -86.53999999999999px }
  145. .pace .pace-progress[data-progress-text="62%"]:after { right: -84.68px }
  146. .pace .pace-progress[data-progress-text="63%"]:after { right: -82.82px }
  147. .pace .pace-progress[data-progress-text="64%"]:after { right: -80.96000000000001px }
  148. .pace .pace-progress[data-progress-text="65%"]:after { right: -79.1px }
  149. .pace .pace-progress[data-progress-text="66%"]:after { right: -77.24px }
  150. .pace .pace-progress[data-progress-text="67%"]:after { right: -75.38px }
  151. .pace .pace-progress[data-progress-text="68%"]:after { right: -73.52px }
  152. .pace .pace-progress[data-progress-text="69%"]:after { right: -71.66px }
  153. .pace .pace-progress[data-progress-text="70%"]:after { right: -69.8px }
  154. .pace .pace-progress[data-progress-text="71%"]:after { right: -67.94px }
  155. .pace .pace-progress[data-progress-text="72%"]:after { right: -66.08px }
  156. .pace .pace-progress[data-progress-text="73%"]:after { right: -64.22px }
  157. .pace .pace-progress[data-progress-text="74%"]:after { right: -62.36px }
  158. .pace .pace-progress[data-progress-text="75%"]:after { right: -60.5px }
  159. .pace .pace-progress[data-progress-text="76%"]:after { right: -58.64px }
  160. .pace .pace-progress[data-progress-text="77%"]:after { right: -56.78px }
  161. .pace .pace-progress[data-progress-text="78%"]:after { right: -54.92px }
  162. .pace .pace-progress[data-progress-text="79%"]:after { right: -53.06px }
  163. .pace .pace-progress[data-progress-text="80%"]:after { right: -51.2px }
  164. .pace .pace-progress[data-progress-text="81%"]:after { right: -49.34px }
  165. .pace .pace-progress[data-progress-text="82%"]:after { right: -47.480000000000004px }
  166. .pace .pace-progress[data-progress-text="83%"]:after { right: -45.62px }
  167. .pace .pace-progress[data-progress-text="84%"]:after { right: -43.76px }
  168. .pace .pace-progress[data-progress-text="85%"]:after { right: -41.9px }
  169. .pace .pace-progress[data-progress-text="86%"]:after { right: -40.04px }
  170. .pace .pace-progress[data-progress-text="87%"]:after { right: -38.18px }
  171. .pace .pace-progress[data-progress-text="88%"]:after { right: -36.32px }
  172. .pace .pace-progress[data-progress-text="89%"]:after { right: -34.46px }
  173. .pace .pace-progress[data-progress-text="90%"]:after { right: -32.6px }
  174. .pace .pace-progress[data-progress-text="91%"]:after { right: -30.740000000000002px }
  175. .pace .pace-progress[data-progress-text="92%"]:after { right: -28.880000000000003px }
  176. .pace .pace-progress[data-progress-text="93%"]:after { right: -27.02px }
  177. .pace .pace-progress[data-progress-text="94%"]:after { right: -25.16px }
  178. .pace .pace-progress[data-progress-text="95%"]:after { right: -23.3px }
  179. .pace .pace-progress[data-progress-text="96%"]:after { right: -21.439999999999998px }
  180. .pace .pace-progress[data-progress-text="97%"]:after { right: -19.58px }
  181. .pace .pace-progress[data-progress-text="98%"]:after { right: -17.72px }
  182. .pace .pace-progress[data-progress-text="99%"]:after { right: -15.86px }
  183. .pace .pace-progress[data-progress-text="100%"]:after { right: -14px }
  184.  
  185.  
  186. .pace .pace-activity {
  187.   position: absolute;
  188.   width: 100%;
  189.   height: 28px;
  190.   z-index: 2001;
  191.   box-shadow: inset 0 0 0 2px #29d, inset 0 0 0 7px #FFF;
  192.   border-radius: 10px;
  193. }
  194.  
  195. .pace.pace-inactive {
  196.   display: none;
  197. }