You are here

list.css in Open Social 8.8

.list-item {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  width: 100%;
  padding-top: 0.625rem;
  padding-bottom: 0.625rem;
  min-width: 0;
}

.list-item__avatar {
  width: 24px;
  height: 24px;
  -webkit-box-flex: 0;
      -ms-flex: 0 0 24px;
          flex: 0 0 24px;
  margin-right: 10px;
  border-radius: 50%;
  margin-top: 2px;
}

.list-item__avatar--medium {
  width: 44px;
  height: 44px;
  -ms-flex-preferred-size: 44px;
      flex-basis: 44px;
}

.list-item--withlabel {
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  -webkit-box-pack: start;
      -ms-flex-pack: start;
          justify-content: flex-start;
}

.list-item__label {
  margin-right: 20px;
  font-weight: 500;
  -ms-flex-preferred-size: 100%;
      flex-basis: 100%;
  -ms-flex-item-align: start;
      align-self: flex-start;
}

.list-item__text {
  -webkit-box-flex: 1;
      -ms-flex-positive: 1;
          flex-grow: 1;
  max-width: 100%;
  margin: 0;
  font-size: .875rem;
  line-height: 1.25;
}

.list-item__text p {
  margin-bottom: 0;
}

.list-item__text .list-item__text--small {
  color: #555;
  font-weight: 300;
  margin-top: 5px;
}

.list-item--visibility {
  padding-left: 1rem;
  padding-right: 1rem;
  margin-bottom: -1px;
  -webkit-box-pack: start;
      -ms-flex-pack: start;
          justify-content: flex-start;
}

.list-item--visibility .form-group label {
  font-weight: 500;
  cursor: pointer;
}

.list-item--visibility:hover {
  background-color: #e6e6e6;
  cursor: pointer;
}

.list-item--visibility .icon-small {
  fill: #4d4d4d;
  margin-right: .25em;
}

.list-item--link .list-item__avatar {
  margin-left: 0.625rem;
}

.list-item--link:hover, .list-item--link:focus {
  background-color: rgba(0, 0, 0, 0.12);
}

.item-list__comma-list,
.item-list__comma-list li {
  display: inline;
}

.item-list__comma-list {
  margin: 0;
  padding: 0;
}

.item-list__comma-list li:after {
  content: ", ";
}

.item-list__comma-list li:last-child:after {
  content: "";
}

@media (min-width: 600px) {
  .list-item__label {
    -ms-flex-preferred-size: 180px;
        flex-basis: 180px;
  }
}

File

themes/socialbase/assets/css/list.css
View source
  1. .list-item {
  2. display: -webkit-box;
  3. display: -ms-flexbox;
  4. display: flex;
  5. -webkit-box-pack: center;
  6. -ms-flex-pack: center;
  7. justify-content: center;
  8. -webkit-box-align: center;
  9. -ms-flex-align: center;
  10. align-items: center;
  11. width: 100%;
  12. padding-top: 0.625rem;
  13. padding-bottom: 0.625rem;
  14. min-width: 0;
  15. }
  16. .list-item__avatar {
  17. width: 24px;
  18. height: 24px;
  19. -webkit-box-flex: 0;
  20. -ms-flex: 0 0 24px;
  21. flex: 0 0 24px;
  22. margin-right: 10px;
  23. border-radius: 50%;
  24. margin-top: 2px;
  25. }
  26. .list-item__avatar--medium {
  27. width: 44px;
  28. height: 44px;
  29. -ms-flex-preferred-size: 44px;
  30. flex-basis: 44px;
  31. }
  32. .list-item--withlabel {
  33. -ms-flex-wrap: wrap;
  34. flex-wrap: wrap;
  35. -webkit-box-pack: start;
  36. -ms-flex-pack: start;
  37. justify-content: flex-start;
  38. }
  39. .list-item__label {
  40. margin-right: 20px;
  41. font-weight: 500;
  42. -ms-flex-preferred-size: 100%;
  43. flex-basis: 100%;
  44. -ms-flex-item-align: start;
  45. align-self: flex-start;
  46. }
  47. .list-item__text {
  48. -webkit-box-flex: 1;
  49. -ms-flex-positive: 1;
  50. flex-grow: 1;
  51. max-width: 100%;
  52. margin: 0;
  53. font-size: .875rem;
  54. line-height: 1.25;
  55. }
  56. .list-item__text p {
  57. margin-bottom: 0;
  58. }
  59. .list-item__text .list-item__text--small {
  60. color: #555;
  61. font-weight: 300;
  62. margin-top: 5px;
  63. }
  64. .list-item--visibility {
  65. padding-left: 1rem;
  66. padding-right: 1rem;
  67. margin-bottom: -1px;
  68. -webkit-box-pack: start;
  69. -ms-flex-pack: start;
  70. justify-content: flex-start;
  71. }
  72. .list-item--visibility .form-group label {
  73. font-weight: 500;
  74. cursor: pointer;
  75. }
  76. .list-item--visibility:hover {
  77. background-color: #e6e6e6;
  78. cursor: pointer;
  79. }
  80. .list-item--visibility .icon-small {
  81. fill: #4d4d4d;
  82. margin-right: .25em;
  83. }
  84. .list-item--link .list-item__avatar {
  85. margin-left: 0.625rem;
  86. }
  87. .list-item--link:hover, .list-item--link:focus {
  88. background-color: rgba(0, 0, 0, 0.12);
  89. }
  90. .item-list__comma-list,
  91. .item-list__comma-list li {
  92. display: inline;
  93. }
  94. .item-list__comma-list {
  95. margin: 0;
  96. padding: 0;
  97. }
  98. .item-list__comma-list li:after {
  99. content: ", ";
  100. }
  101. .item-list__comma-list li:last-child:after {
  102. content: "";
  103. }
  104. @media (min-width: 600px) {
  105. .list-item__label {
  106. -ms-flex-preferred-size: 180px;
  107. flex-basis: 180px;
  108. }
  109. }