component.css 8.1 KB

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