main.css 6.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315
  1. /** DASHBOARD **/
  2. .module-index body{
  3. background-color: #f5f5f5;
  4. }
  5. /* Conteneur principal du plugin dashboard */
  6. .dashboard {
  7. }
  8. .dashboard-widget-log,.dashboard-widget-log li{
  9. list-style-type: none;
  10. margin: 0;
  11. padding: 5px;
  12. border-bottom: 1px solid #f1f1f1;
  13. }
  14. .dashboard-widget-log{
  15. padding:0 15px 15px 15px;
  16. }
  17. .dashboard-widget-log li {
  18. font-size: 11px;
  19. }
  20. .dashboard-widget-log li >h2{
  21. font-size: 14px;
  22. margin-top: 15px;
  23. padding: 3px 0 3px 0;
  24. border-bottom: 2px solid #cecece;
  25. }
  26. /** DASHBOARD **/
  27. .widget[data-mandatory] {
  28. border-left: 0px;
  29. }
  30. .widget .readonly-veil{
  31. width:100%;
  32. height:100%;
  33. position:absolute;
  34. top:0;
  35. left:0;
  36. opacity: 0.5;
  37. background-color: #ffffff;
  38. border-radius: 10px;
  39. z-index: 100;
  40. }
  41. .widget[data-mandatory="1"] .widget_resize,.widget[data-mandatory="1"] .widget_header{
  42. cursor: default;
  43. }
  44. .widget[data-mandatory="1"] .widget_options{
  45. display: none;
  46. }
  47. .dashboard-container.readonly .dashboard-widget-menu, .dashboard-container.readonly .widget_options,.dashboard-container.readonly .widget_resize{
  48. display: none;
  49. }
  50. .dashboard-container.readonly .widget_header{
  51. cursor:default;
  52. }
  53. #dashboardForm #icon{
  54. font-family:"Font Awesome 5 Free";
  55. }
  56. #widget-list{
  57. width: 100%;
  58. display: block;
  59. overflow-y: auto;
  60. padding: 5px;
  61. }
  62. #dashboard{
  63. list-style-type:none;
  64. margin:0;
  65. padding:0;
  66. }
  67. #dashboard > li{
  68. float:left;
  69. }
  70. #dashboard-view{
  71. width: 50px;
  72. background-color: #343a40;
  73. list-style-type: none;
  74. color: #505050;
  75. margin: 0;
  76. padding: 0;
  77. min-height: 100%;
  78. position: fixed;
  79. left: 0;
  80. top: 50px;
  81. border-top: 4px solid #454a4e;
  82. }
  83. #dashboard-view li{
  84. cursor:pointer;
  85. text-align: center;
  86. font-size: 1.3em;
  87. transition:background 0.2s ease-in-out;
  88. }
  89. #dashboard-view li.dashboard-view-title{
  90. color: #cecece;
  91. font-size: 11px;
  92. cursor: default;
  93. background-color: #475058;
  94. font-weight: bold;
  95. }
  96. #dashboard-view li.dashboard-item{
  97. width: 50px;
  98. position: relative;
  99. padding: 10px;
  100. transition: padding-bottom 0.2s ease-in-out;
  101. }
  102. #dashboard-view li.dashboard-item > div{
  103. padding-top: 0.15rem;
  104. display: flex;
  105. width: 30px;
  106. height: 30px;
  107. z-index: 10;
  108. background-color: #fafafa;
  109. border-radius: 100%;
  110. text-align: center;
  111. border: 2px solid #fafafa;
  112. transition: all 0.2s ease-in-out;
  113. }
  114. #dashboard-view li.dashboard-item i {
  115. margin: auto;
  116. font-size: 0.7em;
  117. transition: all 0.2s ease-in-out;
  118. }
  119. #dashboard-view li.dashboard-item:hover{
  120. padding-bottom: 20px;
  121. }
  122. #dashboard-view li.dashboard-item span {
  123. transform: translateY(-25px);
  124. font-size: 9px;
  125. position: absolute;
  126. left: 0;
  127. bottom: 5px;
  128. color: #808a94;
  129. text-transform: uppercase;
  130. display: block;
  131. width: 100%;
  132. text-align: center;
  133. font-weight: bold;
  134. overflow: hidden;
  135. text-overflow: ellipsis;
  136. opacity: 0;
  137. z-index: 1;
  138. transition: all 0.2s ease-in-out;
  139. }
  140. #dashboard-view li.dashboard-item:hover span {
  141. transform: translateX(0px);
  142. opacity: 1;
  143. }
  144. #dashboard-view li:hover{
  145. background-color: #475058;
  146. transition:
  147. background-color 0.2s ease-in-out,
  148. padding-bottom 0.2s ease-in-out;
  149. }
  150. #dashboard-view li[data-selected] > div{
  151. background-color: #1d1d1d;
  152. border-color: #1d1d1d;
  153. border-top: 2px solid #dc3545;
  154. color: #fafafa;
  155. }
  156. .widget_placeholder{
  157. display: block;
  158. width: auto;
  159. background: rgba(0,0,0,0.1);
  160. height: 335px;
  161. margin-top: 20px;
  162. border-radius: 10px;
  163. border: 2px dashed #cecece;
  164. transition: all 0.2s linear 0s;
  165. }
  166. .widget{
  167. transition: width 0.2s linear,height 0.2s linear,opacity 0.2s linear;
  168. /*display: table;*/
  169. padding:20px;
  170. transition: transform 0.2s ease-in-out,max-width 0.2s ease-in-out;
  171. }
  172. .widget.ui-sortable-helper{
  173. transform: scale(1.05);
  174. }
  175. .widget_window{
  176. border-radius: 10px;
  177. box-shadow: 0 0 20px 0 #cecece!important;
  178. padding: 0;
  179. text-align: left;
  180. transition: opacity 0.2s linear 0s;
  181. z-index: 100;
  182. position: relative;
  183. }
  184. .widget_resize{
  185. position: absolute;
  186. height: 100%;
  187. cursor: ew-resize;
  188. width:5px;
  189. top:0px;
  190. right:0px;
  191. z-index: 100;
  192. }
  193. .widget_header{
  194. background-color: #50597b;
  195. padding: 5px;
  196. border-radius: 10px 10px 0 0;
  197. box-sizing: border-box;
  198. color: #ffffff;
  199. cursor: move;
  200. transition:background 0.2s linear;
  201. }
  202. .widget_header > i {
  203. display: inline-block;
  204. }
  205. .widget_options{
  206. float: right;
  207. margin: -5px 0 0 10px;
  208. padding: 0;
  209. }
  210. .widget_options li{
  211. cursor: pointer;
  212. display: inline-block;
  213. opacity: 0.5;
  214. padding: 5px;
  215. transition: opacity 0.2s linear 0s;
  216. vertical-align: top;
  217. }
  218. .widget_options li:hover{
  219. opacity: 1;
  220. }
  221. .widget_content{
  222. background-color: #ffffff;
  223. border-top:0;
  224. overflow:auto;
  225. border-radius: 0 0 10px 10px;
  226. width:100%;
  227. height:300px;
  228. padding: 0px;
  229. }
  230. .widget_content::-webkit-scrollbar {
  231. width: 6px;
  232. height: 6px;
  233. }
  234. .widget_content::-webkit-scrollbar-button {
  235. width: 0px;
  236. height: 0px;
  237. }
  238. .widget_content::-webkit-scrollbar-thumb {
  239. background: #cecece;
  240. border: 0px none #ffffff;
  241. border-radius: 50px;
  242. }
  243. .widget_content::-webkit-scrollbar-thumb:hover {
  244. background: #707070;
  245. }
  246. .widget_content::-webkit-scrollbar-thumb:active {
  247. background: #949494;
  248. }
  249. .widget_content::-webkit-scrollbar-track {
  250. background: transparent;
  251. border: 0px none #ffffff;
  252. border-radius: 50px;
  253. }
  254. .widget_content::-webkit-scrollbar-track:hover {
  255. background: #d4d4d4;
  256. }
  257. .widget_content::-webkit-scrollbar-track:active {
  258. background: #d3d3d3;
  259. }
  260. .widget_content::-webkit-scrollbar-corner {
  261. background: transparent;
  262. }
  263. .dashboard-container{
  264. padding: 10px 0 0 0;
  265. }
  266. .dashboard-widget-menu{
  267. margin: 0 0 0 15px;
  268. padding: 0;
  269. }
  270. .dashboard-widget-menu li{
  271. list-style-type: none;
  272. color:#cecece;
  273. display: inline-block;
  274. cursor: pointer;
  275. padding:5px;
  276. }
  277. .dashboard-widget-menu li {
  278. opacity:0.5;
  279. display: inline-block;
  280. transition : all 0.2s ease-in-out;
  281. }
  282. .dashboard-widget-menu li:hover {
  283. opacity:1;
  284. }
  285. .widgetDescription{
  286. }
  287. .widgetColor{
  288. display: inline-block;
  289. vertical-align: top;
  290. padding-right: 5px;
  291. color:#333333;
  292. }
  293. .widgetColor small{
  294. width:15px;
  295. height:15px;
  296. border-radius: 100%;
  297. display: inline-block;
  298. margin-right: 5px;
  299. margin-top: 4px;
  300. vertical-align: top;
  301. }
  302. @media only screen and (max-width: 500px) {
  303. .widget_dropper{
  304. display: none;
  305. }
  306. .widget,.widget_window{
  307. display: block;
  308. width:100%;
  309. }
  310. }