detailsView.css 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109
  1. #app-sidebar .detailFileInfoContainer {
  2. min-height: 50px;
  3. padding: 15px;
  4. }
  5. #app-sidebar .detailFileInfoContainer > div {
  6. clear: both;
  7. }
  8. #app-sidebar .mainFileInfoView {
  9. margin-right: 20px; /* accomodate for close icon */
  10. float:left;
  11. display:block;
  12. width: 100%;
  13. }
  14. #app-sidebar .file-details-container {
  15. display: inline-block;
  16. float: left;
  17. }
  18. #app-sidebar .thumbnailContainer.image {
  19. margin-left: -15px;
  20. margin-right: -35px; /* 15 + 20 for the close button */
  21. margin-top: -15px;
  22. }
  23. #app-sidebar .thumbnailContainer.image.portrait {
  24. margin: 0; /* if we dont fit the image anyway we give it back the margin */
  25. }
  26. #app-sidebar .image .thumbnail {
  27. width:100%;
  28. display:block;
  29. background-repeat: no-repeat;
  30. background-position: center;
  31. background-size: 100%;
  32. float: none;
  33. margin: 0;
  34. height: auto;
  35. }
  36. #app-sidebar .image .thumbnail .stretcher {
  37. content: '';
  38. display: block;
  39. padding-bottom: 56.25%; /* sets height of .thumbnail to 9/16 of the width */
  40. }
  41. #app-sidebar .image.portrait .thumbnail {
  42. background-position: 50% top;
  43. }
  44. #app-sidebar .image.portrait .thumbnail {
  45. background-size: contain;
  46. }
  47. #app-sidebar .thumbnail {
  48. width: 75px;
  49. height: 75px;
  50. display: inline-block;
  51. float: left;
  52. margin-right: 10px;
  53. background-size: 75px;
  54. }
  55. #app-sidebar .ellipsis {
  56. white-space: nowrap;
  57. text-overflow: ellipsis;
  58. overflow: hidden;
  59. }
  60. #app-sidebar .fileName {
  61. font-size: 16px;
  62. padding-top: 13px;
  63. padding-bottom: 3px;
  64. }
  65. #app-sidebar .fileName h3 {
  66. max-width: 300px;
  67. display: inline-block;
  68. padding: 5px 0;
  69. margin: -5px 0;
  70. }
  71. #app-sidebar .file-details {
  72. color: #999;
  73. }
  74. #app-sidebar .file-details img {
  75. -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";
  76. opacity: .5;
  77. }
  78. #app-sidebar .action-favorite {
  79. vertical-align: text-bottom;
  80. padding: 10px;
  81. margin: -10px;
  82. }
  83. #app-sidebar .detailList {
  84. float: left;
  85. }
  86. #app-sidebar .close {
  87. position: absolute;
  88. top: 0;
  89. right: 0;
  90. padding: 15px;
  91. -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";
  92. opacity: .5;
  93. }