Advertisement
Guest User

CSSScrollbar

a guest
Aug 14th, 2018
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 1.95 KB | None | 0 0
  1. table {
  2.   border-collapse: separate;
  3.   border-spacing: 0;
  4.   color: #4a4a4d;
  5.   font: 14px/1.4 "Helvetica Neue", Helvetica, Arial, sans-serif;
  6. }
  7. th,
  8. td {
  9.   padding: 10px 15px;
  10.   vertical-align: middle;
  11. }
  12. .fixed_header tbody{
  13.   display:block;
  14.   overflow:auto;
  15.   height:200px;
  16.   width:600px;
  17. }
  18. .fixed_header thead tr{
  19.   display:block;
  20. }
  21.  
  22.  
  23. thead {
  24.   background: #395870;
  25.   background: linear-gradient(#49708f, #293f50);
  26.   color: #fff;
  27.   font-size: 11px;
  28.   text-transform: uppercase;
  29. }
  30. th:first-child {
  31.   border-top-left-radius: 5px;
  32.   text-align: left;
  33. }
  34. th:last-child {
  35.   border-top-right-radius: 5px;
  36. }
  37. tbody tr:nth-child(even) {
  38.   background: #f0f0f2;
  39. }
  40. td {
  41.   border-bottom: 1px solid #cecfd5;
  42.   border-right: 1px solid #cecfd5;
  43. }
  44. td:first-child {
  45.   border-left: 1px solid #cecfd5;
  46. }
  47. .book-title {
  48.   color: #395870;
  49.   display: block;
  50. }
  51. .text-offset {
  52.   color: #7c7c80;
  53.   font-size: 12px;
  54. }
  55. .item-stock,
  56. .item-qty {
  57.   text-align: center;
  58. }
  59. .item-price {
  60.   text-align: right;
  61. }
  62. .item-multiple {
  63.   display: block;
  64. }
  65. tfoot {
  66.   text-align: right;
  67. }
  68. tfoot tr:last-child {
  69.   background: #f0f0f2;
  70.   color: #395870;
  71.   font-weight: bold;
  72. }
  73. tfoot tr:last-child td:first-child {
  74.   border-bottom-left-radius: 5px;
  75. }
  76. tfoot tr:last-child td:last-child {
  77.   border-bottom-right-radius: 5px;
  78. }
  79.  
  80. .btnEdits {
  81.   display: inline-block;
  82.   border-radius: 4px;
  83.   background-color: #4CAF50;
  84.   border: none;
  85.   color: #FFFFFF;
  86.   text-align: center;
  87.   font-size: 16px;
  88.   padding: 10px;
  89.   width: 80px;
  90.   transition: all 0.5s;
  91.   cursor: pointer;
  92.   margin: 5px;
  93. }
  94.  
  95. .btnEdits span {
  96.   cursor: pointer;
  97.   display: inline-block;
  98.   position: relative;
  99.   transition: 0.5s;
  100. }
  101.  
  102. .btnEdits span:after {
  103.   content: '\00bb';
  104.   position: absolute;
  105.   opacity: 0;
  106.   top: 0;
  107.   right: -20px;
  108.   transition: 0.5s;
  109. }
  110.  
  111. .btnEdits:hover span {
  112.   padding-right: 25px;
  113. }
  114.  
  115. .btnEdits:hover span:after {
  116.   opacity: 1;
  117.   right: 0;
  118. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement