MigrationView.scss 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116
  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. $migrationHeaderBg: #D9DCE3;
  16. .root {
  17. .loadingWrapper {
  18. padding-top: 10%;
  19. }
  20. }
  21. .migrationHead {
  22. background-color: $migrationHeaderBg;
  23. margin-top: 64px;
  24. padding: 16px;
  25. .migrationTypeImg {
  26. margin-right: 64px;
  27. float: left;
  28. }
  29. .migrationInfo {
  30. float: left;
  31. width: 425px;
  32. .migrationStatus {
  33. width: 80px;
  34. height: 16px;
  35. font-weight: 500;
  36. font-size: 9px;
  37. border-radius: 4px;
  38. color: #FFF;
  39. display: inline-block;
  40. text-align: center;
  41. margin-top: 1px;
  42. &:global(.PAUSED) {
  43. background-color: $gray;
  44. }
  45. }
  46. .migrationType {
  47. width: 80px;
  48. height: 13px;
  49. padding-top: 1px;
  50. font-weight: 500;
  51. font-size: 9px;
  52. background-color: #FFF;
  53. border-radius: 4px;
  54. text-align: center;
  55. display: inline-block;
  56. text-transform: uppercase;
  57. border: 1px solid $blue;
  58. color: $blue;
  59. margin-right: 16px;
  60. &:global(.replica) {
  61. border: 1px solid $color-replica;
  62. color: $color-replica;
  63. }
  64. }
  65. }
  66. .migrationActions {
  67. float: right;
  68. margin-top: 16px;
  69. :global(.Dropdown-root) {
  70. width: 160px;
  71. float: left;
  72. }
  73. button {
  74. margin-left: 16px;
  75. }
  76. }
  77. &:after {
  78. clear: both;
  79. content: " ";
  80. display: block;
  81. height: 0;
  82. }
  83. }
  84. .container {
  85. margin: 0 auto;
  86. padding: 0;
  87. max-width: $narrow-content-width;
  88. }
  89. .sidebar {
  90. padding-top: 32px;
  91. width: 128px;
  92. float: left;
  93. a {
  94. display: block;
  95. /* Tasks: */
  96. font-weight: $weight-regular;
  97. font-size: 16px;
  98. color: $gray;
  99. text-decoration: none;
  100. margin-bottom: 16px;
  101. &:global(.active) {
  102. color: $blue;
  103. }
  104. }
  105. }
  106. .content {
  107. padding-top: 32px;
  108. float: left;
  109. width: 800px;
  110. }