component.css 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131
  1. .dashboard-container {
  2. background-color: #efefef;
  3. }
  4. .dashboard-container .dashboard-grid{
  5. display: grid;
  6. list-style-type: none;
  7. margin: 0;
  8. padding: 0;
  9. grid-column-gap: 0px;
  10. grid-row-gap: 0px;
  11. position: relative;
  12. }
  13. .dashboard-container .dashboard-placeholder{
  14. box-shadow: inset 0px 0px 1px 2px transparent;
  15. list-style-type: none;
  16. margin: 0;
  17. min-height: 100px;
  18. transition: all 0.2s ease-in-out;
  19. }
  20. .dashboard-container .dashboard-placeholder.bordered{
  21. box-shadow: inset 0px 0px 1px 1px #bbbbbb;
  22. }
  23. .dashboard-container .dashboard-placeholder.drag-over{
  24. box-shadow: inset 0px 0px 1px 2px #bbbbbb;
  25. }
  26. .dashboard-container .dashboard-widget{
  27. position: absolute;
  28. background-color: #ffffff;
  29. border-radius: 10px;
  30. box-shadow: 0 0 20px 0 #cecece!important;
  31. transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
  32. }
  33. .dashboard-widget.ui-draggable-dragging{
  34. transform: scale(1.03);
  35. box-shadow: 0 0 40px 10px rgba(0,0,0,0.1)!important;
  36. }
  37. .dashboard-widget .dashboard-widget-header{
  38. padding: 5px;
  39. background-color: #222222;
  40. color: #ffffff;
  41. border-radius: 10px 10px 0 0;
  42. display: flex;
  43. }
  44. .dashboard-widget .dashboard-widget-content{
  45. padding: 5px;
  46. max-height: 100%;
  47. overflow: auto;
  48. }
  49. .dashboard-widget .dashboard-widget-header .widget-header-icon,
  50. .dashboard-widget .dashboard-widget-header .widget-header-title,
  51. .dashboard-widget .dashboard-widget-header .widget-header-options{
  52. display: inline-block;
  53. vertical-align: top;
  54. }
  55. .dashboard-widget .dashboard-widget-header .widget-header-icon{
  56. padding-left: 5px;
  57. }
  58. .dashboard-widget .dashboard-widget-header .widget-header-title{
  59. padding-left: 5px;
  60. flex-grow: 1;
  61. }
  62. .dashboard-widget.widget-draggable .dashboard-widget-header .widget-header-title{
  63. cursor: move;
  64. }
  65. .dashboard-widget .dashboard-widget-header .widget-header-options{
  66. list-style-type: none;
  67. margin: 0;
  68. cursor: pointer;
  69. float: right;
  70. padding: 0;
  71. }
  72. .dashboard-widget .dashboard-widget-header .widget-header-options:after{
  73. content :'';
  74. display: block;
  75. clear: both;
  76. }
  77. .dashboard-widget .widget-header-options li{
  78. display: inline-block;
  79. }
  80. .dashboard-widget .dashboard-widget-resize{
  81. opacity: 0;
  82. position: absolute;
  83. bottom: -3px;
  84. right: 3px;
  85. cursor: all-scroll;
  86. transform: rotate(45deg);
  87. transition: all 0.2s ease-in-out;
  88. }
  89. .dashboard-widget:hover .dashboard-widget-resize {
  90. opacity: 0.3;
  91. }
  92. .dashboard-widget .widget-header-options li{
  93. padding-left: 3px;
  94. padding-right: 3px;
  95. opacity: 0.5;
  96. transition: opacity 0.2s ease-in-out;
  97. }
  98. .dashboard-widget .widget-header-options .widget-option-delete,
  99. .dashboard-widget .dashboard-widget-resize{
  100. display: none;
  101. }
  102. .dashboard-widget.widget-removable .widget-header-options .widget-option-delete,
  103. .dashboard-widget.widget-resizeable .dashboard-widget-resize{
  104. display: inline-block;
  105. }
  106. .dashboard-widget .widget-header-options li:hover{
  107. opacity: 1;
  108. }