_server-info.scss 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899
  1. /* Copyright (c) 2018 Michael Weimann <mail@michael-weimann.eu
  2. This file is licensed under the Affero General Public License version 3 or later.
  3. See the COPYING-README file. */
  4. .server-info-settings {
  5. .label {
  6. display: block;
  7. }
  8. .form-input {
  9. margin-bottom: 10px;
  10. width: 100%;
  11. }
  12. .margin-bottom {
  13. margin-bottom: 15px;
  14. }
  15. .form-actions {
  16. text-align: right;
  17. .button {
  18. align-items: center;
  19. display: inline-flex;
  20. margin: 0;
  21. transition: background-color 500ms linear;
  22. .default-label,
  23. .working-label,
  24. .success-label,
  25. .error-label {
  26. align-items: center;
  27. gap: 4px;
  28. }
  29. .working-label,
  30. .success-label,
  31. .error-label {
  32. display: none;
  33. }
  34. }
  35. .button-working,
  36. .button-success,
  37. .button-error {
  38. background-color: $color-background-dark;
  39. color: $color-text-lighter;
  40. opacity: 1;
  41. .default-label {
  42. display: none;
  43. }
  44. }
  45. .button-working {
  46. .working-label {
  47. display: inline-flex;
  48. }
  49. }
  50. .button-success {
  51. background-color: $color-success;
  52. border-color: darken($color-success, 10%);
  53. color: $color-primary-text-dark;
  54. .success-label {
  55. display: inline-flex;
  56. }
  57. }
  58. .button-error {
  59. background-color: $color-error;
  60. border-color: darken($color-error, 10%);
  61. color: $color-primary-text-dark;
  62. .error-label {
  63. display: inline-flex;
  64. }
  65. }
  66. }
  67. @media (min-width: 1000px) {
  68. .label {
  69. display: inline-block;
  70. text-align: right;
  71. width: 175px;
  72. }
  73. .form-input {
  74. margin-left: 5px;
  75. width: 225px;
  76. }
  77. .form-actions {
  78. margin-left: 180px;
  79. width: 225px;
  80. }
  81. }
  82. }