main.css 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218
  1. /** DASHBOARD **/
  2. /* Conteneur principal du plugin dashboard */
  3. .dashboard {
  4. }
  5. /**
  6. ** DASHBOARD
  7. **/
  8. #dashboardForm #icon{
  9. font-family:"Font Awesome 5 Free";
  10. }
  11. #widgetList{
  12. width:100%;
  13. display: block;
  14. margin-top: 10px;
  15. }
  16. #dashboard{
  17. list-style-type:none;
  18. margin:0;
  19. padding:0;
  20. }
  21. #dashboard > li{
  22. float:left;
  23. }
  24. #dashboardView{
  25. width: 70px;
  26. background-color: #343a40;
  27. list-style-type: none;
  28. color: #fafafa;
  29. margin: 0;
  30. padding: 0;
  31. min-height: 100%;
  32. position: fixed;
  33. left: 0;
  34. top: 50px;
  35. border-top: 4px solid #454a4e;
  36. }
  37. #dashboardView li{
  38. cursor:pointer;
  39. text-align: center;
  40. font-size: 1.3em;
  41. transition:background 0.2s ease-in-out;
  42. }
  43. #dashboardView li.dashboardView-title{
  44. color: #cecece;
  45. font-size: 11px;
  46. cursor: default;
  47. background-color: #475058;
  48. font-weight: bold;
  49. }
  50. #dashboardView li.dashboard-item{
  51. position:relative;
  52. padding:10px;
  53. transition: padding 0.2s ease-in-out;
  54. }
  55. #dashboardView li.dashboard-item > div{
  56. padding:10px;
  57. background-color: #020202;
  58. border-radius: 100%;
  59. text-align: center;
  60. border: 2px solid #020202;
  61. transition:all 0.2s ease-in-out;
  62. }
  63. #dashboardView li.dashboard-item i {
  64. transition:all 0.2s ease-in-out;
  65. font-weight: 200;
  66. }
  67. #dashboardView li.dashboard-item:hover{
  68. padding-bottom:20px;
  69. }
  70. #dashboardView li.dashboard-item span {
  71. transform: translateX(-105px);
  72. font-size: 9px;
  73. position:absolute;
  74. bottom:3px;
  75. left:0;
  76. color:#808a94;
  77. text-transform: uppercase;
  78. display: block;
  79. width: 100%;
  80. text-align: center;
  81. font-weight: bold;
  82. overflow: hidden;
  83. text-overflow: ellipsis;
  84. opacity: 0;
  85. transition: all 0.2s ease-in-out;
  86. }
  87. #dashboardView li.dashboard-item:hover span {
  88. transform: translateX(0px);
  89. opacity: 1;
  90. }
  91. #dashboardView li:hover{
  92. background-color: #475058;
  93. }
  94. #dashboardView li[data-selected] > div{
  95. border-top: 2px solid #e019a3;
  96. color:#ffffff;
  97. }
  98. .widget{
  99. transition:width 0.2s linear,height 0.2s linear,opacity 0.2s linear;
  100. display: table;
  101. padding:20px;
  102. }
  103. .widget_window{
  104. box-shadow: 0 0 3px 0 #cecece;
  105. margin: 0 0 10px;
  106. padding: 0;
  107. text-align: left;
  108. transition: opacity 0.2s linear 0s;
  109. z-index: 100;
  110. display: table-cell;
  111. }
  112. .widget_header{
  113. background-color: #50597b;
  114. padding: 5px;
  115. border-radius: 0;
  116. box-sizing: border-box;
  117. color: #ffffff;
  118. cursor: move;
  119. transition:background 0.2s linear;
  120. }
  121. .widget_options{
  122. float: right;
  123. margin: -5px 0 0 10px;
  124. padding: 0;
  125. }
  126. .widget_options li{
  127. cursor: pointer;
  128. display: inline-block;
  129. opacity: 0.5;
  130. padding: 5px;
  131. transition: opacity 0.2s linear 0s;
  132. vertical-align: top;
  133. }
  134. .widget_options li:hover{
  135. opacity: 1;
  136. }
  137. .widget_content{
  138. background-color: #ffffff;
  139. border-top:0;
  140. overflow:auto;
  141. max-width:100%;
  142. max-height:400px;
  143. padding: 0px;
  144. }
  145. .dashboard-container{
  146. padding:10px 0px 0 80px
  147. }
  148. .dashboard-widget-menu{
  149. margin:0 0 0 15px;
  150. padding:0;
  151. }
  152. .dashboard-widget-menu li{
  153. list-style-type: none;
  154. color:#cecece;
  155. display: inline-block;
  156. cursor: pointer;
  157. padding:5px;
  158. }
  159. .dashboard-widget-menu li span{
  160. opacity:0.7;
  161. display: inline-block;
  162. transition : all 0.2s ease-in-out;
  163. }
  164. .dashboard-widget-menu li:hover span{
  165. opacity:1;
  166. transform: translateX(5px);
  167. }
  168. .widgetDescription{
  169. margin-top:20px;
  170. }
  171. .widgetColor{
  172. display: inline-block;
  173. vertical-align: top;
  174. padding-right: 5px;
  175. color:#333333;
  176. }
  177. .widgetColor small{
  178. width:20px;
  179. height:20px;
  180. border-radius: 100%;
  181. display: inline-block;
  182. margin-right: 5px;
  183. vertical-align: top;
  184. }
  185. @media only screen and (max-width: 500px) {
  186. .widget_dropper{
  187. display: none;
  188. }
  189. .widget,.widget_window{
  190. display: block;
  191. width:100%;
  192. }
  193. }