angular-bootstrap-calendar.css 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552
  1. [class*="cal-cell"] {
  2. float: left;
  3. margin-left: 0;
  4. min-height: 1px;
  5. }
  6. .cal-row-fluid {
  7. width: 100%;
  8. *zoom: 1;
  9. }
  10. .cal-row-fluid:before,
  11. .cal-row-fluid:after {
  12. display: table;
  13. content: "";
  14. line-height: 0;
  15. }
  16. .cal-row-fluid:after {
  17. clear: both;
  18. }
  19. .cal-row-fluid [class*="cal-cell"] {
  20. display: block;
  21. width: 100%;
  22. -webkit-box-sizing: border-box;
  23. -moz-box-sizing: border-box;
  24. box-sizing: border-box;
  25. float: left;
  26. margin-left: 0%;
  27. *margin-left: -0.05213764337851929%;
  28. }
  29. .cal-row-fluid [class*="cal-cell"]:first-child {
  30. margin-left: 0;
  31. }
  32. .cal-row-fluid .controls-row [class*="cal-cell"] + [class*="cal-cell"] {
  33. margin-left: 0%;
  34. }
  35. .cal-row-fluid .cal-cell7 {
  36. width: 100%;
  37. *width: 99.94669509594883%;
  38. }
  39. .cal-row-fluid .cal-cell6 {
  40. width: 85.71428571428571%;
  41. *width: 85.66098081023453%;
  42. }
  43. .cal-row-fluid .cal-cell5 {
  44. width: 71.42857142857142%;
  45. *width: 71.37526652452024%;
  46. }
  47. .cal-row-fluid .cal-cell4 {
  48. width: 57.14285714285714%;
  49. *width: 57.089552238805965%;
  50. }
  51. .cal-row-fluid .cal-cell3 {
  52. width: 42.857142857142854%;
  53. *width: 42.80383795309168%;
  54. }
  55. .cal-row-fluid .cal-cell2 {
  56. width: 28.57142857142857%;
  57. *width: 28.518123667377395%;
  58. }
  59. .cal-row-fluid .cal-cell1 {
  60. width: 14.285714285714285%;
  61. *width: 14.232409381663112%;
  62. }
  63. .cal-week-box .cal-offset7,
  64. .cal-row-fluid .cal-offset7,
  65. .cal-row-fluid .cal-offset7:first-child {
  66. margin-left: 100%;
  67. *margin-left: 99.89339019189765%;
  68. }
  69. .cal-week-box .cal-offset6,
  70. .cal-row-fluid .cal-offset6,
  71. .cal-row-fluid .cal-offset6:first-child {
  72. margin-left: 85.71428571428571%;
  73. *margin-left: 85.60767590618336%;
  74. }
  75. .cal-week-box .cal-offset5,
  76. .cal-row-fluid .cal-offset5,
  77. .cal-row-fluid .cal-offset5:first-child {
  78. margin-left: 71.42857142857142%;
  79. *margin-left: 71.32196162046907%;
  80. }
  81. .cal-week-box .cal-offset4,
  82. .cal-row-fluid .cal-offset4,
  83. .cal-row-fluid .cal-offset4:first-child {
  84. margin-left: 57.14285714285714%;
  85. *margin-left: 57.03624733475479%;
  86. }
  87. .cal-week-box .cal-offset3,
  88. .cal-row-fluid .cal-offset3,
  89. .cal-row-fluid .cal-offset3:first-child {
  90. margin-left: 42.857142857142854%;
  91. *margin-left: 42.750533049040506%;
  92. }
  93. .cal-week-box .cal-offset2,
  94. .cal-row-fluid .cal-offset2,
  95. .cal-row-fluid .cal-offset2:first-child {
  96. margin-left: 28.57142857142857%;
  97. *margin-left: 28.46481876332622%;
  98. }
  99. .cal-week-box .cal-offset1,
  100. .cal-row-fluid .cal-offset1,
  101. .cal-row-fluid .cal-offset1:first-child {
  102. margin-left: 14.285714285714285%;
  103. *margin-left: 14.17910447761194%;
  104. }
  105. .cal-row-fluid .cal-cell1 {
  106. width: 14.285714285714285%;
  107. *width: 14.233576642335766%;
  108. }
  109. [class*="cal-cell"].hide,
  110. .cal-row-fluid [class*="cal-cell"].hide {
  111. display: none;
  112. }
  113. [class*="cal-cell"].pull-right,
  114. .cal-row-fluid [class*="cal-cell"].pull-right {
  115. float: right;
  116. }
  117. .cal-row-head [class*="cal-cell"]:first-child,
  118. .cal-row-head [class*="cal-cell"] {
  119. min-height: auto;
  120. overflow: hidden;
  121. text-overflow: ellipsis;
  122. }
  123. .cal-events-num {
  124. margin-top: 20px;
  125. }
  126. .cal-month-day {
  127. position: relative;
  128. display: block;
  129. width: 100%;
  130. }
  131. .cal-month-day .cal-events-num {
  132. margin-left: 10px;
  133. margin-top: 18px;
  134. }
  135. #cal-week-box {
  136. position: absolute;
  137. width: 70px;
  138. left: -71px;
  139. top: -1px;
  140. padding: 8px 5px;
  141. cursor: pointer;
  142. }
  143. .cal-day-tick {
  144. position: absolute;
  145. right: 50%;
  146. bottom: -21px;
  147. padding: 0px 5px;
  148. cursor: pointer;
  149. z-index: 5;
  150. text-align: center;
  151. width: 26px;
  152. margin-right: -17px;
  153. }
  154. .cal-year-box #cal-day-tick {
  155. margin-right: -7px;
  156. }
  157. .cal-slide-box {
  158. position: relative;
  159. }
  160. .cal-slide-tick {
  161. position: absolute;
  162. width: 16px;
  163. margin-left: -7px;
  164. height: 9px;
  165. top: -1px;
  166. z-index: 1;
  167. }
  168. .cal-slide-tick.tick-month1 {
  169. left: 12.5%;
  170. }
  171. .cal-slide-tick.tick-month2 {
  172. left: 37.5%;
  173. }
  174. .cal-slide-tick.tick-month3 {
  175. left: 62.5%;
  176. }
  177. .cal-slide-tick.tick-month4 {
  178. left: 87.5%;
  179. }
  180. .cal-slide-tick.tick-day1 {
  181. left: 7.14285714285715%;
  182. }
  183. .cal-slide-tick.tick-day2 {
  184. left: 21.42857142857143%;
  185. }
  186. .cal-slide-tick.tick-day3 {
  187. left: 35.71428571428572%;
  188. }
  189. .cal-slide-tick.tick-day4 {
  190. left: 50%;
  191. }
  192. .cal-slide-tick.tick-day5 {
  193. left: 64.2857142857143%;
  194. }
  195. .cal-slide-tick.tick-day6 {
  196. left: 78.57142857142859%;
  197. }
  198. .cal-slide-tick.tick-day7 {
  199. left: 92.85714285714285%;
  200. }
  201. .events-list {
  202. position: absolute;
  203. bottom: 0;
  204. left: 0;
  205. overflow: hidden;
  206. }
  207. .cal-slide-content ul.unstyled {
  208. margin-bottom: 0;
  209. }
  210. .cal-week-box {
  211. position: relative;
  212. }
  213. .cal-week-box [data-event-class] {
  214. white-space: nowrap;
  215. height: 30px;
  216. margin: 1px 1px;
  217. line-height: 30px;
  218. text-overflow: ellipsis;
  219. overflow: hidden;
  220. padding-left: 10px;
  221. }
  222. .cal-week-box .cal-column {
  223. position: absolute;
  224. height: 100%;
  225. z-index: -1;
  226. }
  227. .cal-week-box .arrow-before,
  228. .cal-week-box .arrow-after {
  229. position: relative;
  230. }
  231. .cal-week-box .arrow-after:after {
  232. content: "";
  233. position: absolute;
  234. top: 0px;
  235. width: 0;
  236. height: 0;
  237. right: 0;
  238. border-top: 15px solid #ffffff;
  239. border-left: 8px solid;
  240. border-bottom: 15px solid #FFFFFF;
  241. }
  242. .cal-week-box .arrow-before:before {
  243. content: "";
  244. position: absolute;
  245. top: 0px;
  246. width: 0;
  247. height: 0;
  248. left: 1px;
  249. border-top: 15px solid transparent;
  250. border-left: 8px solid #FFFFFF;
  251. border-bottom: 15px solid transparent;
  252. }
  253. .cal-day-box {
  254. text-wrap: none;
  255. }
  256. .cal-day-box .cal-day-hour-part {
  257. height: 30px;
  258. box-sizing: border-box;
  259. -moz-box-sizing: border-box;
  260. -webkit-box-sizing: border-box;
  261. border-bottom: thin dashed #e1e1e1;
  262. }
  263. .cal-day-box .cal-day-hour .day-highlight {
  264. height: 30px;
  265. }
  266. .cal-day-box .cal-hours {
  267. font-weight: bolder;
  268. }
  269. .cal-day-box .cal-day-hour:nth-child(odd) {
  270. background-color: #fafafa;
  271. }
  272. .cal-day-box .cal-day-panel {
  273. position: relative;
  274. padding-left: 60px;
  275. }
  276. .cal-day-box .cal-day-panel-hour {
  277. position: absolute;
  278. width: 100%;
  279. margin-left: -60px;
  280. }
  281. .cal-day-box .day-event {
  282. position: absolute;
  283. width: 150px;
  284. overflow: hidden;
  285. }
  286. .cal-day-box .day-event a {
  287. font-size: 12px;
  288. }
  289. .cal-day-box .day-highlight {
  290. padding-top: 2px;
  291. padding-left: 8px;
  292. padding-right: 8px;
  293. box-sizing: border-box;
  294. -moz-box-sizing: border-box;
  295. -webkit-box-sizing: border-box;
  296. border: 1px solid #c3c3c3;
  297. margin: 1px 1px;
  298. overflow: hidden;
  299. text-overflow: ellipsis;
  300. }
  301. .cal-day-box .day-highlight.dh-event-important {
  302. border: 1px solid #ad2121;
  303. }
  304. .cal-day-box .day-highlight.dh-event-warning {
  305. border: 1px solid #e3bc08;
  306. }
  307. .cal-day-box .day-highlight.dh-event-info {
  308. border: 1px solid #1e90ff;
  309. }
  310. .cal-day-box .day-highlight.dh-event-inverse {
  311. border: 1px solid #1b1b1b;
  312. }
  313. .cal-day-box .day-highlight.dh-event-success {
  314. border: 1px solid #006400;
  315. }
  316. .cal-day-box .day-highlight.dh-event-special {
  317. background-color: #ffe6ff;
  318. border: 1px solid #800080;
  319. }
  320. .event {
  321. display: block;
  322. background-color: #c3c3c3;
  323. width: 12px;
  324. height: 12px;
  325. margin-right: 2px;
  326. margin-bottom: 2px;
  327. -webkit-box-shadow: inset 0px 0px 5px 0px rgba(0, 0, 0, 0.4);
  328. box-shadow: inset 0px 0px 5px 0px rgba(0, 0, 0, 0.4);
  329. border-radius: 8px;
  330. border: 1px solid #ffffff;
  331. }
  332. .event-block {
  333. display: block;
  334. background-color: #c3c3c3;
  335. width: 20px;
  336. height: 100%;
  337. }
  338. .cal-event-list .event.pull-left {
  339. margin-top: 3px;
  340. }
  341. .event-important {
  342. background-color: #ad2121;
  343. }
  344. .event-info {
  345. background-color: #1e90ff;
  346. }
  347. .event-warning {
  348. background-color: #e3bc08;
  349. }
  350. .event-inverse {
  351. background-color: #1b1b1b;
  352. }
  353. .event-success {
  354. background-color: #006400;
  355. }
  356. .event-special {
  357. background-color: #800080;
  358. }
  359. .day-highlight:hover,
  360. .day-highlight {
  361. background-color: #dddddd;
  362. }
  363. .day-highlight.dh-event-important:hover,
  364. .day-highlight.dh-event-important {
  365. background-color: #fae3e3;
  366. }
  367. .day-highlight.dh-event-warning:hover,
  368. .day-highlight.dh-event-warning {
  369. background-color: #fdf1ba;
  370. }
  371. .day-highlight.dh-event-info:hover,
  372. .day-highlight.dh-event-info {
  373. background-color: #d1e8ff;
  374. }
  375. .day-highlight.dh-event-inverse:hover,
  376. .day-highlight.dh-event-inverse {
  377. background-color: #c1c1c1;
  378. }
  379. .day-highlight.dh-event-success:hover,
  380. .day-highlight.dh-event-success {
  381. background-color: #caffca;
  382. }
  383. .day-highlight.dh-event-special:hover,
  384. .day-highlight.dh-event-special {
  385. background-color: #ffe6ff;
  386. }
  387. .cal-row-head [class*="cal-cell"]:first-child,
  388. .cal-row-head [class*="cal-cell"] {
  389. font-weight: bolder;
  390. text-align: center;
  391. border: 0px solid;
  392. padding: 5px 0;
  393. }
  394. .cal-row-head [class*="cal-cell"] small {
  395. font-weight: normal;
  396. }
  397. .cal-year-box .row:hover,
  398. .cal-row-fluid:hover {
  399. background-color: #fafafa;
  400. }
  401. .cal-month-day {
  402. height: 100px;
  403. }
  404. [class*="cal-cell"]:hover, .cell-focus {
  405. background-color: #ededed;
  406. }
  407. .cal-year-box [class*="span"],
  408. .cal-month-box [class*="cal-cell"] {
  409. min-height: 100px;
  410. border-right: 1px solid #e1e1e1;
  411. position: relative;
  412. }
  413. .cal-year-box [class*="span"] {
  414. min-height: 60px;
  415. }
  416. .cal-year-box .row [class*="col-"]:last-child,
  417. .cal-month-box .cal-row [class*="cal-cell"]:last-child {
  418. border-right: 0px;
  419. }
  420. .cal-year-box .row,
  421. .cal-month-box .cal-row-fluid {
  422. border-bottom: 1px solid #e1e1e1;
  423. margin-left: 0px;
  424. margin-right: 0px;
  425. }
  426. .cal-year-box .row:last-child,
  427. .cal-month-box .cal-row-fluid:last-child {
  428. border-bottom: 0px;
  429. }
  430. .cal-month-box,
  431. .cal-year-box,
  432. .cal-week-box {
  433. border-top: 1px solid #e1e1e1;
  434. border-bottom: 1px solid #e1e1e1;
  435. border-right: 1px solid #e1e1e1;
  436. border-left: 1px solid #e1e1e1;
  437. border-radius: 2px;
  438. }
  439. .cal-month-box {
  440. border-right: 0px;
  441. border-bottom: 0px;
  442. }
  443. span[data-cal-date] {
  444. font-size: 1.2em;
  445. font-weight: normal;
  446. opacity: 0.5;
  447. transition: all 0.3s ease-in-out;
  448. -webkit-transition: all 0.1s ease-in-out;
  449. -moz-transition: all 0.1s ease-in-out;
  450. -ms-transition: all 0.1s ease-in-out;
  451. -o-transition: all 0.1s ease-in-out;
  452. margin-top: 15px;
  453. margin-right: 15px;
  454. }
  455. span[data-cal-date]:hover {
  456. opacity: 1;
  457. }
  458. .cal-day-outmonth span[data-cal-date] {
  459. opacity: 0.1;
  460. cursor: default;
  461. }
  462. .cal-day-today {
  463. background-color: #e8fde7;
  464. }
  465. .cal-day-today span[data-cal-date] {
  466. color: darkgreen;
  467. }
  468. .cal-month-box .cal-day-today span[data-cal-date] {
  469. font-size: 1.9em;
  470. }
  471. .cal-day-holiday span[data-cal-date] {
  472. color: #800080;
  473. }
  474. .cal-day-weekend span[data-cal-date] {
  475. color: darkred;
  476. }
  477. #cal-week-box {
  478. border: 1px solid #e1e1e1;
  479. border-right: 0px;
  480. border-radius: 5px 0 0 5px;
  481. background-color: #fafafa;
  482. text-align: right;
  483. }
  484. .cal-week-box .cal-row-head {
  485. border-bottom: 1px solid #e1e1e1;
  486. }
  487. .cal-day-tick {
  488. border: 1px solid #e1e1e1;
  489. border-top: 0px solid;
  490. border-radius: 0 0 5px 5px;
  491. background-color: #ededed;
  492. text-align: center;
  493. }
  494. .cal-day-tick .fa {
  495. display: none;
  496. }
  497. .cal-slide-box {
  498. border-top: 0px solid #8c8c8c;
  499. }
  500. .cal-slide-content {
  501. padding: 20px;
  502. color: #ffffff;
  503. background-color: #555555;
  504. -webkit-box-shadow: inset 0px 0px 15px 0px rgba(0, 0, 0, 0.5);
  505. box-shadow: inset 0px 0px 15px 0px rgba(0, 0, 0, 0.5);
  506. }
  507. .cal-slide-content a.event-item {
  508. color: #ffffff;
  509. font-weight: normal;
  510. }
  511. a.event-item-edit, a.event-item-delete {
  512. padding-left: 5px;
  513. }
  514. .cal-year-box .cal-slide-content a.event-item, .cal-year-box a.event-item-edit, .cal-year-box a.event-item-delete {
  515. position: relative;
  516. top: -3px;
  517. }
  518. .events-list {
  519. max-height: 47px;
  520. padding-left: 5px;
  521. }
  522. .cal-column {
  523. border-left: 1px solid #e1e1e1;
  524. }
  525. a.cal-event-week {
  526. text-decoration: none;
  527. color: #151515;
  528. }
  529. .badge-important {
  530. background-color: #b94a48;
  531. }
  532. .pointer {
  533. cursor:pointer;
  534. }
  535. .cal-year-box:last-child {
  536. border-bottom: 0px;
  537. }
  538. @media (max-width: 991px) {
  539. .cal-year-box [class*="span"]:nth-child(2) {
  540. border-right: 0px;
  541. }
  542. .cal-year-box [class*="span"]:nth-child(1), .cal-year-box [class*="span"]:nth-child(2) {
  543. border-bottom: 1px solid #e1e1e1;
  544. }
  545. }