bootstrap-editable.css 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651
  1. /*! X-editable - v1.4.5
  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-container.editable-popup {
  114. max-width: none !important; /* without this rule poshytip/tooltip does not stretch */
  115. }
  116. .editable-container.popover {
  117. width: auto; /* without this rule popover does not stretch */
  118. }
  119. .editable-container.editable-inline {
  120. display: inline-block;
  121. vertical-align: middle;
  122. width: auto;
  123. /* inline-block emulation for IE7*/
  124. zoom: 1;
  125. *display: inline;
  126. }
  127. .editable-container.ui-widget {
  128. font-size: inherit; /* jqueryui widget font 1.1em too big, overwrite it */
  129. }
  130. .editable-click,
  131. a.editable-click,
  132. a.editable-click:hover {
  133. text-decoration: none;
  134. border-bottom: dashed 1px #0088cc;
  135. }
  136. .editable-click.editable-disabled,
  137. a.editable-click.editable-disabled,
  138. a.editable-click.editable-disabled:hover {
  139. color: #585858;
  140. cursor: default;
  141. border-bottom: none;
  142. }
  143. .editable-empty, .editable-empty:hover, .editable-empty:focus{
  144. font-style: italic;
  145. color: #DD1144;
  146. /* border-bottom: none; */
  147. text-decoration: none;
  148. }
  149. .editable-unsaved {
  150. font-weight: bold;
  151. }
  152. .editable-unsaved:after {
  153. /* content: '*'*/
  154. }
  155. .editable-bg-transition {
  156. -webkit-transition: background-color 1400ms ease-out;
  157. -moz-transition: background-color 1400ms ease-out;
  158. -o-transition: background-color 1400ms ease-out;
  159. -ms-transition: background-color 1400ms ease-out;
  160. transition: background-color 1400ms ease-out;
  161. }
  162. /*see https://github.com/vitalets/x-editable/issues/139 */
  163. .form-horizontal .editable
  164. {
  165. padding-top: 5px;
  166. display:inline-block;
  167. }
  168. /*!
  169. * Datepicker for Bootstrap
  170. *
  171. * Copyright 2012 Stefan Petre
  172. * Improvements by Andrew Rowls
  173. * Licensed under the Apache License v2.0
  174. * http://www.apache.org/licenses/LICENSE-2.0
  175. *
  176. */
  177. .datepicker {
  178. padding: 4px;
  179. -webkit-border-radius: 4px;
  180. -moz-border-radius: 4px;
  181. border-radius: 4px;
  182. direction: ltr;
  183. /*.dow {
  184. border-top: 1px solid #ddd !important;
  185. }*/
  186. }
  187. .datepicker-inline {
  188. width: 220px;
  189. }
  190. .datepicker.datepicker-rtl {
  191. direction: rtl;
  192. }
  193. .datepicker.datepicker-rtl table tr td span {
  194. float: right;
  195. }
  196. .datepicker-dropdown {
  197. top: 0;
  198. left: 0;
  199. }
  200. .datepicker-dropdown:before {
  201. content: '';
  202. display: inline-block;
  203. border-left: 7px solid transparent;
  204. border-right: 7px solid transparent;
  205. border-bottom: 7px solid #ccc;
  206. border-bottom-color: rgba(0, 0, 0, 0.2);
  207. position: absolute;
  208. top: -7px;
  209. left: 6px;
  210. }
  211. .datepicker-dropdown:after {
  212. content: '';
  213. display: inline-block;
  214. border-left: 6px solid transparent;
  215. border-right: 6px solid transparent;
  216. border-bottom: 6px solid #ffffff;
  217. position: absolute;
  218. top: -6px;
  219. left: 7px;
  220. }
  221. .datepicker > div {
  222. display: none;
  223. }
  224. .datepicker.days div.datepicker-days {
  225. display: block;
  226. }
  227. .datepicker.months div.datepicker-months {
  228. display: block;
  229. }
  230. .datepicker.years div.datepicker-years {
  231. display: block;
  232. }
  233. .datepicker table {
  234. margin: 0;
  235. }
  236. .datepicker td,
  237. .datepicker th {
  238. text-align: center;
  239. width: 20px;
  240. height: 20px;
  241. -webkit-border-radius: 4px;
  242. -moz-border-radius: 4px;
  243. border-radius: 4px;
  244. border: none;
  245. }
  246. .table-striped .datepicker table tr td,
  247. .table-striped .datepicker table tr th {
  248. background-color: transparent;
  249. }
  250. .datepicker table tr td.day:hover {
  251. background: #eeeeee;
  252. cursor: pointer;
  253. }
  254. .datepicker table tr td.old,
  255. .datepicker table tr td.new {
  256. color: #999999;
  257. }
  258. .datepicker table tr td.disabled,
  259. .datepicker table tr td.disabled:hover {
  260. background: none;
  261. color: #999999;
  262. cursor: default;
  263. }
  264. .datepicker table tr td.today,
  265. .datepicker table tr td.today:hover,
  266. .datepicker table tr td.today.disabled,
  267. .datepicker table tr td.today.disabled:hover {
  268. background-color: #fde19a;
  269. background-image: -moz-linear-gradient(top, #fdd49a, #fdf59a);
  270. background-image: -ms-linear-gradient(top, #fdd49a, #fdf59a);
  271. background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#fdd49a), to(#fdf59a));
  272. background-image: -webkit-linear-gradient(top, #fdd49a, #fdf59a);
  273. background-image: -o-linear-gradient(top, #fdd49a, #fdf59a);
  274. background-image: linear-gradient(top, #fdd49a, #fdf59a);
  275. background-repeat: repeat-x;
  276. filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fdd49a', endColorstr='#fdf59a', GradientType=0);
  277. border-color: #fdf59a #fdf59a #fbed50;
  278. border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
  279. filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);
  280. color: #000;
  281. }
  282. .datepicker table tr td.today:hover,
  283. .datepicker table tr td.today:hover:hover,
  284. .datepicker table tr td.today.disabled:hover,
  285. .datepicker table tr td.today.disabled:hover:hover,
  286. .datepicker table tr td.today:active,
  287. .datepicker table tr td.today:hover:active,
  288. .datepicker table tr td.today.disabled:active,
  289. .datepicker table tr td.today.disabled:hover:active,
  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.disabled,
  295. .datepicker table tr td.today:hover.disabled,
  296. .datepicker table tr td.today.disabled.disabled,
  297. .datepicker table tr td.today.disabled:hover.disabled,
  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. background-color: #fdf59a;
  303. }
  304. .datepicker table tr td.today:active,
  305. .datepicker table tr td.today:hover:active,
  306. .datepicker table tr td.today.disabled:active,
  307. .datepicker table tr td.today.disabled:hover:active,
  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. background-color: #fbf069 \9;
  313. }
  314. .datepicker table tr td.today:hover:hover {
  315. color: #000;
  316. }
  317. .datepicker table tr td.today.active:hover {
  318. color: #fff;
  319. }
  320. .datepicker table tr td.range,
  321. .datepicker table tr td.range:hover,
  322. .datepicker table tr td.range.disabled,
  323. .datepicker table tr td.range.disabled:hover {
  324. background: #eeeeee;
  325. -webkit-border-radius: 0;
  326. -moz-border-radius: 0;
  327. border-radius: 0;
  328. }
  329. .datepicker table tr td.range.today,
  330. .datepicker table tr td.range.today:hover,
  331. .datepicker table tr td.range.today.disabled,
  332. .datepicker table tr td.range.today.disabled:hover {
  333. background-color: #f3d17a;
  334. background-image: -moz-linear-gradient(top, #f3c17a, #f3e97a);
  335. background-image: -ms-linear-gradient(top, #f3c17a, #f3e97a);
  336. background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#f3c17a), to(#f3e97a));
  337. background-image: -webkit-linear-gradient(top, #f3c17a, #f3e97a);
  338. background-image: -o-linear-gradient(top, #f3c17a, #f3e97a);
  339. background-image: linear-gradient(top, #f3c17a, #f3e97a);
  340. background-repeat: repeat-x;
  341. filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#f3c17a', endColorstr='#f3e97a', GradientType=0);
  342. border-color: #f3e97a #f3e97a #edde34;
  343. border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
  344. filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);
  345. -webkit-border-radius: 0;
  346. -moz-border-radius: 0;
  347. border-radius: 0;
  348. }
  349. .datepicker table tr td.range.today:hover,
  350. .datepicker table tr td.range.today:hover:hover,
  351. .datepicker table tr td.range.today.disabled:hover,
  352. .datepicker table tr td.range.today.disabled:hover:hover,
  353. .datepicker table tr td.range.today:active,
  354. .datepicker table tr td.range.today:hover:active,
  355. .datepicker table tr td.range.today.disabled:active,
  356. .datepicker table tr td.range.today.disabled:hover:active,
  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.disabled,
  362. .datepicker table tr td.range.today:hover.disabled,
  363. .datepicker table tr td.range.today.disabled.disabled,
  364. .datepicker table tr td.range.today.disabled:hover.disabled,
  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. background-color: #f3e97a;
  370. }
  371. .datepicker table tr td.range.today:active,
  372. .datepicker table tr td.range.today:hover:active,
  373. .datepicker table tr td.range.today.disabled:active,
  374. .datepicker table tr td.range.today.disabled:hover:active,
  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. background-color: #efe24b \9;
  380. }
  381. .datepicker table tr td.selected,
  382. .datepicker table tr td.selected:hover,
  383. .datepicker table tr td.selected.disabled,
  384. .datepicker table tr td.selected.disabled:hover {
  385. background-color: #9e9e9e;
  386. background-image: -moz-linear-gradient(top, #b3b3b3, #808080);
  387. background-image: -ms-linear-gradient(top, #b3b3b3, #808080);
  388. background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#b3b3b3), to(#808080));
  389. background-image: -webkit-linear-gradient(top, #b3b3b3, #808080);
  390. background-image: -o-linear-gradient(top, #b3b3b3, #808080);
  391. background-image: linear-gradient(top, #b3b3b3, #808080);
  392. background-repeat: repeat-x;
  393. filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#b3b3b3', endColorstr='#808080', GradientType=0);
  394. border-color: #808080 #808080 #595959;
  395. border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
  396. filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);
  397. color: #fff;
  398. text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
  399. }
  400. .datepicker table tr td.selected:hover,
  401. .datepicker table tr td.selected:hover:hover,
  402. .datepicker table tr td.selected.disabled:hover,
  403. .datepicker table tr td.selected.disabled:hover:hover,
  404. .datepicker table tr td.selected:active,
  405. .datepicker table tr td.selected:hover:active,
  406. .datepicker table tr td.selected.disabled:active,
  407. .datepicker table tr td.selected.disabled:hover:active,
  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.disabled,
  413. .datepicker table tr td.selected:hover.disabled,
  414. .datepicker table tr td.selected.disabled.disabled,
  415. .datepicker table tr td.selected.disabled:hover.disabled,
  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. background-color: #808080;
  421. }
  422. .datepicker table tr td.selected:active,
  423. .datepicker table tr td.selected:hover:active,
  424. .datepicker table tr td.selected.disabled:active,
  425. .datepicker table tr td.selected.disabled:hover:active,
  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. background-color: #666666 \9;
  431. }
  432. .datepicker table tr td.active,
  433. .datepicker table tr td.active:hover,
  434. .datepicker table tr td.active.disabled,
  435. .datepicker table tr td.active.disabled:hover {
  436. background-color: #006dcc;
  437. background-image: -moz-linear-gradient(top, #0088cc, #0044cc);
  438. background-image: -ms-linear-gradient(top, #0088cc, #0044cc);
  439. background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#0088cc), to(#0044cc));
  440. background-image: -webkit-linear-gradient(top, #0088cc, #0044cc);
  441. background-image: -o-linear-gradient(top, #0088cc, #0044cc);
  442. background-image: linear-gradient(top, #0088cc, #0044cc);
  443. background-repeat: repeat-x;
  444. filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#0088cc', endColorstr='#0044cc', GradientType=0);
  445. border-color: #0044cc #0044cc #002a80;
  446. border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
  447. filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);
  448. color: #fff;
  449. text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
  450. }
  451. .datepicker table tr td.active:hover,
  452. .datepicker table tr td.active:hover:hover,
  453. .datepicker table tr td.active.disabled:hover,
  454. .datepicker table tr td.active.disabled:hover:hover,
  455. .datepicker table tr td.active:active,
  456. .datepicker table tr td.active:hover:active,
  457. .datepicker table tr td.active.disabled:active,
  458. .datepicker table tr td.active.disabled:hover:active,
  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.disabled,
  464. .datepicker table tr td.active:hover.disabled,
  465. .datepicker table tr td.active.disabled.disabled,
  466. .datepicker table tr td.active.disabled:hover.disabled,
  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. background-color: #0044cc;
  472. }
  473. .datepicker table tr td.active:active,
  474. .datepicker table tr td.active:hover:active,
  475. .datepicker table tr td.active.disabled:active,
  476. .datepicker table tr td.active.disabled:hover:active,
  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. background-color: #003399 \9;
  482. }
  483. .datepicker table tr td span {
  484. display: block;
  485. width: 23%;
  486. height: 54px;
  487. line-height: 54px;
  488. float: left;
  489. margin: 1%;
  490. cursor: pointer;
  491. -webkit-border-radius: 4px;
  492. -moz-border-radius: 4px;
  493. border-radius: 4px;
  494. }
  495. .datepicker table tr td span:hover {
  496. background: #eeeeee;
  497. }
  498. .datepicker table tr td span.disabled,
  499. .datepicker table tr td span.disabled:hover {
  500. background: none;
  501. color: #999999;
  502. cursor: default;
  503. }
  504. .datepicker table tr td span.active,
  505. .datepicker table tr td span.active:hover,
  506. .datepicker table tr td span.active.disabled,
  507. .datepicker table tr td span.active.disabled:hover {
  508. background-color: #006dcc;
  509. background-image: -moz-linear-gradient(top, #0088cc, #0044cc);
  510. background-image: -ms-linear-gradient(top, #0088cc, #0044cc);
  511. background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#0088cc), to(#0044cc));
  512. background-image: -webkit-linear-gradient(top, #0088cc, #0044cc);
  513. background-image: -o-linear-gradient(top, #0088cc, #0044cc);
  514. background-image: linear-gradient(top, #0088cc, #0044cc);
  515. background-repeat: repeat-x;
  516. filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#0088cc', endColorstr='#0044cc', GradientType=0);
  517. border-color: #0044cc #0044cc #002a80;
  518. border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
  519. filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);
  520. color: #fff;
  521. text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
  522. }
  523. .datepicker table tr td span.active:hover,
  524. .datepicker table tr td span.active:hover:hover,
  525. .datepicker table tr td span.active.disabled:hover,
  526. .datepicker table tr td span.active.disabled:hover:hover,
  527. .datepicker table tr td span.active:active,
  528. .datepicker table tr td span.active:hover:active,
  529. .datepicker table tr td span.active.disabled:active,
  530. .datepicker table tr td span.active.disabled:hover:active,
  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.disabled,
  536. .datepicker table tr td span.active:hover.disabled,
  537. .datepicker table tr td span.active.disabled.disabled,
  538. .datepicker table tr td span.active.disabled:hover.disabled,
  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. background-color: #0044cc;
  544. }
  545. .datepicker table tr td span.active:active,
  546. .datepicker table tr td span.active:hover:active,
  547. .datepicker table tr td span.active.disabled:active,
  548. .datepicker table tr td span.active.disabled:hover:active,
  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. background-color: #003399 \9;
  554. }
  555. .datepicker table tr td span.old,
  556. .datepicker table tr td span.new {
  557. color: #999999;
  558. }
  559. .datepicker th.datepicker-switch {
  560. width: 145px;
  561. }
  562. .datepicker thead tr:first-child th,
  563. .datepicker tfoot tr th {
  564. cursor: pointer;
  565. }
  566. .datepicker thead tr:first-child th:hover,
  567. .datepicker tfoot tr th:hover {
  568. background: #eeeeee;
  569. }
  570. .datepicker .cw {
  571. font-size: 10px;
  572. width: 12px;
  573. padding: 0 2px 0 5px;
  574. vertical-align: middle;
  575. }
  576. .datepicker thead tr:first-child th.cw {
  577. cursor: default;
  578. background-color: transparent;
  579. }
  580. .input-append.date .add-on i,
  581. .input-prepend.date .add-on i {
  582. display: block;
  583. cursor: pointer;
  584. width: 16px;
  585. height: 16px;
  586. }
  587. .input-daterange input {
  588. text-align: center;
  589. }
  590. .input-daterange input:first-child {
  591. -webkit-border-radius: 3px 0 0 3px;
  592. -moz-border-radius: 3px 0 0 3px;
  593. border-radius: 3px 0 0 3px;
  594. }
  595. .input-daterange input:last-child {
  596. -webkit-border-radius: 0 3px 3px 0;
  597. -moz-border-radius: 0 3px 3px 0;
  598. border-radius: 0 3px 3px 0;
  599. }
  600. .input-daterange .add-on {
  601. display: inline-block;
  602. width: auto;
  603. min-width: 16px;
  604. height: 18px;
  605. padding: 4px 5px;
  606. font-weight: normal;
  607. line-height: 18px;
  608. text-align: center;
  609. text-shadow: 0 1px 0 #ffffff;
  610. vertical-align: middle;
  611. background-color: #eeeeee;
  612. border: 1px solid #ccc;
  613. margin-left: -5px;
  614. margin-right: -5px;
  615. }