Advertisement
nandoy

CSS Model

Jun 8th, 2016
160
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 3.71 KB | None | 0 0
  1. a:focus{
  2.     outline: 0 none;
  3. }
  4.  
  5. .fade {
  6.   opacity: 0;
  7.   -webkit-transition: opacity 0.15s linear;
  8.      -moz-transition: opacity 0.15s linear;
  9.        -o-transition: opacity 0.15s linear;
  10.           transition: opacity 0.15s linear;
  11. }
  12.  
  13. .fade.in {
  14.   opacity: 1;
  15. }
  16.  
  17. .btn {
  18.     -moz-box-shadow:inset 0px 1px 0px 0px #b6de76;
  19.     -webkit-box-shadow:inset 0px 1px 0px 0px #b6de76;
  20.     box-shadow:inset 0px 1px 0px 0px #b6de76;
  21.     background-color:#7a9d42;
  22.     -webkit-border-top-left-radius:3px;
  23.     -moz-border-radius-topleft:3px;
  24.     border-top-left-radius:3px;
  25.     -webkit-border-top-right-radius:3px;
  26.     -moz-border-radius-topright:3px;
  27.     border-top-right-radius:3px;
  28.     -webkit-border-bottom-right-radius:3px;
  29.     -moz-border-radius-bottomright:3px;
  30.     border-bottom-right-radius:3px;
  31.     -webkit-border-bottom-left-radius:3px;
  32.     -moz-border-radius-bottomleft:3px;
  33.     border-bottom-left-radius:3px;
  34.     text-indent:0;
  35.     border:1px solid #5a752d;
  36.     display:inline-block;
  37.     color:#ffffff;
  38.     font-family:Arial;
  39.     font-size:12px;
  40.     font-weight:normal;
  41.     font-style:normal;
  42.     height:26px;
  43.     line-height:28px;
  44.     width:37px;
  45.     text-decoration:none;
  46.     text-align:center;
  47.     text-shadow:1px 1px 0px #030303;
  48.   }
  49.   .btn:hover {
  50.     background-color:#738f47;
  51.   }
  52.   .btn:active {
  53.     position:relative;
  54.     top:1px;
  55.   }
  56.  
  57. .modal-backdrop {
  58.   position: fixed;
  59.   top: 0;
  60.   right: 0;
  61.   bottom: 0;
  62.   left: 0;
  63.   z-index: 1040;
  64.   background-color: #000000;
  65. }
  66.  
  67. .modal-backdrop.fade {
  68.   opacity: 0;
  69. }
  70.  
  71. .modal-backdrop,
  72. .modal-backdrop.fade.in {
  73.   opacity: 0.8;
  74.   filter: alpha(opacity=80);
  75. }
  76.  
  77. .modal {
  78.   position: fixed;
  79.   top: 10%;
  80.   left: 50%;
  81.   z-index: 1050;
  82.   width: 560px;
  83.   margin-left: -280px;
  84.   background-color: #ffffff;
  85.   border: 1px solid #999;
  86.   border: 1px solid rgba(0, 0, 0, 0.3);
  87.   *border: 1px solid #999;
  88.   -webkit-border-radius: 6px;
  89.      -moz-border-radius: 6px;
  90.           border-radius: 6px;
  91.   outline: none;
  92.   -webkit-box-shadow: 0 3px 7px rgba(0, 0, 0, 0.3);
  93.      -moz-box-shadow: 0 3px 7px rgba(0, 0, 0, 0.3);
  94.           box-shadow: 0 3px 7px rgba(0, 0, 0, 0.3);
  95.   -webkit-background-clip: padding-box;
  96.      -moz-background-clip: padding-box;
  97.           background-clip: padding-box;
  98. }
  99.  
  100. .modal.fade {
  101.   top: -25%;
  102.   -webkit-transition: opacity 0.3s linear, top 0.3s ease-out;
  103.      -moz-transition: opacity 0.3s linear, top 0.3s ease-out;
  104.        -o-transition: opacity 0.3s linear, top 0.3s ease-out;
  105.           transition: opacity 0.3s linear, top 0.3s ease-out;
  106. }
  107.  
  108. .modal.fade.in {
  109.   top: 10%;
  110. }
  111.  
  112. .modal-header {
  113.   padding: 9px 15px;
  114.   border-bottom: 1px solid #eee;
  115. }
  116.  
  117. .modal-header .close {
  118.   margin-top: 2px;
  119. }
  120.  
  121. .modal-header h3 {
  122.   margin: 0;
  123.   line-height: 30px;
  124. }
  125.  
  126. .modal-body {
  127.   font: normal 12pt Tahoma, Helvetica, sans-serif;
  128.   position: relative;
  129.   max-height: 400px;
  130.   padding: 15px;
  131.   overflow-y: auto;
  132. }
  133.  
  134. .modal-form {
  135.   margin-bottom: 0;
  136. }
  137.  
  138. .modal-footer {
  139.   padding: 14px 15px 15px;
  140.   margin-bottom: 0;
  141.   text-align: right;
  142.   background-color: #f5f5f5;
  143.   border-top: 1px solid #ddd;
  144.   -webkit-border-radius: 0 0 6px 6px;
  145.      -moz-border-radius: 0 0 6px 6px;
  146.           border-radius: 0 0 6px 6px;
  147.   *zoom: 1;
  148.   -webkit-box-shadow: inset 0 1px 0 #ffffff;
  149.      -moz-box-shadow: inset 0 1px 0 #ffffff;
  150.           box-shadow: inset 0 1px 0 #ffffff;
  151. }
  152.  
  153. .modal-footer:before,
  154. .modal-footer:after {
  155.   display: table;
  156.   line-height: 0;
  157.   content: "";
  158. }
  159.  
  160. .modal-footer:after {
  161.   clear: both;
  162. }
  163.  
  164. .modal-footer .btn + .btn {
  165.   margin-bottom: 0;
  166.   margin-left: 5px;
  167. }
  168.  
  169. .modal-footer .btn-group .btn + .btn {
  170.   margin-left: -1px;
  171. }
  172.  
  173. .modal-footer .btn-block + .btn-block {
  174.   margin-left: 0;
  175. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement