detailsView.css 2.3 KB

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