detailsView.css 2.5 KB

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