[ Index ]

PHP Cross Reference of vtigercrm-6.1.0

title

Body

[close]

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

   1  /*!

   2   * Datepicker for Bootstrap

   3   *

   4   * Copyright 2012 Stefan Petre

   5   * Licensed under the Apache License v2.0

   6   * http://www.apache.org/licenses/LICENSE-2.0

   7   *

   8   */
   9   
  10  .datepicker {
  11      top: 0;
  12      left: 0;
  13      padding: 4px;
  14      margin-top: 1px;
  15      .border-radius(4px);
  16      &:before {
  17          content: '';
  18          display: inline-block;
  19          border-left:   7px solid transparent;
  20          border-right:  7px solid transparent;
  21          border-bottom: 7px solid #ccc;
  22          border-bottom-color: rgba(0,0,0,.2);
  23          position: absolute;
  24          top: -7px;
  25          left: 6px;
  26      }
  27      &:after {
  28          content: '';
  29          display: inline-block;
  30          border-left:   6px solid transparent;
  31          border-right:  6px solid transparent;
  32          border-bottom: 6px solid @white;
  33          position: absolute;
  34          top: -6px;
  35          left: 7px;
  36      }
  37      >div {
  38          display: none;
  39      }
  40      &.days div.datepicker-days {
  41          display: block;
  42      }
  43      &.months div.datepicker-months {
  44          display: block;
  45      }
  46      &.years div.datepicker-years {
  47          display: block;
  48      }
  49      table{
  50          width: 100%;
  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          &.active,
  70          &.active:hover {
  71              .buttonBackground(@gradient1StrtColor, spin(@gradient1StrtColor, 20));
  72              color: #fff;
  73              text-shadow: 0 -1px 0 rgba(0,0,0,.25);
  74          }
  75          span {
  76              display: block;
  77              width: 47px;
  78              height: 54px;
  79              line-height: 54px;
  80              float: left;
  81              margin: 2px;
  82              cursor: pointer;
  83              .border-radius(4px);
  84              &:hover {
  85                  background: @grayLighter;
  86              }
  87              &.active {
  88                  .buttonBackground(@gradient1StrtColor, spin(@gradient1StrtColor, 20));
  89                  color: #fff;
  90                  text-shadow: 0 -1px 0 rgba(0,0,0,.25);
  91              }
  92              &.old {
  93                  color: @grayLight;
  94              }
  95          }
  96      }
  97      
  98      th.switch {
  99          width: 145px;
 100      }
 101      
 102      thead tr:first-child th {
 103          cursor: pointer;
 104          &:hover{
 105              background: @grayLighter;
 106          }
 107      }
 108      /*.dow {

 109          border-top: 1px solid #ddd !important;

 110      }*/
 111  }
 112  .input-append,
 113  .input-prepend {
 114      &.date {
 115          .add-on i {
 116              display: block;
 117              cursor: pointer;
 118              width: 16px;
 119              height: 16px;
 120          }
 121      }
 122  }


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