You are here

media_acquiadam_browser.asset.css in Media: Acquia DAM 7

.browser-asset {
  width: 180px;
  position: relative;
}

.browser-asset .preview {
  cursor: pointer;
  line-height: 150px;
  padding: 10px;
}

.browser-asset .preview-body {
  height: 100%;
  text-align: center;
  width: 100%;
}

.browser-asset .preview-body img {
  border-radius: 5px;
  height: auto;
  width: auto;
  vertical-align: middle;
  max-width: 150px;
  max-height: 150px;
}

.browser-asset .label {
  background-color: rgb(233, 233, 233);
  cursor: pointer;
  margin-top: 5px;
  overflow: hidden;
  padding: 5px 25px 5px 5px;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.browser-asset[data-asset-status="inactive"] .preview img {
  opacity: .2;
}

.browser-asset[data-asset-status="inactive"] .preview-body:before {
  background-color: rgba(255, 0, 0, .1);
  border-radius: 5px;
  content: 'Unavailable';
  display: block;
  left: 5px;
  right: 5px;
  top: 5px;
  bottom: 35px;
  position: absolute;
}

.browser-asset[data-asset-type="folder"] .folder-tab {
  border-bottom: 10px solid #058fc8;
  border-right: 15px solid transparent;
  border-top-left-radius: 5px;
  height: 0px;
  max-width: 35%;
}

.browser-asset[data-asset-type="folder"] .preview-body {
  background-color: #4cafd7;
  border-radius: 5px;
  border-top-left-radius: 0;
  cursor: default;
  max-height: 142px;
}

.browser-asset[data-asset-type="folder"] .preview-body img {
  max-width: 90%;
  max-height: 110px;
  background-color: #FFF;
  border: 1px solid rgb(233, 233, 233);
}

File

modules/media_acquiadam_browser/css/media_acquiadam_browser.asset.css
View source
  1. .browser-asset {
  2. width: 180px;
  3. position: relative;
  4. }
  5. .browser-asset .preview {
  6. cursor: pointer;
  7. line-height: 150px;
  8. padding: 10px;
  9. }
  10. .browser-asset .preview-body {
  11. height: 100%;
  12. text-align: center;
  13. width: 100%;
  14. }
  15. .browser-asset .preview-body img {
  16. border-radius: 5px;
  17. height: auto;
  18. width: auto;
  19. vertical-align: middle;
  20. max-width: 150px;
  21. max-height: 150px;
  22. }
  23. .browser-asset .label {
  24. background-color: rgb(233, 233, 233);
  25. cursor: pointer;
  26. margin-top: 5px;
  27. overflow: hidden;
  28. padding: 5px 25px 5px 5px;
  29. text-align: center;
  30. text-overflow: ellipsis;
  31. white-space: nowrap;
  32. }
  33. .browser-asset[data-asset-status="inactive"] .preview img {
  34. opacity: .2;
  35. }
  36. .browser-asset[data-asset-status="inactive"] .preview-body:before {
  37. background-color: rgba(255, 0, 0, .1);
  38. border-radius: 5px;
  39. content: 'Unavailable';
  40. display: block;
  41. left: 5px;
  42. right: 5px;
  43. top: 5px;
  44. bottom: 35px;
  45. position: absolute;
  46. }
  47. .browser-asset[data-asset-type="folder"] .folder-tab {
  48. border-bottom: 10px solid #058fc8;
  49. border-right: 15px solid transparent;
  50. border-top-left-radius: 5px;
  51. height: 0px;
  52. max-width: 35%;
  53. }
  54. .browser-asset[data-asset-type="folder"] .preview-body {
  55. background-color: #4cafd7;
  56. border-radius: 5px;
  57. border-top-left-radius: 0;
  58. cursor: default;
  59. max-height: 142px;
  60. }
  61. .browser-asset[data-asset-type="folder"] .preview-body img {
  62. max-width: 90%;
  63. max-height: 110px;
  64. background-color: #FFF;
  65. border: 1px solid rgb(233, 233, 233);
  66. }