You are here

entity_browser_enhanced.autoselect.css in Entity Browser Enhance(d|r) 8

nav ul {
  border-bottom-color: #d0d0d0;
}

nav ul li a {
  border-radius: 1em 1em 0 0;
}

nav ul li.active {
  border-bottom-width: 0;
}

nav.eb-tabs ul li.active a {
  background-color: #d6d6d6;
}

.view .views-exposed-form {
  padding: 1.5em;
  background-color: #efefef;
}

.view .views-exposed-form .form--inline .form-item,
.view .views-exposed-form .form--inline .form-actions {
  margin-top: 0;
  margin-bottom: 0;
  display: inline-block;
}

.view .view-content {
  margin: 2em 0;
}

.view .views-col {
  position: relative;
  width: 100%;
}

.view .views-col img {
  border: 2px solid #cccccc;
  max-width: 95%;
  max-height: 100%;
  height: auto;
}

.view .views-col.selected img {
  border: 2px solid #37802f;
}

.view .views-col.selected::before {
  content: " ";
  width: 100%;
  height: 100%;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  position: absolute;
  background: transparent url(../images/check.svg) no-repeat center center;
  background-size: 40%;
  -webkit-transition: all 0.2s;
  transition: all 0.2s;
  display: block;
  z-index: 10;
}

.view .views-col .field--name-name {
  display: none;
  position: absolute;
  bottom: 8px;
  width: 95%;
  box-sizing: border-box;
  z-index: 4;
  background-color: rgba(0,0,0,.8);
  padding: 5px;
  margin: 0 2px;
  color: #fff;
  font-size: 9px;
  word-wrap: break-word;
}

.view .views-col:hover {
  cursor: pointer;
}

.view .views-col:hover .field--name-name {
  display: block;
}

.view .views-col .js-form-item {
  position: absolute !important;
  clip: rect(1px,1px,1px,1px);
  overflow: hidden;
  height: 1px;
  width: 1px;
  word-wrap: normal;
}

body #edit-selected.entities-list {
  background: #efefef;
  padding: 5px;
  margin: 5px;
  overflow-x: auto;
  overflow-y: hidden;
  white-space: nowrap;
  clear: both;
}

body #edit-selected.entities-list .item-container {
  display: inline-block !important;
  position: relative;
  text-align: center;
  width: 150px !important;
  height: 110px !important;
  background: #000;
}

body #edit-selected.entities-list .item-container .contextual-region {
  position: initial;
}

body #edit-selected.entities-list .item-container .field--name-name {
  display: none;
  position: absolute;
  bottom: 3px;
  left: 0;
  right: 0;
  padding: 0.5em;
  margin: 0;
  background: #000;
  opacity: 1;
  font-size: 9px;
  color: #fff;
  word-break: break-all;
  overflow: hidden;
  max-width: 75ch;
}

body #edit-selected.entities-list .item-container:hover .field--name-name,
body #edit-selected.entities-list .item-container:hover input,
body #edit-selected.entities-list .item-container:hover button {
  display: block;
}

body #edit-selected.entities-list .item-container input,
body #edit-selected.entities-list .item-container button {
  position: absolute;
  top: 0;
  display: none;
  font-size: 0;
  border: 0;
  padding: 0;
  border: 0;
  width: 30px;
  height: 30px;
  margin: 5px;
  background: transparent;
  background-color: transparent;
  cursor: pointer;
  opacity: 1;
}

body #edit-selected.entities-list .item-container img.image-style-field-preview {
  overflow: auto;
  margin: auto;
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
}

File

