Advertisement
Guest User

Untitled

a guest
Oct 14th, 2012
137
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 2.31 KB | None | 0 0
  1.  
  2. @checkin-color: #049cdb;
  3. @checkout-color: #FF6400;
  4. @inhouse-color: #FFCD00;
  5. @today-color: #60D5AC;
  6. @history-color: #808080;
  7.  
  8. @test2color: #808080;
  9.  
  10.  
  11. .today { background-color: @today-color; }
  12.  
  13. div{
  14.     &.testit {background-color: @checkin-color; }
  15. }
  16.  
  17. div.testit2 {
  18.     background-color: @test2color;
  19. }
  20.  
  21. table.reservation-table {
  22.     border-spacing:0;
  23.     border-collapse:collapse;
  24.     border: 1px solid;
  25.     table-layout: fixed;
  26.   /*  empty-cells: show;*/
  27.     width: 100%;
  28.    
  29.     background-color: #ffffff;
  30.    
  31.     colgroup col:first-child
  32.     {
  33.         width: 20px;
  34.     }
  35.  
  36.     th {
  37.         width: 80px;
  38.     }
  39.  
  40.     td {
  41.         border: 1px solid;
  42.         white-space:nowrap;
  43.         margin: 0px 0px 0px 0px;
  44.         padding: 0px 0px 0px 0px;
  45.         text-align: left;
  46.        /* overflow: hidden;*/
  47.         overflow-x: hidden;
  48.         width: 80px;
  49.         &.has-reservation {
  50.             border-width: 0px;
  51.         }
  52.         &.round-corners {
  53.             .has-reservation;
  54.             moz-border-radius: 15px;
  55.             border-radius: 15px;
  56.         }
  57.         &.round-only-left {
  58.             .round-corners;
  59.  
  60.             border-top-right-radius: 0px;
  61.             border-bottom-right-radius: 0px;
  62.             -moz-border-radius-topright: 0px;
  63.             -moz-border-radius-bottomright: 0px;
  64.  
  65.             padding-right: 2px;
  66.             padding-left: 5px;
  67.             margin-left: 5px;
  68.         }
  69.         &.round-only-right {
  70.             .round-corners;
  71.  
  72.             border-top-left-radius: 0px;
  73.             border-bottom-left-radius: 0px;
  74.             -moz-border-radius-topleft: 0px;
  75.             -moz-border-radius-bottomleft: 0px;
  76.             padding-left: 2px;
  77.             padding-right: 5px;
  78.             margin-right: 5px;
  79.         }  
  80.         &.checkin {
  81.             .has-reservation;
  82.             background-color: @checkin-color;
  83.         }
  84.         &.checkout {
  85.             .has-reservation;
  86.             background-color: @checkout-color;
  87.         }
  88.         &.inhouse {
  89.             .has-reservation;
  90.             background-color: @inhouse-color;
  91.         }
  92.         &.history {
  93.             .has-reservation;
  94.             background-color: @history-color;
  95.         }
  96.     }
  97.     th {
  98.         border: 1px solid;
  99.         margin: 0px 0px 0px 0px;
  100.     }  
  101. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement