bootstrap-editable.css 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656
  1. /*! X-editable - v1.4.6
  2. * In-place editing with Twitter Bootstrap, jQuery UI or pure jQuery
  3. * http://github.com/vitalets/x-editable
  4. * Copyright (c) 2013 Vitaliy Potapov; Licensed MIT */
  5. .editableform {
  6. margin-bottom: 0; /* overwrites bootstrap margin */
  7. }
  8. .editableform .control-group {
  9. margin-bottom: 0; /* overwrites bootstrap margin */
  10. white-space: nowrap; /* prevent wrapping buttons on new line */
  11. line-height: 20px; /* overwriting bootstrap line-height. See #133 */
  12. }
  13. .editable-buttons {
  14. display: inline-block; /* should be inline to take effect of parent's white-space: nowrap */
  15. vertical-align: top;
  16. margin-left: 7px;
  17. /* inline-block emulation for IE7*/
  18. zoom: 1;
  19. *display: inline;
  20. }
  21. .editable-buttons.editable-buttons-bottom {
  22. display: block;
  23. margin-top: 7px;
  24. margin-left: 0;
  25. }
  26. .editable-input {
  27. vertical-align: top;
  28. display: inline-block; /* should be inline to take effect of parent's white-space: nowrap */
  29. width: auto; /* bootstrap-responsive has width: 100% that breakes layout */
  30. white-space: normal; /* reset white-space decalred in parent*/
  31. /* display-inline emulation for IE7*/
  32. zoom: 1;
  33. *display: inline;
  34. }
  35. .editable-buttons .editable-cancel {
  36. margin-left: 7px;
  37. }
  38. /*for jquery-ui buttons need set height to look more pretty*/
  39. .editable-buttons button.ui-button-icon-only {
  40. height: 24px;
  41. width: 30px;
  42. }
  43. .editableform-loading {
  44. background: url('../img/loading.gif') center center no-repeat;
  45. height: 25px;
  46. width: auto;
  47. min-width: 25px;
  48. }
  49. .editable-inline .editableform-loading {
  50. background-position: left 5px;
  51. }
  52. .editable-error-block {
  53. max-width: 300px;
  54. margin: 5px 0 0 0;
  55. width: auto;
  56. white-space: normal;
  57. }
  58. /*add padding for jquery ui*/
  59. .editable-error-block.ui-state-error {
  60. padding: 3px;
  61. }
  62. .editable-error {
  63. color: red;
  64. }
  65. /* ---- For specific types ---- */
  66. .editableform .editable-date {
  67. padding: 0;
  68. margin: 0;
  69. float: left;
  70. }
  71. /* move datepicker icon to center of add-on button. See https://github.com/vitalets/x-editable/issues/183 */
  72. .editable-inline .add-on .icon-th {
  73. margin-top: 3px;
  74. margin-left: 1px;
  75. }
  76. /* checklist vertical alignment */
  77. .editable-checklist label input[type="checkbox"],
  78. .editable-checklist label span {
  79. vertical-align: middle;
  80. margin: 0;
  81. }
  82. .editable-checklist label {
  83. white-space: nowrap;
  84. }
  85. /* set exact width of textarea to fit buttons toolbar */
  86. .editable-wysihtml5 {
  87. width: 566px;
  88. height: 250px;
  89. }
  90. /* clear button shown as link in date inputs */
  91. .editable-clear {
  92. clear: both;
  93. font-size: 0.9em;
  94. text-decoration: none;
  95. text-align: right;
  96. }
  97. /* IOS-style clear button for text inputs */
  98. .editable-clear-x {
  99. background: url('../img/clear.png') center center no-repeat;
  100. display: block;
  101. width: 13px;
  102. height: 13px;
  103. position: absolute;
  104. opacity: 0.6;
  105. z-index: 100;
  106. top: 50%;
  107. right: 6px;
  108. margin-top: -6px;
  109. }
  110. .editable-clear-x:hover {
  111. opacity: 1;
  112. }
  113. .editable-pre-wrapped {
  114. white-space: pre-wrap;
  115. }
  116. .editable-container.editable-popup {
  117. max-width: none !important; /* without this rule poshytip/tooltip does not stretch */
  118. }
  119. .editable-container.popover {
  120. width: auto; /* without this rule popover does not stretch */
  121. }
  122. .editable-container.editable-inline {
  123. display: inline-block;
  124. vertical-align: middle;
  125. width: auto;
  126. /* inline-block emulation for IE7*/
  127. zoom: 1;
  128. *display: inline;
  129. }
  130. .editable-container.ui-widget {
  131. font-size: inherit; /* jqueryui widget font 1.1em too big, overwrite it */
  132. z-index: 9990; /* should be less than select2 dropdown z-index to close dropdown first when click */
  133. }
  134. .editable-click,
  135. a.editable-click,
  136. a.editable-click:hover {
  137. text-decoration: none;
  138. border-bottom: dashed 1px #0088cc;
  139. }
  140. .editable-click.editable-disabled,
  141. a.editable-click.editable-disabled,
  142. a.editable-click.editable-disabled:hover {
  143. color: #585858;
  144. cursor: default;
  145. border-bottom: none;
  146. }
  147. .editable-empty, .editable-empty:hover, .editable-empty:focus{
  148. font-style: italic;
  149. color: #DD1144;
  150. /* border-bottom: none; */
  151. text-decoration: none;
  152. }
  153. .editable-unsaved {
  154. font-weight: bold;
  155. }
  156. .editable-unsaved:after {
  157. /* content: '*'*/
  158. }
  159. .editable-bg-transition {
  160. -webkit-transition: background-color 1400ms ease-out;
  161. -moz-transition: background-color 1400ms ease-out;
  162. -o-transition: background-color 1400ms ease-out;
  163. -ms-transition: background-color 1400ms ease-out;
  164. transition: background-color 1400ms ease-out;
  165. }
  166. /*see https://github.com/vitalets/x-editable/issues/139 */
  167. .form-horizontal .editable
  168. {
  169. padding-top: 5px;
  170. display:inline-block;
  171. }
  172. /*!
  173. * Datepicker for Bootstrap
  174. *
  175. * Copyright 2012 Stefan Petre
  176. * Improvements by Andrew Rowls
  177. * Licensed under the Apache License v2.0
  178. * http://www.apache.org/licenses/LICENSE-2.0
  179. *
  180. */
  181. .datepicker {
  182. padding: 4px;
  183. -webkit-border-radius: 4px;
  184. -moz-border-radius: 4px;
  185. border-radius: 4px;
  186. direction: ltr;
  187. /*.dow {
  188. border-top: 1px solid #ddd !important;
  189. }*/
  190. }
  191. .datepicker-inline {
  192. width: 220px;
  193. }
  194. .datepicker.datepicker-rtl {
  195. direction: rtl;
  196. }
  197. .datepicker.datepicker-rtl table tr td span {
  198. float: right;
  199. }
  200. .datepicker-dropdown {
  201. top: 0;
  202. left: 0;
  203. }
  204. .datepicker-dropdown:before {
  205. content: '';
  206. display: inline-block;
  207. border-left: 7px solid transparent;
  208. border-right: 7px solid transparent;
  209. border-bottom: 7px solid #ccc;
  210. border-bottom-color: rgba(0, 0, 0, 0.2);
  211. position: absolute;
  212. top: -7px;
  213. left: 6px;
  214. }
  215. .datepicker-dropdown:after {
  216. content: '';
  217. display: inline-block;
  218. border-left: 6px solid transparent;
  219. border-right: 6px solid transparent;
  220. border-bottom: 6px solid #ffffff;
  221. position: absolute;
  222. top: -6px;
  223. left: 7px;
  224. }
  225. .datepicker > div {
  226. display: none;
  227. }
  228. .datepicker.days div.datepicker-days {
  229. display: block;
  230. }
  231. .datepicker.months div.datepicker-months {
  232. display: block;
  233. }
  234. .datepicker.years div.datepicker-years {
  235. display: block;
  236. }
  237. .datepicker table {
  238. margin: 0;
  239. }
  240. .datepicker td,
  241. .datepicker th {
  242. text-align: center;
  243. width: 20px;
  244. height: 20px;
  245. -webkit-border-radius: 4px;
  246. -moz-border-radius: 4px;
  247. border-radius: 4px;
  248. border: none;
  249. }
  250. .table-striped .datepicker table tr td,
  251. .table-striped .datepicker table tr th {
  252. background-color: transparent;
  253. }
  254. .datepicker table tr td.day:hover {
  255. background: #eeeeee;
  256. cursor: pointer;
  257. }
  258. .datepicker table tr td.old,
  259. .datepicker table tr td.new {
  260. color: #999999;
  261. }
  262. .datepicker table tr td.disabled,
  263. .datepicker table tr td.disabled:hover {
  264. background: none;
  265. color: #999999;
  266. cursor: default;
  267. }
  268. .datepicker table tr td.today,
  269. .datepicker table tr td.today:hover,
  270. .datepicker table tr td.today.disabled,
  271. .datepicker table tr td.today.disabled:hover {
  272. background-color: #fde19a;
  273. background-image: -moz-linear-gradient(top, #fdd49a, #fdf59a);
  274. background-image: -ms-linear-gradient(top, #fdd49a, #fdf59a);
  275. background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#fdd49a), to(#fdf59a));
  276. background-image: -webkit-linear-gradient(top, #fdd49a, #fdf59a);
  277. background-image: -o-linear-gradient(top, #fdd49a, #fdf59a);
  278. background-image: linear-gradient(top, #fdd49a, #fdf59a);
  279. background-repeat: repeat-x;
  280. filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fdd49a', endColorstr='#fdf59a', GradientType=0);
  281. border-color: #fdf59a #fdf59a #fbed50;
  282. border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
  283. filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);
  284. color: #000;
  285. }
  286. .datepicker table tr td.today:hover,
  287. .datepicker table tr td.today:hover:hover,
  288. .datepicker table tr td.today.disabled:hover,
  289. .datepicker table tr td.today.disabled:hover:hover,
  290. .datepicker table tr td.today:active,
  291. .datepicker table tr td.today:hover:active,
  292. .datepicker table tr td.today.disabled:active,
  293. .datepicker table tr td.today.disabled:hover:active,
  294. .datepicker table tr td.today.active,
  295. .datepicker table tr td.today:hover.active,
  296. .datepicker table tr td.today.disabled.active,
  297. .datepicker table tr td.today.disabled:hover.active,
  298. .datepicker table tr td.today.disabled,
  299. .datepicker table tr td.today:hover.disabled,
  300. .datepicker table tr td.today.disabled.disabled,
  301. .datepicker table tr td.today.disabled:hover.disabled,
  302. .datepicker table tr td.today[disabled],
  303. .datepicker table tr td.today:hover[disabled],
  304. .datepicker table tr td.today.disabled[disabled],
  305. .datepicker table tr td.today.disabled:hover[disabled] {
  306. background-color: #fdf59a;
  307. }
  308. .datepicker table tr td.today:active,
  309. .datepicker table tr td.today:hover:active,
  310. .datepicker table tr td.today.disabled:active,
  311. .datepicker table tr td.today.disabled:hover:active,
  312. .datepicker table tr td.today.active,
  313. .datepicker table tr td.today:hover.active,
  314. .datepicker table tr td.today.disabled.active,
  315. .datepicker table tr td.today.disabled:hover.active {
  316. background-color: #fbf069 \9;
  317. }
  318. .datepicker table tr td.today:hover:hover {
  319. color: #000;
  320. }
  321. .datepicker table tr td.today.active:hover {
  322. color: #fff;
  323. }
  324. .datepicker table tr td.range,
  325. .datepicker table tr td.range:hover,
  326. .datepicker table tr td.range.disabled,
  327. .datepicker table tr td.range.disabled:hover {
  328. background: #eeeeee;
  329. -webkit-border-radius: 0;
  330. -moz-border-radius: 0;
  331. border-radius: 0;
  332. }
  333. .datepicker table tr td.range.today,
  334. .datepicker table tr td.range.today:hover,
  335. .datepicker table tr td.range.today.disabled,
  336. .datepicker table tr td.range.today.disabled:hover {
  337. background-color: #f3d17a;
  338. background-image: -moz-linear-gradient(top, #f3c17a, #f3e97a);
  339. background-image: -ms-linear-gradient(top, #f3c17a, #f3e97a);
  340. background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#f3c17a), to(#f3e97a));
  341. background-image: -webkit-linear-gradient(top, #f3c17a, #f3e97a);
  342. background-image: -o-linear-gradient(top, #f3c17a, #f3e97a);
  343. background-image: linear-gradient(top, #f3c17a, #f3e97a);
  344. background-repeat: repeat-x;
  345. filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#f3c17a', endColorstr='#f3e97a', GradientType=0);
  346. border-color: #f3e97a #f3e97a #edde34;
  347. border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
  348. filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);
  349. -webkit-border-radius: 0;
  350. -moz-border-radius: 0;
  351. border-radius: 0;
  352. }
  353. .datepicker table tr td.range.today:hover,
  354. .datepicker table tr td.range.today:hover:hover,
  355. .datepicker table tr td.range.today.disabled:hover,
  356. .datepicker table tr td.range.today.disabled:hover:hover,
  357. .datepicker table tr td.range.today:active,
  358. .datepicker table tr td.range.today:hover:active,
  359. .datepicker table tr td.range.today.disabled:active,
  360. .datepicker table tr td.range.today.disabled:hover:active,
  361. .datepicker table tr td.range.today.active,
  362. .datepicker table tr td.range.today:hover.active,
  363. .datepicker table tr td.range.today.disabled.active,
  364. .datepicker table tr td.range.today.disabled:hover.active,
  365. .datepicker table tr td.range.today.disabled,
  366. .datepicker table tr td.range.today:hover.disabled,
  367. .datepicker table tr td.range.today.disabled.disabled,
  368. .datepicker table tr td.range.today.disabled:hover.disabled,
  369. .datepicker table tr td.range.today[disabled],
  370. .datepicker table tr td.range.today:hover[disabled],
  371. .datepicker table tr td.range.today.disabled[disabled],
  372. .datepicker table tr td.range.today.disabled:hover[disabled] {
  373. background-color: #f3e97a;
  374. }
  375. .datepicker table tr td.range.today:active,
  376. .datepicker table tr td.range.today:hover:active,
  377. .datepicker table tr td.range.today.disabled:active,
  378. .datepicker table tr td.range.today.disabled:hover:active,
  379. .datepicker table tr td.range.today.active,
  380. .datepicker table tr td.range.today:hover.active,
  381. .datepicker table tr td.range.today.disabled.active,
  382. .datepicker table tr td.range.today.disabled:hover.active {
  383. background-color: #efe24b \9;
  384. }
  385. .datepicker table tr td.selected,
  386. .datepicker table tr td.selected:hover,
  387. .datepicker table tr td.selected.disabled,
  388. .datepicker table tr td.selected.disabled:hover {
  389. background-color: #9e9e9e;
  390. background-image: -moz-linear-gradient(top, #b3b3b3, #808080);
  391. background-image: -ms-linear-gradient(top, #b3b3b3, #808080);
  392. background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#b3b3b3), to(#808080));
  393. background-image: -webkit-linear-gradient(top, #b3b3b3, #808080);
  394. background-image: -o-linear-gradient(top, #b3b3b3, #808080);
  395. background-image: linear-gradient(top, #b3b3b3, #808080);
  396. background-repeat: repeat-x;
  397. filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#b3b3b3', endColorstr='#808080', GradientType=0);
  398. border-color: #808080 #808080 #595959;
  399. border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
  400. filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);
  401. color: #fff;
  402. text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
  403. }
  404. .datepicker table tr td.selected:hover,
  405. .datepicker table tr td.selected:hover:hover,
  406. .datepicker table tr td.selected.disabled:hover,
  407. .datepicker table tr td.selected.disabled:hover:hover,
  408. .datepicker table tr td.selected:active,
  409. .datepicker table tr td.selected:hover:active,
  410. .datepicker table tr td.selected.disabled:active,
  411. .datepicker table tr td.selected.disabled:hover:active,
  412. .datepicker table tr td.selected.active,
  413. .datepicker table tr td.selected:hover.active,
  414. .datepicker table tr td.selected.disabled.active,
  415. .datepicker table tr td.selected.disabled:hover.active,
  416. .datepicker table tr td.selected.disabled,
  417. .datepicker table tr td.selected:hover.disabled,
  418. .datepicker table tr td.selected.disabled.disabled,
  419. .datepicker table tr td.selected.disabled:hover.disabled,
  420. .datepicker table tr td.selected[disabled],
  421. .datepicker table tr td.selected:hover[disabled],
  422. .datepicker table tr td.selected.disabled[disabled],
  423. .datepicker table tr td.selected.disabled:hover[disabled] {
  424. background-color: #808080;
  425. }
  426. .datepicker table tr td.selected:active,
  427. .datepicker table tr td.selected:hover:active,
  428. .datepicker table tr td.selected.disabled:active,
  429. .datepicker table tr td.selected.disabled:hover:active,
  430. .datepicker table tr td.selected.active,
  431. .datepicker table tr td.selected:hover.active,
  432. .datepicker table tr td.selected.disabled.active,
  433. .datepicker table tr td.selected.disabled:hover.active {
  434. background-color: #666666 \9;
  435. }
  436. .datepicker table tr td.active,
  437. .datepicker table tr td.active:hover,
  438. .datepicker table tr td.active.disabled,
  439. .datepicker table tr td.active.disabled:hover {
  440. background-color: #006dcc;
  441. background-image: -moz-linear-gradient(top, #0088cc, #0044cc);
  442. background-image: -ms-linear-gradient(top, #0088cc, #0044cc);
  443. background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#0088cc), to(#0044cc));
  444. background-image: -webkit-linear-gradient(top, #0088cc, #0044cc);
  445. background-image: -o-linear-gradient(top, #0088cc, #0044cc);
  446. background-image: linear-gradient(top, #0088cc, #0044cc);
  447. background-repeat: repeat-x;
  448. filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#0088cc', endColorstr='#0044cc', GradientType=0);
  449. border-color: #0044cc #0044cc #002a80;
  450. border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
  451. filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);
  452. color: #fff;
  453. text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
  454. }
  455. .datepicker table tr td.active:hover,
  456. .datepicker table tr td.active:hover:hover,
  457. .datepicker table tr td.active.disabled:hover,
  458. .datepicker table tr td.active.disabled:hover:hover,
  459. .datepicker table tr td.active:active,
  460. .datepicker table tr td.active:hover:active,
  461. .datepicker table tr td.active.disabled:active,
  462. .datepicker table tr td.active.disabled:hover:active,
  463. .datepicker table tr td.active.active,
  464. .datepicker table tr td.active:hover.active,
  465. .datepicker table tr td.active.disabled.active,
  466. .datepicker table tr td.active.disabled:hover.active,
  467. .datepicker table tr td.active.disabled,
  468. .datepicker table tr td.active:hover.disabled,
  469. .datepicker table tr td.active.disabled.disabled,
  470. .datepicker table tr td.active.disabled:hover.disabled,
  471. .datepicker table tr td.active[disabled],
  472. .datepicker table tr td.active:hover[disabled],
  473. .datepicker table tr td.active.disabled[disabled],
  474. .datepicker table tr td.active.disabled:hover[disabled] {
  475. background-color: #0044cc;
  476. }
  477. .datepicker table tr td.active:active,
  478. .datepicker table tr td.active:hover:active,
  479. .datepicker table tr td.active.disabled:active,
  480. .datepicker table tr td.active.disabled:hover:active,
  481. .datepicker table tr td.active.active,
  482. .datepicker table tr td.active:hover.active,
  483. .datepicker table tr td.active.disabled.active,
  484. .datepicker table tr td.active.disabled:hover.active {
  485. background-color: #003399 \9;
  486. }
  487. .datepicker table tr td span {
  488. display: block;
  489. width: 23%;
  490. height: 54px;
  491. line-height: 54px;
  492. float: left;
  493. margin: 1%;
  494. cursor: pointer;
  495. -webkit-border-radius: 4px;
  496. -moz-border-radius: 4px;
  497. border-radius: 4px;
  498. }
  499. .datepicker table tr td span:hover {
  500. background: #eeeeee;
  501. }
  502. .datepicker table tr td span.disabled,
  503. .datepicker table tr td span.disabled:hover {
  504. background: none;
  505. color: #999999;
  506. cursor: default;
  507. }
  508. .datepicker table tr td span.active,
  509. .datepicker table tr td span.active:hover,
  510. .datepicker table tr td span.active.disabled,
  511. .datepicker table tr td span.active.disabled:hover {
  512. background-color: #006dcc;
  513. background-image: -moz-linear-gradient(top, #0088cc, #0044cc);
  514. background-image: -ms-linear-gradient(top, #0088cc, #0044cc);
  515. background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#0088cc), to(#0044cc));
  516. background-image: -webkit-linear-gradient(top, #0088cc, #0044cc);
  517. background-image: -o-linear-gradient(top, #0088cc, #0044cc);
  518. background-image: linear-gradient(top, #0088cc, #0044cc);
  519. background-repeat: repeat-x;
  520. filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#0088cc', endColorstr='#0044cc', GradientType=0);
  521. border-color: #0044cc #0044cc #002a80;
  522. border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
  523. filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);
  524. color: #fff;
  525. text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
  526. }
  527. .datepicker table tr td span.active:hover,
  528. .datepicker table tr td span.active:hover:hover,
  529. .datepicker table tr td span.active.disabled:hover,
  530. .datepicker table tr td span.active.disabled:hover:hover,
  531. .datepicker table tr td span.active:active,
  532. .datepicker table tr td span.active:hover:active,
  533. .datepicker table tr td span.active.disabled:active,
  534. .datepicker table tr td span.active.disabled:hover:active,
  535. .datepicker table tr td span.active.active,
  536. .datepicker table tr td span.active:hover.active,
  537. .datepicker table tr td span.active.disabled.active,
  538. .datepicker table tr td span.active.disabled:hover.active,
  539. .datepicker table tr td span.active.disabled,
  540. .datepicker table tr td span.active:hover.disabled,
  541. .datepicker table tr td span.active.disabled.disabled,
  542. .datepicker table tr td span.active.disabled:hover.disabled,
  543. .datepicker table tr td span.active[disabled],
  544. .datepicker table tr td span.active:hover[disabled],
  545. .datepicker table tr td span.active.disabled[disabled],
  546. .datepicker table tr td span.active.disabled:hover[disabled] {
  547. background-color: #0044cc;
  548. }
  549. .datepicker table tr td span.active:active,
  550. .datepicker table tr td span.active:hover:active,
  551. .datepicker table tr td span.active.disabled:active,
  552. .datepicker table tr td span.active.disabled:hover:active,
  553. .datepicker table tr td span.active.active,
  554. .datepicker table tr td span.active:hover.active,
  555. .datepicker table tr td span.active.disabled.active,
  556. .datepicker table tr td span.active.disabled:hover.active {
  557. background-color: #003399 \9;
  558. }
  559. .datepicker table tr td span.old,
  560. .datepicker table tr td span.new {
  561. color: #999999;
  562. }
  563. .datepicker th.datepicker-switch {
  564. width: 145px;
  565. }
  566. .datepicker thead tr:first-child th,
  567. .datepicker tfoot tr th {
  568. cursor: pointer;
  569. }
  570. .datepicker thead tr:first-child th:hover,
  571. .datepicker tfoot tr th:hover {
  572. background: #eeeeee;
  573. }
  574. .datepicker .cw {
  575. font-size: 10px;
  576. width: 12px;
  577. padding: 0 2px 0 5px;
  578. vertical-align: middle;
  579. }
  580. .datepicker thead tr:first-child th.cw {
  581. cursor: default;
  582. background-color: transparent;
  583. }
  584. .input-append.date .add-on i,
  585. .input-prepend.date .add-on i {
  586. display: block;
  587. cursor: pointer;
  588. width: 16px;
  589. height: 16px;
  590. }
  591. .input-daterange input {
  592. text-align: center;
  593. }
  594. .input-daterange input:first-child {
  595. -webkit-border-radius: 3px 0 0 3px;
  596. -moz-border-radius: 3px 0 0 3px;
  597. border-radius: 3px 0 0 3px;
  598. }
  599. .input-daterange input:last-child {
  600. -webkit-border-radius: 0 3px 3px 0;
  601. -moz-border-radius: 0 3px 3px 0;
  602. border-radius: 0 3px 3px 0;
  603. }
  604. .input-daterange .add-on {
  605. display: inline-block;
  606. width: auto;
  607. min-width: 16px;
  608. height: 18px;
  609. padding: 4px 5px;
  610. font-weight: normal;
  611. line-height: 18px;
  612. text-align: center;
  613. text-shadow: 0 1px 0 #ffffff;
  614. vertical-align: middle;
  615. background-color: #eeeeee;
  616. border: 1px solid #ccc;
  617. margin-left: -5px;
  618. margin-right: -5px;
  619. }