main.css 8.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444
  1. /** PLANNING **/
  2. /* Conteneur principal du plugin planning */
  3. .planning {
  4. }
  5. #planning{
  6. width:80%;
  7. }
  8. #planning .fc-event{
  9. padding: 3px;
  10. transition: opacity 0.2s ease-in-out ;
  11. }
  12. #planning.event-selected-mode .fc-event{
  13. opacity: 0.5;
  14. }
  15. #planning.event-selected-mode .fc-event.event-selected{
  16. opacity: 1;
  17. outline: 1px dashed rgba(50, 50, 50, 0.15);
  18. }
  19. #planning-event-form .event-resources{
  20. list-style-type: none;
  21. padding:0;
  22. margin:0;
  23. }
  24. #planning td.fc-day.fc-sat,#planning td.fc-day.fc-sun{
  25. background-color:#f3f3f3;
  26. }
  27. #planning .fc-header-toolbar .fc-center h2{
  28. font-size: 20px;
  29. }
  30. .planning-agenda-block{
  31. position: absolute;
  32. top:10px;
  33. right:40px;
  34. font-weight: bold;
  35. color:#686882
  36. }
  37. .planning-agenda-block span{
  38. margin-right: -3px;
  39. text-transform: uppercase;
  40. font-size: 11px;
  41. font-weight: normal;
  42. }
  43. .planning-agenda-block select{
  44. color:#2a99ff;
  45. cursor: pointer;
  46. font-weight: bold;
  47. display: inline-block;
  48. background: transparent;
  49. border: none;
  50. }
  51. #planning-calendars .ui-datepicker select.ui-datepicker-month,
  52. #planning-calendars .ui-datepicker select.ui-datepicker-year,
  53. #planning-calendars .ui-datepicker select.ui-datepicker-month:focus,
  54. #planning-calendars .ui-datepicker select.ui-datepicker-year:focus{
  55. border: 0;
  56. outline: 0;
  57. }
  58. /*#plannings .planning-owner{
  59. display:none;
  60. }*/
  61. #plannings > li{
  62. font-size: 12px;
  63. max-width: 300px;
  64. }
  65. #plannings > li > small{
  66. display: block;
  67. }
  68. .planning-list .planning-option-btn{
  69. color:#cecece;
  70. cursor: pointer;
  71. opacity: 0;
  72. float:right;
  73. transform: scale(0.7);
  74. transition: all 0.2s ease-in-out;
  75. }
  76. .planning-list li:hover .planning-option-btn{
  77. transform: scale(1);
  78. opacity: 1;
  79. }
  80. #planning-share-form .data-type-user{
  81. height:52px;
  82. }
  83. .planning-list .planning-box{
  84. height: 21px;
  85. padding: 0px;
  86. vertical-align: top;
  87. border-radius: 5px;
  88. display: inline-block;
  89. }
  90. .planning-list .planning-box .check-component{
  91. width: 15px;
  92. height: 15px;
  93. margin: 3px;
  94. border: 0;
  95. }
  96. .planning-list .planning-box .check-component .box{
  97. border-radius: 3px;
  98. }
  99. .planning-list .planning-box .check-component input:checked + .box{
  100. background: #ffffff;
  101. border-radius: 3px;
  102. }
  103. @keyframes pulse {
  104. 0% { transform:scale(1); }
  105. 50% { transform:scale(1.05); }
  106. 100% { transform:scale(1); }
  107. }
  108. .planning-view{
  109. display: flex;
  110. }
  111. #planning-calendars h4{
  112. font-weight: bold;
  113. text-transform: uppercase;
  114. font-size: 14px;
  115. color: #4d4f50;
  116. margin-top: 10px;
  117. }
  118. #planning-calendars{
  119. padding:0 15px 0 0;
  120. }
  121. #planning-datepicker .ui-state-default,
  122. #planning-datepicker .ui-widget-content .ui-state-default,
  123. #planning-datepicker .ui-widget-header .ui-state-default{
  124. border: 0;
  125. background: transparent;
  126. font-weight: normal;
  127. color: #505a65;
  128. text-align: center;
  129. }
  130. #planning-datepicker .ui-datepicker {
  131. border: 0!important;
  132. }
  133. #planning-datepicker .ui-datepicker table {
  134. width: 100%;
  135. font-size: .7em;
  136. }
  137. #planning-datepicker .ui-datepicker-current-day {
  138. text-align: center;
  139. }
  140. #planning-datepicker .ui-datepicker-current-day a{
  141. border-radius: 100%;
  142. width:20px;
  143. display: inline-block;
  144. height:20px;
  145. }
  146. #planning-datepicker .ui-datepicker-current-day a.ui-state-active{
  147. color: #185abc;
  148. background-color: #d2e3fc;
  149. }
  150. #planning-datepicker .ui-widget-header{
  151. border: 0;
  152. background: transparent;
  153. font-weight: normal;
  154. }
  155. #planning-calendars ul{
  156. padding: 0;
  157. margin:0;
  158. list-style-type: none;
  159. }
  160. #planning-calendars ul label{
  161. cursor:pointer;
  162. }
  163. #planning .fc-toolbar.fc-header-toolbar{
  164. margin-bottom:0.2em;
  165. }
  166. /* formulaire d'édition de planning */
  167. .planning .planning-form {
  168. }
  169. .fc-event-container .fc-icon{
  170. opacity: 0.8;
  171. position: absolute;
  172. right: 3px;
  173. top: 3px;
  174. }
  175. .fc-event-container .fc-icon i{
  176. font-size: 10px;
  177. }
  178. #planning-form {
  179. }
  180. .event-group-option,.event-group-option li{
  181. list-style-type: none;
  182. margin:0;
  183. padding:0;
  184. }
  185. .event-group-option li{
  186. background-color: #4aa1ff;
  187. color:#ffffff;
  188. width:160px;
  189. height:160px;
  190. padding:15px;
  191. box-sizing: border-box;
  192. text-align: center;
  193. display: inline-block;
  194. vertical-align: top;
  195. cursor: pointer;
  196. margin:10px;
  197. }
  198. .event-group-option li .text-muted {
  199. color: #ededed!important;
  200. display: block;
  201. margin-top: 10px;
  202. }
  203. .event-group-option li i{
  204. display:block;
  205. font-size: 40px;
  206. }
  207. .event-group-option li:nth-child(1){
  208. background-color: #dc3545;
  209. }
  210. #planning_event_types tbody tr{
  211. cursor: move;
  212. }
  213. .planning-line{
  214. position: relative;
  215. }
  216. .planning-type-options{
  217. position:absolute;
  218. top:5px;
  219. right:5px;
  220. }
  221. .planning-type-chip{
  222. vertical-align: baseline;
  223. display: inline-block;
  224. font-size: 12px;
  225. text-align: center;
  226. padding-top: 1px;
  227. width: 20px;
  228. height: 20px;
  229. border-radius: 100%;
  230. }
  231. .planning-event-panel.event-readonly .btn-save{
  232. display: none;
  233. }
  234. .planning-event-panel .startTime:after{
  235. top: 4px;
  236. position: absolute;
  237. font-weight: 600;
  238. content: '\f054';
  239. color: #c3c3c3;
  240. font-family: "Font Awesome 5 Free";
  241. right: 5px;
  242. }
  243. .planning-event-panel{
  244. position: absolute;
  245. right:0px;
  246. top:500px;
  247. min-height:350px;
  248. overflow-y: auto;
  249. overflow-x: hidden;
  250. background-color: #fefefe;
  251. color:#576069;
  252. border-radius:3px;
  253. padding:0;
  254. width:700px;
  255. box-shadow: 1px 1px 35px rgba(0,0,0,0.3);
  256. z-index: 101;
  257. padding-bottom: 65px;
  258. transition: transform 0.2s ease-in-out, opacity 0.2s ease-in-out;
  259. }
  260. .planning-event-panel-head{
  261. background-color: #f1f3f4;
  262. cursor: move;
  263. padding:15px;
  264. }
  265. .planning-event-panel-footer{
  266. position: absolute;
  267. padding: 15px;
  268. text-align: right;
  269. border-top: 1px solid #e6e6e6;
  270. bottom: 0;
  271. height: 65px;
  272. width: 100%;
  273. }
  274. .planning-event-panel-body{
  275. padding:15px;
  276. }
  277. .planning-event-panel .input-group-append{
  278. z-index:inherit;
  279. }
  280. #planning-event-form > .row{
  281. margin-top: 10px;
  282. }
  283. .planning-event-panel h1{
  284. text-transform: uppercase;
  285. font-size: 14px;
  286. margin: 0;
  287. font-weight: bold;
  288. }
  289. .planning-event-panel.fold{
  290. transform: translateX(100px);
  291. opacity: 0;
  292. }
  293. .planning-types{
  294. list-style-type: none;
  295. margin:0;
  296. padding:0;
  297. }
  298. .planning-types li{
  299. list-style-type: none;
  300. margin:0;
  301. padding:15px;
  302. box-shadow: 0 1px 2px 1px rgba(0,0,0,0.1);
  303. background-color: #ffffff;
  304. margin-bottom: 5px;
  305. }
  306. .planning-type-handler{
  307. cursor: move;
  308. }
  309. li.planning-line-child{
  310. margin-left: 35px;
  311. }
  312. .planning-item-placeholder{
  313. height: 40px;
  314. line-height: 1.2em;
  315. border:2px dashed #cecece;
  316. display: block;
  317. }
  318. /* fullcalendar */
  319. #planning .fc-button{
  320. padding:3px 5px;
  321. font-size: 14px;
  322. }
  323. #planning .fc-icon{
  324. line-height: 0.9;
  325. }
  326. .fc-state-default {
  327. border: 1px solid;
  328. border-top-color: currentcolor;
  329. border-right-color: currentcolor;
  330. border-bottom-color: currentcolor;
  331. border-left-color: currentcolor;
  332. background-color: #f5f5f5;
  333. background-image: none;
  334. background-repeat: repeat-x;
  335. border-color: #e6e6e6 #e6e6e6 #bfbfbf;
  336. border-color: rgba(0,0,0,.1) rgba(0,0,0,.1) rgba(0,0,0,.25);
  337. color: #333;
  338. text-shadow: none;
  339. box-shadow: none;
  340. }
  341. .fc-state-active, .fc-state-down {
  342. background-color: #ccc;
  343. background-image: none;
  344. box-shadow: none;
  345. }
  346. .fc-event{
  347. cursor:pointer;
  348. }
  349. .planning-page[data-event-editable="0"] .btn-save-event{
  350. display: none;
  351. }
  352. .planning-page[data-planning-share="0"] .planning-share-block,
  353. .planning-page[data-planning-share="0"] .shared-plannings-block{
  354. display: none;
  355. }
  356. /* responsive */
  357. @media screen and (max-width: 640px) {
  358. .planning-event-panel{
  359. position: fixed;
  360. top: 0!important;
  361. left: 0!important;
  362. width: 100%!important;
  363. }
  364. .planning-view{
  365. display: block;
  366. }
  367. #planning .fc .fc-toolbar,#planning .fc-header-toolbar{
  368. display: block;
  369. }
  370. #planning .fc-toolbar-chunk{
  371. width: 100%;
  372. margin-bottom: 10px;
  373. text-align: center;
  374. }
  375. #planning .fc-daygrid-event-dot{
  376. display: none;
  377. }
  378. #planning .fc-daygrid-event{
  379. border-left:1px!important;
  380. }
  381. }