enhancers/autoselect/css/entity_browser_enhanced.autoselect.css
View source
  1. nav ul {
  2. border-bottom-color: #d0d0d0;
  3. }
  4. nav ul li a {
  5. border-radius: 1em 1em 0 0;
  6. }
  7. nav ul li.active {
  8. border-bottom-width: 0;
  9. }
  10. nav.eb-tabs ul li.active a {
  11. background-color: #d6d6d6;
  12. }
  13. .view .views-exposed-form {
  14. padding: 1.5em;
  15. background-color: #efefef;
  16. }
  17. .view .views-exposed-form .form--inline .form-item,
  18. .view .views-exposed-form .form--inline .form-actions {
  19. margin-top: 0;
  20. margin-bottom: 0;
  21. display: inline-block;
  22. }
  23. .view .view-content {
  24. margin: 2em 0;
  25. }
  26. .view .views-col {
  27. position: relative;
  28. width: 100%;
  29. }
  30. .view .views-col img {
  31. border: 2px solid #cccccc;
  32. max-width: 95%;
  33. max-height: 100%;
  34. height: auto;
  35. }
  36. .view .views-col.selected img {
  37. border: 2px solid #37802f;
  38. }
  39. .view .views-col.selected::before {
  40. content: " ";
  41. width: 100%;
  42. height: 100%;
  43. top: 0;
  44. bottom: 0;
  45. right: 0;
  46. left: 0;
  47. position: absolute;
  48. background: transparent url(../images/check.svg) no-repeat center center;
  49. background-size: 40%;
  50. -webkit-transition: all 0.2s;
  51. transition: all 0.2s;
  52. display: block;
  53. z-index: 10;
  54. }
  55. .view .views-col .field--name-name {
  56. display: none;
  57. position: absolute;
  58. bottom: 8px;
  59. width: 95%;
  60. box-sizing: border-box;
  61. z-index: 4;
  62. background-color: rgba(0,0,0,.8);
  63. padding: 5px;
  64. margin: 0 2px;
  65. color: #fff;
  66. font-size: 9px;
  67. word-wrap: break-word;
  68. }
  69. .view .views-col:hover {
  70. cursor: pointer;
  71. }
  72. .view .views-col:hover .field--name-name {
  73. display: block;
  74. }
  75. .view .views-col .js-form-item {
  76. position: absolute !important;
  77. clip: rect(1px,1px,1px,1px);
  78. overflow: hidden;
  79. height: 1px;
  80. width: 1px;
  81. word-wrap: normal;
  82. }
  83. body #edit-selected.entities-list {
  84. background: #efefef;
  85. padding: 5px;
  86. margin: 5px;
  87. overflow-x: auto;
  88. overflow-y: hidden;
  89. white-space: nowrap;
  90. clear: both;
  91. }
  92. body #edit-selected.entities-list .item-container {
  93. display: inline-block !important;
  94. position: relative;
  95. text-align: center;
  96. width: 150px !important;
  97. height: 110px !important;
  98. background: #000;
  99. }
  100. body #edit-selected.entities-list .item-container .contextual-region {
  101. position: initial;
  102. }
  103. body #edit-selected.entities-list .item-container .field--name-name {
  104. display: none;
  105. position: absolute;
  106. bottom: 3px;
  107. left: 0;
  108. right: 0;
  109. padding: 0.5em;
  110. margin: 0;
  111. background: #000;
  112. opacity: 1;
  113. font-size: 9px;
  114. color: #fff;
  115. word-break: break-all;
  116. overflow: hidden;
  117. max-width: 75ch;
  118. }
  119. body #edit-selected.entities-list .item-container:hover .field--name-name,
  120. body #edit-selected.entities-list .item-container:hover input,
  121. body #edit-selected.entities-list .item-container:hover button {
  122. display: block;
  123. }
  124. body #edit-selected.entities-list .item-container input,
  125. body #edit-selected.entities-list .item-container button {
  126. position: absolute;
  127. top: 0;
  128. display: none;
  129. font-size: 0;
  130. border: 0;
  131. padding: 0;
  132. border: 0;
  133. width: 30px;
  134. height: 30px;
  135. margin: 5px;
  136. background: transparent;
  137. background-color: transparent;
  138. cursor: pointer;
  139. opacity: 1;
  140. }
  141. body #edit-selected.entities-list .item-container img.image-style-field-preview {
  142. overflow: auto;
  143. margin: auto;
  144. position: absolute;
  145. top: 0;
  146. left: 0;
  147. bottom: 0;
  148. right: 0;
  149. }