component.css 7.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309
  1. /* Scrollbar */
  2. .dashboard-modal *::-webkit-scrollbar,
  3. .dashboard-container *::-webkit-scrollbar {
  4. width: 0.5rem;
  5. }
  6. .dashboard-modal *::-webkit-scrollbar,
  7. .dashboard-container *::-webkit-scrollbar {
  8. width: 5px;
  9. height: 5px;
  10. }
  11. .dashboard-modal *::-webkit-scrollbar-button,
  12. .dashboard-container *::-webkit-scrollbar-button {
  13. width: 0px;
  14. height: 0px;
  15. }
  16. .dashboard-modal *::-webkit-scrollbar-thumb,
  17. .dashboard-container *::-webkit-scrollbar-thumb {
  18. background: #bbbbbb;
  19. border: 0px none #ffffff;
  20. border-radius: 50px;
  21. }
  22. .dashboard-modal *::-webkit-scrollbar-thumb,
  23. .dashboard-container *::-webkit-scrollbar-thumb:hover {
  24. background: #949494;
  25. }
  26. .dashboard-modal *::-webkit-scrollbar-thumb,
  27. .dashboard-container *::-webkit-scrollbar-thumb:active {
  28. background: #707070;
  29. }
  30. .dashboard-modal *::-webkit-scrollbar-track,
  31. .dashboard-container *::-webkit-scrollbar-track {
  32. background: inherit;
  33. border: 0px none #ffffff;
  34. border-radius: 50px;
  35. }
  36. .dashboard-modal *::-webkit-scrollbar-track,
  37. .dashboard-container *::-webkit-scrollbar-track:hover {
  38. background: #cecece;
  39. }
  40. .dashboard-modal *::-webkit-scrollbar-track,
  41. .dashboard-container *::-webkit-scrollbar-track:active {
  42. background: #d3d3d3;
  43. }
  44. .dashboard-modal *::-webkit-scrollbar-corner,
  45. .dashboard-container *::-webkit-scrollbar-corner {
  46. background: transparent;
  47. }
  48. .dashboard-container {
  49. background-color: #efefef;
  50. }
  51. .dashboard-container .dashboard-grid{
  52. border: 1px solid transparent;
  53. display: grid;
  54. list-style-type: none;
  55. margin: 0;
  56. padding: 0;
  57. grid-column-gap: 0px;
  58. grid-row-gap: 0px;
  59. position: relative;
  60. }
  61. .dashboard-container .dashboard-grid.bordered {
  62. border: 1px solid#bbbbbb;
  63. }
  64. .dashboard-container .dashboard-placeholder{
  65. cursor: pointer;
  66. position: relative;
  67. box-shadow: inset 0px 0px 1px 2px transparent;
  68. border-radius: 10px;
  69. list-style-type: none;
  70. margin: 0;
  71. background-color: transparent;
  72. min-height: 100px;
  73. transition: all 0.15s linear;
  74. transition: border-radius 0.3s linear;
  75. }
  76. .dashboard-container .dashboard-grid.bordered .dashboard-placeholder{
  77. border-radius: 0;
  78. transition: all 0.05s linear;
  79. box-shadow: inset 0px 0px 1px 1px #bbbbbb;
  80. }
  81. .dashboard-container .dashboard-grid .dashboard-placeholder.drag-over{
  82. z-index: 10;
  83. border-radius: 10px;
  84. background-color: #dfeeff;
  85. box-shadow: inset 0px 0px 1px 2px #9fcdff;
  86. }
  87. .dashboard-container .dashboard-placeholder:hover{
  88. background-color: #e6e6e6;
  89. }
  90. .dashboard-container .dashboard-placeholder .placeholder-add{
  91. display: inline-block;
  92. opacity: 0;
  93. text-align: center;
  94. height: auto;
  95. vertical-align: bottom;
  96. line-height: 100%;
  97. position: absolute;
  98. color: #adadad;
  99. top: calc(50% - 15px);
  100. left: calc(50% - 15px);
  101. font-size: 30px;
  102. transition: opacity 0.15s linear;
  103. }
  104. .dashboard-container .dashboard-placeholder:hover .placeholder-add{
  105. opacity: 1;
  106. }
  107. .dashboard-container .dashboard-widget{
  108. z-index: 15;
  109. position: absolute;
  110. background-color: #ffffff;
  111. border-radius: 10px;
  112. box-shadow: 0 0 20px 0 #cecece !important;
  113. transition: transform 0.15s ease-in, box-shadow 0.15s ease-in;
  114. }
  115. .dashboard-container .dashboard-widget.ui-draggable-dragging{
  116. transform: scale(1.03);
  117. box-shadow: 0 0 40px 10px rgba(0,0,0,0.1)!important;
  118. }
  119. .dashboard-container .dashboard-widget .dashboard-widget-header{
  120. padding: 5px;
  121. background-color: #222222;
  122. color: #ffffff;
  123. border-radius: 10px 10px 0 0;
  124. max-height: 35px;
  125. overflow: hidden;
  126. display: flex;
  127. }
  128. .dashboard-container .dashboard-widget .dashboard-widget-content{
  129. height: calc(100% - 34px);
  130. max-height: calc(100% - 34px);
  131. overflow: auto;
  132. display: flex;
  133. }
  134. .dashboard-container .dashboard-widget .dashboard-widget-header .widget-header-icon,
  135. .dashboard-container .dashboard-widget .dashboard-widget-header .widget-header-title,
  136. .dashboard-container .dashboard-widget .dashboard-widget-header .widget-header-options{
  137. display: inline-block;
  138. vertical-align: top;
  139. }
  140. .dashboard-container .dashboard-widget .dashboard-widget-header .widget-header-icon{
  141. padding-left: 5px;
  142. }
  143. .dashboard-container .dashboard-widget .dashboard-widget-header .widget-header-title{
  144. padding-left: 5px;
  145. flex-grow: 1;
  146. }
  147. .dashboard-container .dashboard-widget.widget-draggable .ui-draggable-handle{
  148. cursor: move;
  149. }
  150. .dashboard-container .dashboard-widget .dashboard-widget-header .widget-header-options{
  151. list-style-type: none;
  152. margin: 0;
  153. cursor: pointer;
  154. float: right;
  155. padding: 0;
  156. }
  157. .dashboard-container .dashboard-widget .dashboard-widget-header .widget-header-options:after{
  158. content :'';
  159. display: block;
  160. clear: both;
  161. }
  162. .dashboard-container .dashboard-widget .widget-header-options li{
  163. display: inline-block;
  164. }
  165. .dashboard-container .dashboard-widget .dashboard-widget-resize{
  166. opacity: 0;
  167. position: absolute;
  168. bottom: -2px;
  169. right: 0px;
  170. cursor: all-scroll;
  171. transform: rotate(45deg);
  172. transition: all 0.15s ease-in;
  173. cursor: nw-resize;
  174. }
  175. .dashboard-container .dashboard-widget:hover .dashboard-widget-resize {
  176. opacity: 0.3;
  177. }
  178. .dashboard-container .dashboard-widget .widget-header-options li{
  179. padding: 0 0.5rem;
  180. opacity: 0.5;
  181. transition: opacity 0.15s ease-in;
  182. }
  183. .dashboard-container .dashboard-widget .widget-header-options .widget-option-delete,
  184. .dashboard-container .dashboard-widget .dashboard-widget-resize{
  185. display: none;
  186. }
  187. .dashboard-container .dashboard-widget.widget-removable .widget-header-options .widget-option-delete,
  188. .dashboard-container .dashboard-widget.widget-resizeable .dashboard-widget-resize{
  189. display: inline-block;
  190. }
  191. .dashboard-container .dashboard-widget .widget-header-options li:hover{
  192. opacity: 1;
  193. }
  194. .dashboard-configure-menu li.active i.text-muted{
  195. color: #ffffff!important;
  196. }
  197. .dashboard-configure-menu li{
  198. cursor: pointer;
  199. transition: background 0.15s ease-in;
  200. }
  201. .dashboard-configure-menu li:hover{
  202. background: #f3f3f3;
  203. }
  204. .dashboard-modal .modal-body {
  205. min-height: 300px;
  206. }
  207. .dashboard-modal .dashboard-configure-menu .nav-tabs .nav-item .nav-link,
  208. .dashboard-modal .dashboard-configure-menu .nav-tabs .nav-link {
  209. color: var(--secondary);
  210. background-color: transparent;
  211. }
  212. .dashboard-modal .dashboard-configure-menu .nav-tabs .nav-item.show .nav-link,
  213. .dashboard-modal .dashboard-configure-menu .nav-tabs .nav-link.active {
  214. color: var(--white);
  215. background-color: var(--primary);
  216. }
  217. .dashboard-modal .widget-models{
  218. padding: 0;
  219. margin: 0;
  220. display: grid;
  221. grid-template-columns: auto auto auto;
  222. list-style-type: none;
  223. }
  224. .dashboard-modal .widget-models li{
  225. border-radius: 2px;
  226. padding: 5px;
  227. margin: 5px;
  228. background: #ebebeb;
  229. list-style-type: none;
  230. }
  231. .widget-types li h3{
  232. font-size: 20px;
  233. text-transform: uppercase;
  234. color: #213066;
  235. }
  236. .dashboard-modal .widget-models li {
  237. cursor: pointer;
  238. position: relative;
  239. transition: background 0.2s ease-in-out;
  240. opacity: 0.8;
  241. text-align: center;
  242. }
  243. .dashboard-modal .widget-models li h3 {
  244. font-size: 20px;
  245. color: #4a536a;
  246. }
  247. .dashboard-modal .widget-models li.active {
  248. opacity: 1;
  249. box-shadow: inset 0 0 1px 3px #7ca728!important;
  250. }
  251. .dashboard-modal .widget-models li {
  252. position: relative;
  253. }
  254. .dashboard-modal .widget-models li .checked {
  255. display: none;
  256. position: absolute;
  257. bottom: 0;
  258. right: 0;
  259. width: 30px;
  260. height: 30px;
  261. background-color: #7ca728;
  262. color: #ffffff;
  263. padding: 5px;
  264. border-radius: 70% 0 0 0;
  265. }
  266. .dashboard-modal .widget-models li.active .checked {
  267. display: block;
  268. }
  269. .widget-types li.active li h3,.widget-models li.active .widget-model-info{
  270. color: #97c9ff;
  271. }
  272. .widget-model-info{
  273. color: #cecece;
  274. position: absolute;
  275. top: 5px;
  276. right: 5px;
  277. cursor: pointer;
  278. }
  279. .dashboard-modal .modal-lg{
  280. max-width: 1200px;
  281. }
  282. .dashboard-widget-customizer{
  283. width: calc(100% - 30px);
  284. height: calc(100% - 30px);
  285. }
  286. .dashboard-modal .widget-model-chip{
  287. border-radius: 100%;
  288. width: 50px;
  289. height: 50px;
  290. margin: auto;
  291. margin-top: 5px;
  292. text-align: center;
  293. color: #ffffff;
  294. background-color: #222222;
  295. }
  296. .dashboard-modal .widget-model-chip i {
  297. line-height: 50px;
  298. }