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. padding: 5px;
  130. height: calc(100% - 34px);
  131. max-height: calc(100% - 34px);
  132. overflow: auto;
  133. display: flex;
  134. }
  135. .dashboard-container .dashboard-widget .dashboard-widget-header .widget-header-icon,
  136. .dashboard-container .dashboard-widget .dashboard-widget-header .widget-header-title,
  137. .dashboard-container .dashboard-widget .dashboard-widget-header .widget-header-options{
  138. display: inline-block;
  139. vertical-align: top;
  140. }
  141. .dashboard-container .dashboard-widget .dashboard-widget-header .widget-header-icon{
  142. padding-left: 5px;
  143. }
  144. .dashboard-container .dashboard-widget .dashboard-widget-header .widget-header-title{
  145. padding-left: 5px;
  146. flex-grow: 1;
  147. }
  148. .dashboard-container .dashboard-widget.widget-draggable .ui-draggable-handle{
  149. cursor: move;
  150. }
  151. .dashboard-container .dashboard-widget .dashboard-widget-header .widget-header-options{
  152. list-style-type: none;
  153. margin: 0;
  154. cursor: pointer;
  155. float: right;
  156. padding: 0;
  157. }
  158. .dashboard-container .dashboard-widget .dashboard-widget-header .widget-header-options:after{
  159. content :'';
  160. display: block;
  161. clear: both;
  162. }
  163. .dashboard-container .dashboard-widget .widget-header-options li{
  164. display: inline-block;
  165. }
  166. .dashboard-container .dashboard-widget .dashboard-widget-resize{
  167. opacity: 0;
  168. position: absolute;
  169. bottom: -2px;
  170. right: 0px;
  171. cursor: all-scroll;
  172. transform: rotate(45deg);
  173. transition: all 0.15s ease-in;
  174. cursor: nw-resize;
  175. }
  176. .dashboard-container .dashboard-widget:hover .dashboard-widget-resize {
  177. opacity: 0.3;
  178. }
  179. .dashboard-container .dashboard-widget .widget-header-options li{
  180. padding: 0 0.5rem;
  181. opacity: 0.5;
  182. transition: opacity 0.15s ease-in;
  183. }
  184. .dashboard-container .dashboard-widget .widget-header-options .widget-option-delete,
  185. .dashboard-container .dashboard-widget .dashboard-widget-resize{
  186. display: none;
  187. }
  188. .dashboard-container .dashboard-widget.widget-removable .widget-header-options .widget-option-delete,
  189. .dashboard-container .dashboard-widget.widget-resizeable .dashboard-widget-resize{
  190. display: inline-block;
  191. }
  192. .dashboard-container .dashboard-widget .widget-header-options li:hover{
  193. opacity: 1;
  194. }
  195. .dashboard-configure-menu li.active i.text-muted{
  196. color: #ffffff!important;
  197. }
  198. .dashboard-configure-menu li{
  199. cursor: pointer;
  200. transition: background 0.15s ease-in;
  201. }
  202. .dashboard-configure-menu li:hover{
  203. background: #f3f3f3;
  204. }
  205. .dashboard-modal .modal-body {
  206. min-height: 300px;
  207. }
  208. .dashboard-modal .dashboard-configure-menu .nav-tabs .nav-item .nav-link,
  209. .dashboard-modal .dashboard-configure-menu .nav-tabs .nav-link {
  210. color: var(--secondary);
  211. background-color: transparent;
  212. }
  213. .dashboard-modal .dashboard-configure-menu .nav-tabs .nav-item.show .nav-link,
  214. .dashboard-modal .dashboard-configure-menu .nav-tabs .nav-link.active {
  215. color: var(--white);
  216. background-color: var(--primary);
  217. }
  218. .dashboard-modal .widget-models{
  219. padding: 0;
  220. margin: 0;
  221. display: grid;
  222. grid-template-columns: auto auto auto;
  223. list-style-type: none;
  224. }
  225. .dashboard-modal .widget-models li{
  226. border-radius: 2px;
  227. padding: 5px;
  228. margin: 5px;
  229. background: #ebebeb;
  230. list-style-type: none;
  231. }
  232. .widget-types li h3{
  233. font-size: 20px;
  234. text-transform: uppercase;
  235. color: #213066;
  236. }
  237. .dashboard-modal .widget-models li {
  238. cursor: pointer;
  239. position: relative;
  240. transition: background 0.2s ease-in-out;
  241. opacity: 0.8;
  242. text-align: center;
  243. }
  244. .dashboard-modal .widget-models li h3 {
  245. font-size: 20px;
  246. color: #4a536a;
  247. }
  248. .dashboard-modal .widget-models li.active {
  249. opacity: 1;
  250. box-shadow: inset 0 0 1px 3px #7ca728!important;
  251. }
  252. .dashboard-modal .widget-models li {
  253. position: relative;
  254. }
  255. .dashboard-modal .widget-models li .checked {
  256. display: none;
  257. position: absolute;
  258. bottom: 0;
  259. right: 0;
  260. width: 30px;
  261. height: 30px;
  262. background-color: #7ca728;
  263. color: #ffffff;
  264. padding: 5px;
  265. border-radius: 70% 0 0 0;
  266. }
  267. .dashboard-modal .widget-models li.active .checked {
  268. display: block;
  269. }
  270. .widget-types li.active li h3,.widget-models li.active .widget-model-info{
  271. color: #97c9ff;
  272. }
  273. .widget-model-info{
  274. color: #cecece;
  275. position: absolute;
  276. top: 5px;
  277. right: 5px;
  278. cursor: pointer;
  279. }
  280. .dashboard-modal .modal-lg{
  281. max-width: 1200px;
  282. }
  283. .dashboard-widget-customizer{
  284. width: calc(100% - 30px);
  285. height: calc(100% - 30px);
  286. }
  287. .dashboard-modal .widget-model-chip{
  288. border-radius: 100%;
  289. width: 50px;
  290. height: 50px;
  291. margin: auto;
  292. margin-top: 5px;
  293. text-align: center;
  294. color: #ffffff;
  295. background-color: #222222;
  296. }
  297. .dashboard-modal .widget-model-chip i {
  298. line-height: 50px;
  299. }