EndpointList.scss 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185
  1. /*
  2. Copyright (C) 2017 Cloudbase Solutions SRL
  3. This program is free software: you can redistribute it and/or modify
  4. it under the terms of the GNU Affero General Public License as
  5. published by the Free Software Foundation, either version 3 of the
  6. License, or (at your option) any later version.
  7. This program is distributed in the hope that it will be useful,
  8. but WITHOUT ANY WARRANTY; without even the implied warranty of
  9. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  10. GNU Affero General Public License for more details.
  11. You should have received a copy of the GNU Affero General Public License
  12. along with this program. If not, see <http://www.gnu.org/licenses/>.
  13. */
  14. @import '../variables.scss';
  15. .root {
  16. height: 100%;
  17. }
  18. .pageHeader {
  19. padding: 44px 64px 0;
  20. flex: 1;
  21. h1 {
  22. float: left;
  23. margin: 0;
  24. }
  25. .top {
  26. &:after {
  27. content: " ";
  28. clear: both;
  29. display: block;
  30. height: 0;
  31. }
  32. margin-bottom: 48px;
  33. }
  34. .topActions {
  35. float: right;
  36. margin-top: 3px;
  37. :global(.Dropdown-root) {
  38. margin-right: 16px;
  39. float: left;
  40. width: 160px;
  41. :global(.Dropdown-control) {
  42. text-align: left;
  43. }
  44. }
  45. }
  46. :global(.filters) {
  47. :global(.category-filter) {
  48. float: left;
  49. padding: 2px 8px 2px 0;
  50. margin-top: 7px;
  51. border-right: 1px solid $gray-dark;
  52. }
  53. :global(.name-filter) {
  54. float: left;
  55. padding-left: 24px;
  56. margin-top: 2px;
  57. }
  58. &:after {
  59. clear: both;
  60. content: ' ';
  61. display: block;
  62. height: 0;
  63. }
  64. }
  65. }
  66. .pageContent {
  67. flex: 10;
  68. overflow-y: auto;
  69. padding: 0 64px;
  70. }
  71. .pageFooter {
  72. flex: 1;
  73. padding: 16px 64px 44px;
  74. :global(.Dropdown-root) {
  75. width: 160px;
  76. float: left;
  77. }
  78. .connectionsCount {
  79. float: left;
  80. line-height: 32px;
  81. margin-left: 16px;
  82. }
  83. }
  84. .bulkActions {
  85. float: right;
  86. padding-top: 2px;
  87. transition: opacity $animation-swift-out;
  88. :global(.Dropdown-root) {
  89. width: 160px;
  90. float: left;
  91. }
  92. .connectionsCount {
  93. float: left;
  94. line-height: 32px;
  95. margin-right: 16px;
  96. }
  97. }
  98. .container {
  99. margin: 0 auto;
  100. padding: 0;
  101. max-width: $max-content-width;
  102. height: 100%;
  103. display: flex;
  104. flex-direction: column;
  105. :global(.items-list) {
  106. :global(.item) {
  107. position: relative;
  108. span:global(.cell):nth-child(1) {
  109. flex: 3;
  110. cursor: pointer;
  111. }
  112. span:global(.cell):nth-child(2) {
  113. flex: 2;
  114. }
  115. span:global(.cell):nth-child(3) {
  116. flex: 2;
  117. }
  118. span:global(.cell):nth-child(4) {
  119. flex: 3;
  120. }
  121. :global(.checkbox-container) {
  122. position: absolute;
  123. left: -32px;
  124. top: 21px;
  125. opacity: 0;
  126. transition: opacity $animation-swift-out;
  127. }
  128. &:hover, &:global(.selected) {
  129. :global(.checkbox-container) {
  130. opacity: 1;
  131. }
  132. }
  133. .description {
  134. display: block;
  135. color: $gray-dark;
  136. font-size: 14px;
  137. }
  138. :global(.icon.small-cloud) {
  139. margin: 0 auto;
  140. }
  141. }
  142. .composite {
  143. flex-direction: column;
  144. align-items: flex-start;
  145. .label {
  146. display: block;
  147. color: $gray-dark;
  148. margin-top: 4px;
  149. }
  150. .value {
  151. color: $blue;
  152. width: 100%;
  153. display: inline-block;
  154. }
  155. }
  156. }
  157. .connectionStatus {
  158. width: 96px;
  159. border-radius: 4px;
  160. color: #FFF;
  161. line-height: 16px;
  162. display: block;
  163. font-size: 10px;
  164. text-align: center;
  165. &:global(.PAUSED) {
  166. background-color: $gray;
  167. }
  168. }
  169. .chevronRight {
  170. background-image: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iOHB4IiBoZWlnaHQ9IjEzcHgiIHZpZXdCb3g9IjQgMiA4IDEzIiB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiPjxwb2x5Z29uIGlkPSJDb21iaW5lZC1TaGFwZSIgc3Ryb2tlPSJub25lIiBmaWxsPSIjNjE2NzcwIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDguMDAwMDAwLCA4LjM2Mzk2MSkgcm90YXRlKC05MC4wMDAwMDApIHRyYW5zbGF0ZSgtOC4wMDAwMDAsIC04LjM2Mzk2MSkgIiBwb2ludHM9IjggMTAuMzgyMzM3NiAyLjUwMjYwNzAyIDUgMS44MTU0MzI4OSA1LjY3Mjc5MjIxIDggMTEuNzI3OTIyMSAxNC4xODQ1NjcxIDUuNjcyNzkyMjEgMTMuNDk3MzkzIDUgOCAxMC4zODIzMzc2Ij48L3BvbHlnb24+PC9zdmc+');
  171. width: 8px;
  172. height: 13px;
  173. display: inline-block;
  174. margin: 0 16px;
  175. }
  176. }