You are here

content_browser.view.css in Content Browser 8

File

css/content_browser.view.css
View source
  1. /**
  2. * @file content_browser.view.css
  3. */
  4. /* Theme overrides to prevent flicker on load .*/
  5. body {
  6. background: white !important;
  7. display: none;
  8. }
  9. /* Generic styles */
  10. .pager {
  11. padding: 20px;
  12. }
  13. .content-browser-form {
  14. position: relative;
  15. padding-bottom: 50px;
  16. }
  17. .content-browser-form .eb-tabs {
  18. display: none;
  19. }
  20. .content-browser-form input[type="submit"][name="filter"] {
  21. margin-left: 10px;
  22. margin-top: 30px;
  23. }
  24. .layout-container {
  25. margin: 0;
  26. }
  27. /* Hide contextual links when using Content Browser. */
  28. .content-browser-form .contextual {
  29. display: none;
  30. }
  31. /* Reduce width of Author(s) field. */
  32. .content-browser-form .form-item-uid {
  33. max-width: 250px;
  34. }
  35. /* Keep the second row below the first. */
  36. .content-browser-form .second-row {
  37. margin-left: 0;
  38. clear: left;
  39. }
  40. /* Do some fancy things to allow users to click on content, not checkboxes. */
  41. .content-browser-form .views-row {
  42. position: relative;
  43. display: block;
  44. overflow: hidden;
  45. padding: 5px;
  46. margin: 0 0 10px 0;
  47. transition: .2s;
  48. width: 345px;
  49. height: 345px;
  50. background: transparent;
  51. border: 1px solid lightgray;
  52. box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.13);
  53. }
  54. .content-browser-form .views-row:after {
  55. content: " ";
  56. width: 100%;
  57. height: 100%;
  58. top: 0;
  59. left: 0;
  60. position: absolute;
  61. background: transparent url("/core/misc/icons/73b355/check.svg") no-repeat center center;
  62. background-size: 0;
  63. -webkit-transition: all 0.2s;
  64. transition: all 0.2s;
  65. }
  66. .content-browser-form .views-row:hover {
  67. background: rgba(142, 222, 142, 0.16);
  68. }
  69. .content-browser-form .views-row.checked {
  70. background: rgba(142, 222, 142, 0.47);
  71. border: 1px solid rgba(1, 97, 15, 0.67);
  72. }
  73. .content-browser-form .views-row.checked:after {
  74. background-size: 80px 80px;
  75. }
  76. .content-browser-form .views-field-entity-browser-select {
  77. cursor: pointer;
  78. position: absolute;
  79. z-index: 1;
  80. left: 0;
  81. top: 0;
  82. width: 100%;
  83. height: 100%;
  84. }
  85. .content-browser-form .views-field-entity-browser-select .field-content {
  86. display: none;
  87. }
  88. .content-browser-form .views-exposed-form .form-actions {
  89. display: inline-block;
  90. margin: 1.5em 0 0 0;
  91. }
  92. .content-browser-form .content-browser-actions {
  93. position: fixed;
  94. z-index: 1;
  95. bottom: 0;
  96. padding: 0;
  97. background: white;
  98. width: 100%;
  99. border-top: 1px solid lightgray;
  100. }
  101. .content-browser-form .content-browser-actions .form-actions {
  102. margin: 0;
  103. }
  104. .content-browser-page {
  105. background: white;
  106. }
  107. .content-browser-page .page-title {
  108. display: none;
  109. }