You are here

workspace.admin.css in Workspace 8

.item-list ul.workspace,
.item-list ul.workspace ul {
    padding-top: 20px;
    position: relative;
    margin: 0;
}

.item-list .workspace li {
    float: left;
    text-align: center;
    list-style-type: none;
    position: relative;
    padding: 20px 5px 0;
    margin: 0;
}

/* We will use ::before and ::after to draw the connectors */
.item-list .workspace li::before,
.item-list .workspace li::after {
    content: '';
    position: absolute;
    top: 0;
    right: 50%;
    border-top: 1px solid #ccc;
    width: 50%;
    height: 20px;
}
.item-list .workspace li::after {
    right: auto;
    left: 50%;
    border-left: 1px solid #ccc;
}

/* We need to remove left-right connectors from elements without any siblings */
.item-list .workspace li:only-child::after,
.item-list .workspace li:only-child::before {
    display: none;
}

/* Remove space from the top of single children */
.item-list .workspace li:only-child{
    padding-top: 0;
}

/* Remove left connector from first child and right connector from last child*/
.item-list .workspace li:first-child::before,
.item-list .workspace li:last-child::after {
    border: 0 none;
}

/* Adding back the vertical connector to the last nodes */
.item-list .workspace li:last-child::before {
    border-right: 1px solid #ccc;
}

/* Downward connector from parents */
.item-list ul.workspace ul::before,
.item-list ul.workspace ul ul::before {
    content: '';
    position: absolute; top: 0; left: 50%;
    border-left: 1px solid #ccc;
    width: 0;
    height: 20px;
}

.item-list .workspace .rev,
.item-list .workspace .rev__title {
    display: inline-block;
    margin: 0;
}

.item-list .workspace .panel__title {
    padding: 0;
}

.item-list .workspace hr {
    margin: 5px 0;
}

.rev {
    margin: 0px 0px 20px;
    padding: 9px;
    background: #F8F8F8;
    border: 1px solid #CCC
}

.rev__title {
    font-size: 1em;
    text-transform: uppercase;
    margin: 0px;
}

File

css/workspace.admin.css
View source
  1. .item-list ul.workspace,
  2. .item-list ul.workspace ul {
  3. padding-top: 20px;
  4. position: relative;
  5. margin: 0;
  6. }
  7. .item-list .workspace li {
  8. float: left;
  9. text-align: center;
  10. list-style-type: none;
  11. position: relative;
  12. padding: 20px 5px 0;
  13. margin: 0;
  14. }
  15. /* We will use ::before and ::after to draw the connectors */
  16. .item-list .workspace li::before,
  17. .item-list .workspace li::after {
  18. content: '';
  19. position: absolute;
  20. top: 0;
  21. right: 50%;
  22. border-top: 1px solid #ccc;
  23. width: 50%;
  24. height: 20px;
  25. }
  26. .item-list .workspace li::after {
  27. right: auto;
  28. left: 50%;
  29. border-left: 1px solid #ccc;
  30. }
  31. /* We need to remove left-right connectors from elements without any siblings */
  32. .item-list .workspace li:only-child::after,
  33. .item-list .workspace li:only-child::before {
  34. display: none;
  35. }
  36. /* Remove space from the top of single children */
  37. .item-list .workspace li:only-child{
  38. padding-top: 0;
  39. }
  40. /* Remove left connector from first child and right connector from last child*/
  41. .item-list .workspace li:first-child::before,
  42. .item-list .workspace li:last-child::after {
  43. border: 0 none;
  44. }
  45. /* Adding back the vertical connector to the last nodes */
  46. .item-list .workspace li:last-child::before {
  47. border-right: 1px solid #ccc;
  48. }
  49. /* Downward connector from parents */
  50. .item-list ul.workspace ul::before,
  51. .item-list ul.workspace ul ul::before {
  52. content: '';
  53. position: absolute; top: 0; left: 50%;
  54. border-left: 1px solid #ccc;
  55. width: 0;
  56. height: 20px;
  57. }
  58. .item-list .workspace .rev,
  59. .item-list .workspace .rev__title {
  60. display: inline-block;
  61. margin: 0;
  62. }
  63. .item-list .workspace .panel__title {
  64. padding: 0;
  65. }
  66. .item-list .workspace hr {
  67. margin: 5px 0;
  68. }
  69. .rev {
  70. margin: 0px 0px 20px;
  71. padding: 9px;
  72. background: #F8F8F8;
  73. border: 1px solid #CCC
  74. }
  75. .rev__title {
  76. font-size: 1em;
  77. text-transform: uppercase;
  78. margin: 0px;
  79. }