You are here

frontend.css in Draggable dashboard 8

Same filename and directory in other branches
  1. 8.2 assets/css/frontend.css
.draggable-dashboard {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  position: relative;
}
.draggable-dashboard .draggable-dashboard-column {
  display: inline-block;
  vertical-align: top;
  padding-right: 1%;
  min-height: 200px;
}
.draggable-dashboard .col-3 {
  width: 25%;
}
.draggable-dashboard .col-4 {
  width: 33%;
}
.draggable-dashboard .col-6 {
  width: 50%;
}
.draggable-dashboard .col-12 {
  width: 100%;
}
.draggable-dashboard .draggable-dashboard-block {
  background-color: #f6f6f2;
  border: 1px solid #f9f9f9;
  margin: 0 0 20px;
}
.draggable-dashboard-block__header {
  position: relative;
  border-bottom: 1px solid #d6d6d6;
  min-height: 1.5em;
  padding: 10px 15px 5px;
}
.draggable-dashboard-block__content {
  padding: 15px;
}
.draggable-dashboard .draggable-dashboard-block .draggable-dashboard-block__header h2 {
  max-width: 90%;
  margin: 0;
}
.draggable-dashboard .draggable-dashboard-block h2 {
  margin: 0 0 0.5em;
  text-shadow: 0 1px 0 #fff;
  font-size: 1.071em;
}
.draggable-dashboard .draggable-dashboard-block .block > h2:first-child {
  visibility: hidden;
  line-height: 0;
}
.draggable-dashboard .draggable-dashboard-placeholder {
  visibility: visible !important;
  margin: 5px 0;
  padding: 0;
  border: 3px dashed #ccc;
}
.draggable-dashboard .draggable-dashboard-placeholder * {
  visibility: hidden;
}
.draggable-dashboard-block__controls {
  position: absolute;
  top: 10px;
  right: 10px;
}
.draggable-dashboard__icon {
  display: inline-block;
  border: none;
  background-color: transparent;
  padding: 0.4em;
  width: 1em;
  height: 1em;
  background-repeat: no-repeat;
  background-position: center center;
  vertical-align: middle;
}
.draggable-dashboard__icon--collapse {
  background-image: url(../minus.gif);
}
.draggable-dashboard__icon--expand {
  background-image: url(../plus.gif);
}
.draggable-dashboard__icon--maximize {
  background-image: url(../maximize.gif);
}
.draggable-dashboard__icon--minimize {
  background-image: url(../minimize.gif);
}
.draggable-dashboard-block--maximized {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1;
}

File

assets/css/frontend.css
View source
  1. .draggable-dashboard {
  2. display: -webkit-box;
  3. display: -webkit-flex;
  4. display: -ms-flexbox;
  5. display: flex;
  6. position: relative;
  7. }
  8. .draggable-dashboard .draggable-dashboard-column {
  9. display: inline-block;
  10. vertical-align: top;
  11. padding-right: 1%;
  12. min-height: 200px;
  13. }
  14. .draggable-dashboard .col-3 {
  15. width: 25%;
  16. }
  17. .draggable-dashboard .col-4 {
  18. width: 33%;
  19. }
  20. .draggable-dashboard .col-6 {
  21. width: 50%;
  22. }
  23. .draggable-dashboard .col-12 {
  24. width: 100%;
  25. }
  26. .draggable-dashboard .draggable-dashboard-block {
  27. background-color: #f6f6f2;
  28. border: 1px solid #f9f9f9;
  29. margin: 0 0 20px;
  30. }
  31. .draggable-dashboard-block__header {
  32. position: relative;
  33. border-bottom: 1px solid #d6d6d6;
  34. min-height: 1.5em;
  35. padding: 10px 15px 5px;
  36. }
  37. .draggable-dashboard-block__content {
  38. padding: 15px;
  39. }
  40. .draggable-dashboard .draggable-dashboard-block .draggable-dashboard-block__header h2 {
  41. max-width: 90%;
  42. margin: 0;
  43. }
  44. .draggable-dashboard .draggable-dashboard-block h2 {
  45. margin: 0 0 0.5em;
  46. text-shadow: 0 1px 0 #fff;
  47. font-size: 1.071em;
  48. }
  49. .draggable-dashboard .draggable-dashboard-block .block > h2:first-child {
  50. visibility: hidden;
  51. line-height: 0;
  52. }
  53. .draggable-dashboard .draggable-dashboard-placeholder {
  54. visibility: visible !important;
  55. margin: 5px 0;
  56. padding: 0;
  57. border: 3px dashed #ccc;
  58. }
  59. .draggable-dashboard .draggable-dashboard-placeholder * {
  60. visibility: hidden;
  61. }
  62. .draggable-dashboard-block__controls {
  63. position: absolute;
  64. top: 10px;
  65. right: 10px;
  66. }
  67. .draggable-dashboard__icon {
  68. display: inline-block;
  69. border: none;
  70. background-color: transparent;
  71. padding: 0.4em;
  72. width: 1em;
  73. height: 1em;
  74. background-repeat: no-repeat;
  75. background-position: center center;
  76. vertical-align: middle;
  77. }
  78. .draggable-dashboard__icon--collapse {
  79. background-image: url(../minus.gif);
  80. }
  81. .draggable-dashboard__icon--expand {
  82. background-image: url(../plus.gif);
  83. }
  84. .draggable-dashboard__icon--maximize {
  85. background-image: url(../maximize.gif);
  86. }
  87. .draggable-dashboard__icon--minimize {
  88. background-image: url(../minimize.gif);
  89. }
  90. .draggable-dashboard-block--maximized {
  91. position: absolute;
  92. top: 0;
  93. bottom: 0;
  94. left: 0;
  95. right: 0;
  96. z-index: 1;
  97. }