You are here

frontend.css in Draggable dashboard 8.2

Same filename and directory in other branches
  1. 8 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 25px;
  cursor: move;
}
.draggable-dashboard-block__header:before {
  content: '';
  display: block;
  position: absolute;
  left: 0;
  top: 5px;
  width: 14px;
  height: 14px;
  padding: 0.42em 0.5em;
  background: url(/core/themes/stable/images/core/icons/787878/move.svg) no-repeat 6px 7px;
}
.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 25px;
  36. cursor: move;
  37. }
  38. .draggable-dashboard-block__header:before {
  39. content: '';
  40. display: block;
  41. position: absolute;
  42. left: 0;
  43. top: 5px;
  44. width: 14px;
  45. height: 14px;
  46. padding: 0.42em 0.5em;
  47. background: url(/core/themes/stable/images/core/icons/787878/move.svg) no-repeat 6px 7px;
  48. }
  49. .draggable-dashboard-block__content {
  50. padding: 15px;
  51. }
  52. .draggable-dashboard .draggable-dashboard-block .draggable-dashboard-block__header h2 {
  53. max-width: 90%;
  54. margin: 0;
  55. }
  56. .draggable-dashboard .draggable-dashboard-block h2 {
  57. margin: 0 0 0.5em;
  58. text-shadow: 0 1px 0 #fff;
  59. font-size: 1.071em;
  60. }
  61. .draggable-dashboard .draggable-dashboard-block .block > h2:first-child {
  62. visibility: hidden;
  63. line-height: 0;
  64. }
  65. .draggable-dashboard .draggable-dashboard-placeholder {
  66. visibility: visible !important;
  67. margin: 5px 0;
  68. padding: 0;
  69. border: 3px dashed #ccc;
  70. }
  71. .draggable-dashboard .draggable-dashboard-placeholder * {
  72. visibility: hidden;
  73. }
  74. .draggable-dashboard-block__controls {
  75. position: absolute;
  76. top: 10px;
  77. right: 10px;
  78. }
  79. .draggable-dashboard__icon {
  80. display: inline-block;
  81. border: none;
  82. background-color: transparent;
  83. padding: 0.4em;
  84. width: 1em;
  85. height: 1em;
  86. background-repeat: no-repeat;
  87. background-position: center center;
  88. vertical-align: middle;
  89. }
  90. .draggable-dashboard__icon--collapse {
  91. background-image: url(../minus.gif);
  92. }
  93. .draggable-dashboard__icon--expand {
  94. background-image: url(../plus.gif);
  95. }
  96. .draggable-dashboard__icon--maximize {
  97. background-image: url(../maximize.gif);
  98. }
  99. .draggable-dashboard__icon--minimize {
  100. background-image: url(../minimize.gif);
  101. }
  102. .draggable-dashboard-block--maximized {
  103. position: absolute;
  104. top: 0;
  105. bottom: 0;
  106. left: 0;
  107. right: 0;
  108. z-index: 1;
  109. }