Advertisement
Phoenix_Hijacker

imodel.js

Mar 29th, 2015
121
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 2.74 KB | None | 0 0
  1. @import "compass/css3/shared";
  2.  
  3. @font-face {
  4.   font-family: 'ios7-icon';
  5.   src:
  6.     url('http://ios7-icon-font-demo.herokuapp.com/fonts/ios7-icon.woff') format('woff'),
  7.     url('http://ios7-icon-font-demo.herokuapp.com/fonts/ios7-icon.ttf') format('ttf');
  8.   font-weight: normal;
  9.   font-style: normal;
  10. }
  11.  
  12. $blue : #007aff;
  13. $green : #4dd865;
  14. $red : #ff3b30;
  15. $white : #ffffff;
  16. $black : #000000;
  17.  
  18. *, *:before, *:after {
  19.   -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box;
  20. }
  21.  
  22. body {
  23.   padding: 50px;
  24.   font-family: 'Helvetica Neue' !important;
  25.   font-weight: 300;
  26. }
  27.  
  28. .wrapper {
  29.     max-width: 500px;
  30.     margin: 0 auto;
  31. }
  32.  
  33. h1 {
  34.   font-weight: 100;
  35.   font-size: 45px;
  36.   color: $blue;
  37. }
  38.  
  39. h2 {
  40.   font-weight: 500;
  41.   font-size: 21px;
  42.   margin-bottom: 15px;
  43. }
  44.  
  45. section {
  46.   margin-top: 30px;
  47.  
  48.   p {
  49.     line-height: 1.4;
  50.     margin-bottom: 20px;
  51.   }
  52. }
  53.  
  54. button {
  55.   @include experimental('appearance',
  56.     none,
  57.     webkit, moz, o, ms, not khtml);
  58.   @include border-radius(5px);
  59.   border: none;
  60.   outline:none;
  61.   font: inherit;
  62.   cursor: pointer;
  63.   margin: 0;
  64.   padding: 0;
  65.   background: $white;
  66.   color: $blue;
  67.   font-weight: 300;
  68.   font-size: 16px;
  69.   @include border-radius(0px);
  70.  
  71.   &:hover {
  72.     text-decoration: underline;
  73.   }
  74.  
  75. /*  &:last-child {
  76.     border-color: red;
  77.     margin-bottom: 0;
  78.   }*/
  79.  
  80.   &.button-border {
  81.    
  82.     @include border-radius(5px);
  83.     padding: 10px 12px 8px 12px;
  84.     border: 1px solid $blue;
  85.  
  86.     &:hover {
  87.       background: $blue;
  88.       color: $white;
  89.       text-decoration: none;
  90.     }
  91.    
  92.   }
  93.  
  94.   &.button-success {
  95.     color: $green;
  96.     border-color: $green;
  97.     &:hover {
  98.       background: $green;
  99.     }
  100.   }
  101.  
  102.   &.button-error {
  103.     color: $red;
  104.     border-color: $red;
  105.     &:hover {
  106.       background: $red;
  107.     }
  108.   }
  109.  
  110. }
  111.  
  112. .modal {
  113.    
  114.   display: none;
  115.   position: fixed;
  116.   top: 50%;
  117.   left: 50%;
  118.   width: 400px;
  119.   height: auto;
  120.   margin-left: -200px;
  121.   margin-top: -150px;
  122.   background-color: $white;
  123.   padding: 25px;
  124.   border-radius: 5px;
  125.   z-index: 10;
  126.   box-shadow: 0 0 0 9999px rgba(0,0,0,0.5);
  127.  
  128.   &.active {
  129.     display: block;
  130.   }
  131.  
  132.   header {
  133.     position: relative;
  134.   }
  135.  
  136.   h2 {
  137.     text-align: center;
  138.   }
  139.  
  140.   .close {
  141.     position: absolute;
  142.     top: 3px;
  143.     right: 0;
  144.     margin: 0;
  145.   }
  146.  
  147.  
  148. }
  149.  
  150. .pull-right {
  151.   float: right;  
  152. }
  153.  
  154. .icon {
  155.   display: inline-block;
  156.   font-size: inherit;
  157.   font-family: 'ios7-icon';
  158.   margin-right: 5px;
  159.   color: inherit;
  160.   -webkit-text-rendering: geometricPrecision;
  161.   -moz-text-rendering: geometricPrecision;
  162.   -ms-text-rendering: geometricPrecision;
  163.   -o-text-rendering: geometricPrecision;
  164.   text-rendering: geometricPrecision;
  165. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement