You are here

media_directories_ui.browser.css in Media Directories 8

.browser {
  display: flex;
  flex-wrap: wrap;
  box-sizing: border-box;
  height: 100vh;
  border: 1px solid #ccc;
  border-radius: 3px;
  -webkit-touch-callout: none; /* iOS Safari */
  -webkit-user-select: none; /* Safari */
  -khtml-user-select: none; /* Konqueror HTML */
  -moz-user-select: none; /* Firefox */
  -ms-user-select: none; /* Internet Explorer/Edge */
  user-select: none;
}

.browser > div {
  box-sizing: border-box;
}

.browser .form-actions {
  margin: 0 1em;
}

.browser--header {
  width: 100%;
  background: #e1e2dc;
  border-bottom: 1px solid #ccc;
  padding: 1em;
  align-self: self-start;
}

.browser--body {
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  align-self: stretch;
  height: calc(100% - 53px - 53px);
  width: 100%;
}

.browser--footer {
  display: flex;
  justify-content: flex-end;
  width: 100%;
  background: #e1e2dc;
  border-top: 1px solid #ccc;
  padding: 1em;
  align-self: self-end;
}

.browser--tree {
  overflow: auto;
  width: 25%;
  max-width: 350px;
  background: #fcfcfa;
  padding: 0;
  border-right: 1px solid #ccc;
}

.browser--listing {
  width: 75%;
  flex-grow: 1;
  padding: 1em;
  overflow: auto;
}

.browser--listing .form-actions {
  display: none;
}

.browser-toolbar {
  display: flex;
}

.browser-toolbar__item {
  margin-right: 1em;
  align-self: center;
}

.browser-toolbar__item-right {
  margin-left: auto;
  align-self: center;
}

.media-browser--full .browser {
  height: 67vh;
}

.media-browser--full .browser--body {
  height: calc(100% - 53px - 47px);
}

.jstree-wholerow-ul {
  width: 100%;
}

File

modules/media_directories_ui/css/media_directories_ui.browser.css
View source
  1. .browser {
  2. display: flex;
  3. flex-wrap: wrap;
  4. box-sizing: border-box;
  5. height: 100vh;
  6. border: 1px solid #ccc;
  7. border-radius: 3px;
  8. -webkit-touch-callout: none; /* iOS Safari */
  9. -webkit-user-select: none; /* Safari */
  10. -khtml-user-select: none; /* Konqueror HTML */
  11. -moz-user-select: none; /* Firefox */
  12. -ms-user-select: none; /* Internet Explorer/Edge */
  13. user-select: none;
  14. }
  15. .browser > div {
  16. box-sizing: border-box;
  17. }
  18. .browser .form-actions {
  19. margin: 0 1em;
  20. }
  21. .browser--header {
  22. width: 100%;
  23. background: #e1e2dc;
  24. border-bottom: 1px solid #ccc;
  25. padding: 1em;
  26. align-self: self-start;
  27. }
  28. .browser--body {
  29. display: flex;
  30. flex-wrap: nowrap;
  31. align-items: stretch;
  32. align-self: stretch;
  33. height: calc(100% - 53px - 53px);
  34. width: 100%;
  35. }
  36. .browser--footer {
  37. display: flex;
  38. justify-content: flex-end;
  39. width: 100%;
  40. background: #e1e2dc;
  41. border-top: 1px solid #ccc;
  42. padding: 1em;
  43. align-self: self-end;
  44. }
  45. .browser--tree {
  46. overflow: auto;
  47. width: 25%;
  48. max-width: 350px;
  49. background: #fcfcfa;
  50. padding: 0;
  51. border-right: 1px solid #ccc;
  52. }
  53. .browser--listing {
  54. width: 75%;
  55. flex-grow: 1;
  56. padding: 1em;
  57. overflow: auto;
  58. }
  59. .browser--listing .form-actions {
  60. display: none;
  61. }
  62. .browser-toolbar {
  63. display: flex;
  64. }
  65. .browser-toolbar__item {
  66. margin-right: 1em;
  67. align-self: center;
  68. }
  69. .browser-toolbar__item-right {
  70. margin-left: auto;
  71. align-self: center;
  72. }
  73. .media-browser--full .browser {
  74. height: 67vh;
  75. }
  76. .media-browser--full .browser--body {
  77. height: calc(100% - 53px - 47px);
  78. }
  79. .jstree-wholerow-ul {
  80. width: 100%;
  81. }