sonata_admin_css_bootstrap-editable_9.css 21 KB

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