detailsView.scss 2.2 KB

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