component.css 8.1 KB

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