[ Index ]

PHP Cross Reference of vtigercrm-6.1.0

title

Body

[close]

/libraries/bootstrap/js/eternicode-bootstrap-datepicker/less/ -> datepicker.less (source)

   1  /*!
   2   * Datepicker for Bootstrap
   3   *
   4   * Copyright 2012 Stefan Petre
   5   * Improvements by Andrew Rowls
   6   * Licensed under the Apache License v2.0
   7   * http://www.apache.org/licenses/LICENSE-2.0
   8   *
   9   */
  10  
  11  .datepicker {
  12      top: 0;
  13      left: 0;
  14      padding: 4px;
  15      margin-top: 1px;
  16      .border-radius(4px);
  17      &:before {
  18          content: '';
  19          display: inline-block;
  20          border-left:   7px solid transparent;
  21          border-right:  7px solid transparent;
  22          border-bottom: 7px solid #ccc;
  23          border-bottom-color: rgba(0,0,0,.2);
  24          position: absolute;
  25          top: -7px;
  26          left: 6px;
  27      }
  28      &:after {
  29          content: '';
  30          display: inline-block;
  31          border-left:   6px solid transparent;
  32          border-right:  6px solid transparent;
  33          border-bottom: 6px solid @white;
  34          position: absolute;
  35          top: -6px;
  36          left: 7px;
  37      }
  38      >div {
  39          display: none;
  40      }
  41      &.days div.datepicker-days {
  42          display: block;
  43      }
  44      &.months div.datepicker-months {
  45          display: block;
  46      }
  47      &.years div.datepicker-years {
  48          display: block;
  49      }
  50      table{
  51          margin: 0;
  52      }
  53      td,
  54      th{
  55          text-align: center;
  56          width: 20px;
  57          height: 20px;
  58          .border-radius(4px);
  59      }
  60      td {
  61          &.day:hover {
  62              background: @grayLighter;
  63              cursor: pointer;
  64          }
  65          &.old,
  66          &.new {
  67              color: @grayLight;
  68          }
  69          &.disabled,
  70          &.disabled:hover {
  71              background: none;
  72              color: @grayLight;
  73              cursor: default;
  74          }
  75          &.active,
  76          &.active:hover,
  77          &.active.disabled,
  78          &.active.disabled:hover {
  79              .buttonBackground(@btnPrimaryBackground, spin(@btnPrimaryBackground, 20));
  80              color: #fff;
  81              text-shadow: 0 -1px 0 rgba(0,0,0,.25);
  82          }
  83          span {
  84              display: block;
  85              width: 47px;
  86              height: 54px;
  87              line-height: 54px;
  88              float: left;
  89              margin: 2px;
  90              cursor: pointer;
  91              .border-radius(4px);
  92              &:hover {
  93                  background: @grayLighter;
  94              }
  95              &.disabled,
  96              &.disabled:hover {
  97                  background:none;
  98                  color: @grayLight;
  99                  cursor: default;
 100              }
 101              &.active,
 102              &.active:hover,
 103              &.active.disabled,
 104              &.active.disabled:hover {
 105                  .buttonBackground(@btnPrimaryBackground, spin(@btnPrimaryBackground, 20));
 106                  color: #fff;
 107                  text-shadow: 0 -1px 0 rgba(0,0,0,.25);
 108              }
 109              &.old {
 110                  color: @grayLight;
 111              }
 112          }
 113      }
 114  
 115      th.switch {
 116          width: 145px;
 117      }
 118  
 119      thead tr:first-child th {
 120          cursor: pointer;
 121          &:hover{
 122              background: @grayLighter;
 123          }
 124      }
 125      /*.dow {
 126          border-top: 1px solid #ddd !important;
 127      }*/
 128  }
 129  .input-append,
 130  .input-prepend {
 131      &.date {
 132          .add-on i {
 133              display: block;
 134              cursor: pointer;
 135              width: 16px;
 136              height: 16px;
 137          }
 138      }
 139  }


Generated: Fri Nov 28 20:08:37 2014 Cross-referenced by PHPXref 0.7.1