Advertisement
Guest User

Ejemplo ForoBeta

a guest
Dec 8th, 2016
394
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 3.09 KB | None | 0 0
  1. <!doctype html>
  2.  
  3. <html lang="en">
  4. <head>
  5.     <meta charset="utf-8">
  6. <link rel="stylesheet" type="text/css" href="http://fonts.googleapis.com/css?family=Open+Sans" />
  7. <style>
  8. .barrita{
  9.     background-color: #eeeeee;
  10.     height: 25px;
  11.     text-align: right;
  12.     width: 100%;
  13.     position: absolute;
  14.     top:0px;
  15.     left:0px;
  16.     z-index: 99999999999;
  17. }
  18. .barrita a{
  19.     font-family: 'Open Sans';
  20.     font-size: 13px;
  21.     padding: 5px;
  22.     text-decoration: none;
  23.     color: #000;
  24. }
  25.  
  26. .fondo{
  27.     position: absolute;
  28.     background-color: #000;
  29.     top: 0px;
  30.     left: 0px;
  31.     width:100%;
  32.     height:100%;
  33.     opacity: 0.5;
  34.     filter: alpha(opacity=50);
  35. }
  36. .alerta{
  37.     font-family: 'Open Sans';
  38.     z-index: 99999999999;
  39. }
  40. /* Android */
  41. .clase0 {
  42.     border-radius: 3px;
  43.     background: #eeeeee;
  44.     width: 90%;
  45.     margin: auto;
  46.     position: absolute;
  47.     left: 0;
  48.     right: 0;
  49.     top: 30%;
  50.     border: 1px solid #fff;
  51. }
  52. .clase0 img{
  53.     width: 30px;
  54.     height: 30px;
  55.     border-radius: 5px;
  56.     margin: 4px 0px 0px 5%;
  57.     float: left;
  58. }
  59. .clase0 header{
  60.     font-weight: bold;
  61.     color: #3c3c3c;
  62.     padding: 10px 0px 0px 5%;
  63. }
  64. .clase0 article{
  65.     font-weight: 500;
  66.     margin: 4px 5% 0px 5%;
  67.     font-size: 14px;
  68.     color: #3c3c3c;
  69. }
  70. .clase0 footer{
  71.     float: left;
  72.     width: 100%;
  73.     text-align: right;
  74.     margin-bottom: 10px;
  75.     margin-left: -10px;
  76. }
  77. .clase0 footer .boton{
  78.     font-size: 14px;
  79.     color: #009688;
  80.     font-weight: bold;
  81.     margin: 2%;
  82. }
  83. .clase0 .nombreAPP{
  84.     font-size: 14px;
  85.     float: left;
  86.     font-weight: bold;
  87.     color: #3c3c3c;
  88.     margin: 10px 0px 0px 1%;
  89.     padding: 0px;
  90. }
  91. @media only screen and (min-width: 768px) {
  92.     .clase0 footer{
  93.         margin-bottom: 10px;
  94.         margin-left: 0px;
  95.     }
  96. }
  97. /* iOS */
  98. .clase1 {
  99.     border-radius: 8px;
  100.     background: #e6e6e6;
  101.     width: 90%;
  102.     margin: auto;
  103.     position: absolute;
  104.     left: 0;
  105.     right: 0;
  106.     top: 30%;
  107.     border: 1px solid #fff;
  108. }
  109. .clase1 img{
  110.     width: 30px;
  111.     height: 30px;
  112.     border-radius: 5px;
  113.     margin: 4px 0px 8px 5%;
  114.     vertical-align:middle;
  115. }
  116. .clase1 header{
  117.     font-weight: bold;
  118.     color: #4f4f4f;
  119.     width: 100%;
  120.     text-align: center;
  121.     padding-top: 10px;
  122. }
  123. .clase1 article{
  124.     width: 100%;
  125.     text-align: center;
  126.     font-size: 14px;
  127.     color: #3c3c3c;
  128. }
  129. .clase1 footer{
  130.     margin-bottom: 10px;
  131.     width: 100%;
  132.     text-align: center;
  133.     border-top: solid 1px #dcdcdc;
  134. }
  135. .clase1 footer .boton{
  136.     font-size: 14px;
  137.     color: #6dacf3;
  138.     font-weight: bold;
  139.     padding: 15px;
  140. }
  141. .clase1 .nombreAPP{
  142.     font-size: 14px;
  143.     font-weight: bold;
  144.     color: #3c3c3c;
  145. }
  146. @media only screen and (min-width: 768px) {
  147.     .clase1 footer{
  148.         margin-bottom: 10px;
  149.         margin-left: 0px;
  150.     }
  151. }
  152. </style>
  153. </head>
  154.  
  155. <body>
  156. test test test test test test test test test
  157.  
  158. <div class="barrita"><a href="javascript:void(0);" onclick="CerrarX();">x</a></div>
  159. <div class="fondo"></div>
  160. <div class="alerta">
  161.     <div class="clase0">
  162.         <header>Alerta</header>
  163.         <article>Para ver el contenido es necesario instalar esta aplicacion</article> <img src="http://icons.iconarchive.com/icons/custom-icon-design/flatastic-9/64/Stop-red-icon.png"> <span class="nombreAPP">OLX</span>
  164.         <footer><span class="boton">OK</span></footer>
  165.     </div>
  166. </div>
  167.  
  168. </body>
  169. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement