component.css 4.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201
  1. /* Scrollbar */
  2. .dashboard-container *::-webkit-scrollbar {
  3. width: 0.5rem;
  4. }
  5. .dashboard-container *::-webkit-scrollbar {
  6. width: 5px;
  7. height: 5px;
  8. }
  9. .dashboard-container *::-webkit-scrollbar-button {
  10. width: 0px;
  11. height: 0px;
  12. }
  13. .dashboard-container *::-webkit-scrollbar-thumb {
  14. background: #bbbbbb;
  15. border: 0px none #ffffff;
  16. border-radius: 50px;
  17. }
  18. .dashboard-container *::-webkit-scrollbar-thumb:hover {
  19. background: #949494;
  20. }
  21. .dashboard-container *::-webkit-scrollbar-thumb:active {
  22. background: #707070;
  23. }
  24. .dashboard-container *::-webkit-scrollbar-track {
  25. background: inherit;
  26. border: 0px none #ffffff;
  27. border-radius: 50px;
  28. }
  29. .dashboard-container *::-webkit-scrollbar-track:hover {
  30. background: #cecece;
  31. }
  32. .dashboard-container *::-webkit-scrollbar-track:active {
  33. background: #d3d3d3;
  34. }
  35. .dashboard-container *::-webkit-scrollbar-corner {
  36. background: transparent;
  37. }
  38. .dashboard-container {
  39. background-color: #efefef;
  40. }
  41. .dashboard-container .dashboard-grid{
  42. display: grid;
  43. list-style-type: none;
  44. margin: 0;
  45. padding: 0;
  46. grid-column-gap: 0px;
  47. grid-row-gap: 0px;
  48. position: relative;
  49. }
  50. .dashboard-container .dashboard-placeholder{
  51. box-shadow: inset 0px 0px 1px 2px transparent;
  52. border-radius: 10px;
  53. list-style-type: none;
  54. margin: 0;
  55. min-height: 100px;
  56. transition: all 0.15s ease-in;
  57. }
  58. .dashboard-placeholder{
  59. transition: background 0.15s linear;
  60. cursor: pointer;
  61. position: relative;
  62. }
  63. .dashboard-placeholder:hover{
  64. background-color: #e6e6e6;
  65. }
  66. .dashboard-placeholder .placeholder-add{
  67. display: inline-block;
  68. opacity: 0;
  69. text-align: center;
  70. height: 100%;
  71. vertical-align: bottom;
  72. line-height: 100%;
  73. position: absolute;
  74. color: #adadad;
  75. top: calc(50% - 15px);
  76. left: calc(50% - 15px);
  77. font-size: 30px;
  78. transition: opacity 0.15s linear;
  79. }
  80. .dashboard-placeholder:hover .placeholder-add{
  81. opacity: 1;
  82. }
  83. .dashboard-container .dashboard-placeholder.bordered{
  84. border-radius: 0;
  85. box-shadow: inset 0px 0px 1px 1px #bbbbbb;
  86. }
  87. .dashboard-container .dashboard-placeholder.drag-over{
  88. background-color: #dfeeff;
  89. box-shadow: inset 0px 0px 1px 2px #9fcdff;
  90. }
  91. .dashboard-container .dashboard-widget{
  92. position: absolute;
  93. background-color: #ffffff;
  94. border-radius: 10px;
  95. box-shadow: 0 0 20px 0 #cecece!important;
  96. transition: transform 0.15s ease-in, box-shadow 0.15s ease-in;
  97. }
  98. .dashboard-widget.ui-draggable-dragging{
  99. transform: scale(1.03);
  100. box-shadow: 0 0 40px 10px rgba(0,0,0,0.1)!important;
  101. }
  102. .dashboard-widget .dashboard-widget-header{
  103. padding: 5px;
  104. background-color: #222222;
  105. color: #ffffff;
  106. border-radius: 10px 10px 0 0;
  107. display: flex;
  108. }
  109. .dashboard-widget .dashboard-widget-content{
  110. padding: 5px;
  111. height: calc(100% - 34px);
  112. max-height: calc(100% - 34px);
  113. overflow: auto;
  114. display: flex;
  115. }
  116. .dashboard-widget .dashboard-widget-header .widget-header-icon,
  117. .dashboard-widget .dashboard-widget-header .widget-header-title,
  118. .dashboard-widget .dashboard-widget-header .widget-header-options{
  119. display: inline-block;
  120. vertical-align: top;
  121. }
  122. .dashboard-widget .dashboard-widget-header .widget-header-icon{
  123. padding-left: 5px;
  124. }
  125. .dashboard-widget .dashboard-widget-header .widget-header-title{
  126. padding-left: 5px;
  127. flex-grow: 1;
  128. }
  129. .dashboard-widget.widget-draggable .dashboard-widget-header .widget-header-title{
  130. cursor: move;
  131. }
  132. .dashboard-widget .dashboard-widget-header .widget-header-options{
  133. list-style-type: none;
  134. margin: 0;
  135. cursor: pointer;
  136. float: right;
  137. padding: 0;
  138. }
  139. .dashboard-widget .dashboard-widget-header .widget-header-options:after{
  140. content :'';
  141. display: block;
  142. clear: both;
  143. }
  144. .dashboard-widget .widget-header-options li{
  145. display: inline-block;
  146. }
  147. .dashboard-widget .dashboard-widget-resize{
  148. opacity: 0;
  149. position: absolute;
  150. bottom: -2px;
  151. right: 0px;
  152. cursor: all-scroll;
  153. transform: rotate(45deg);
  154. transition: all 0.2s ease-in-out;
  155. cursor: nw-resize;
  156. }
  157. .dashboard-widget:hover .dashboard-widget-resize {
  158. opacity: 0.3;
  159. }
  160. .dashboard-widget .widget-header-options li{
  161. padding: 0 0.5rem;
  162. opacity: 0.5;
  163. transition: opacity 0.2s ease-in-out;
  164. }
  165. .dashboard-widget .widget-header-options .widget-option-delete,
  166. .dashboard-widget .dashboard-widget-resize{
  167. display: none;
  168. }
  169. .dashboard-widget.widget-removable .widget-header-options .widget-option-delete,
  170. .dashboard-widget.widget-resizeable .dashboard-widget-resize{
  171. display: inline-block;
  172. }
  173. .dashboard-widget .widget-header-options li:hover{
  174. opacity: 1;
  175. }
  176. .dashboard-configure-menu li.active i.text-muted{
  177. color: #ffffff!important;
  178. }
  179. .dashboard-configure-menu li{
  180. cursor: pointer;
  181. transition: background 0.2s ease-in-out;
  182. }
  183. .dashboard-configure-menu li:hover{
  184. background: #f3f3f3;
  185. }
  186. .dashboard-modal .widget-types{
  187. padding: 0;
  188. margin: 0;
  189. display: grid;
  190. grid-template-columns: auto auto auto;
  191. list-style-type: none;
  192. }
  193. .dashboard-modal .widget-types li{
  194. border-radius: 2px;
  195. padding: 5px;
  196. margin: 5px;
  197. background: #ebebeb;
  198. list-style-type: none;
  199. }