Advertisement
Guest User

Untitled

a guest
Dec 4th, 2016
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.76 KB | None | 0 0
  1. ubuntu ~/www/rmi/app/assets/stylesheets $ cat application.scss
  2. /*
  3. *= require_self
  4. *= require_tree ./
  5. */
  6.  
  7. @import url(http://fonts.googleapis.com/css?family=Roboto:400,500,700,300,100);
  8.  
  9. h1 {
  10. font-family: "Roboto", helvetica, arial, sans-serif;
  11. }
  12.  
  13. table a:link {
  14. color: #666;
  15. font-weight: bold;
  16. text-decoration: none;
  17. }
  18.  
  19. table a:visited {
  20. color: #999999;
  21. font-weight: bold;
  22. text-decoration:none;
  23. }
  24.  
  25. table a:active,
  26. table a:hover {
  27. color: #bd5a35;
  28. text-decoration:underline;
  29. }
  30.  
  31. table {
  32. font-family:Arial, Helvetica, sans-serif;
  33. color:#666;
  34. font-size:12px;
  35. text-shadow: 1px 1px 0px #fff;
  36. background:#eaebec;
  37. border:#ccc 1px solid;
  38.  
  39. -moz-border-radius:3px;
  40. -webkit-border-radius:3px;
  41. border-radius:3px;
  42.  
  43. -moz-box-shadow: 0 1px 2px #d1d1d1;
  44. -webkit-box-shadow: 0 1px 2px #d1d1d1;
  45. box-shadow: 0 1px 2px #d1d1d1;
  46. }
  47.  
  48. table th {
  49. padding:21px 25px 22px 25px;
  50. border-top:1px solid #fafafa;
  51. border-bottom:1px solid #e0e0e0;
  52. border-left: 1px solid #e0e0e0;
  53. border-right: 1px solid #e0e0e0;
  54. background: #ededed;
  55. background: -webkit-gradient(linear, left top, left bottom, from(#ededed), to(#ebebeb));
  56. background: -moz-linear-gradient(top, #ededed, #ebebeb);
  57. }
  58.  
  59. table th:first-child {
  60. text-align: left;
  61. padding-left:20px;
  62. }
  63.  
  64. table tr:first-child th:first-child {
  65. -moz-border-radius-topleft:3px;
  66. -webkit-border-top-left-radius:3px;
  67. border-top-left-radius:3px;
  68. }
  69.  
  70. table tr:first-child th:last-child {
  71. -moz-border-radius-topright:3px;
  72. -webkit-border-top-right-radius:3px;
  73. border-top-right-radius:3px;
  74. }
  75.  
  76. table tr {
  77. text-align: center;
  78. padding-left:20px;
  79. }
  80.  
  81. table td:first-child {
  82. text-align: left;
  83. padding-left:20px;
  84. border-left: 0;
  85. }
  86.  
  87. table td {
  88. padding:18px;
  89. border-top: 1px solid #ffffff;
  90. border-bottom:1px solid #e0e0e0;
  91. border-left: 1px solid #e0e0e0;
  92.  
  93. background: #fafafa;
  94. background: -webkit-gradient(linear, left top, left bottom, from(#fbfbfb), to(#fafafa));
  95. background: -moz-linear-gradient(top, #fbfbfb, #fafafa);
  96. }
  97.  
  98. table tr.even td {
  99. background: #f6f6f6;
  100. background: -webkit-gradient(linear, left top, left bottom, from(#f8f8f8), to(#f6f6f6));
  101. background: -moz-linear-gradient(top, #f8f8f8, #f6f6f6);
  102. }
  103.  
  104. table tr:last-child td {
  105. border-bottom:0;
  106. }
  107. table tr:last-child td:first-child {
  108. -moz-border-radius-bottomleft:3px;
  109. -webkit-border-bottom-left-radius:3px;
  110. border-bottom-left-radius:3px;
  111. }
  112.  
  113. table tr:last-child td:last-child {
  114. -moz-border-radius-bottomright:3px;
  115. -webkit-border-bottom-right-radius:3px;
  116. border-bottom-right-radius:3px;
  117. }
  118.  
  119. table tr:hover td {
  120. background: #f2f2f2;
  121. background: -webkit-gradient(linear, left top, left bottom, from(#f2f2f2), to(#f0f0f0));
  122. background: -moz-linear-gradient(top, #f2f2f2, #f0f0f0);
  123. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement