dialog.css 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119
  1. /*!
  2. * Copyright 2017 The SwitchyOmega Authors. Please see the AUTHORS file
  3. * for details.
  4. * Based on Bootstrap v3.3.2 (http://getbootstrap.com)
  5. * Copyright 2011-2015 Twitter, Inc.
  6. * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
  7. */
  8. /* Dialog */
  9. body, html {
  10. margin: 0;
  11. padding: 0;
  12. }
  13. p {
  14. margin: 0 0 1em 0;
  15. }
  16. .om-dialog {
  17. min-width: 400px;
  18. padding: 10px 10px;
  19. font-size: 14px;
  20. }
  21. .om-text-danger {
  22. color: #a94442;
  23. }
  24. .om-dialog-help {
  25. display: block;
  26. margin-top: 5px;
  27. margin-bottom: 10px;
  28. color: #737373;
  29. }
  30. .om-dialog-controls {
  31. margin-bottom: 0;
  32. }
  33. .om-dialog-controls .om-btn-primary {
  34. float: right;
  35. }
  36. /* Button */
  37. .om-btn {
  38. display: inline-block;
  39. padding: 6px 12px;
  40. margin-bottom: 0;
  41. font-size: 14px;
  42. font-weight: 400;
  43. line-height: 1.42857143;
  44. text-align: center;
  45. white-space: nowrap;
  46. vertical-align: middle;
  47. -ms-touch-action: manipulation;
  48. touch-action: manipulation;
  49. cursor: pointer;
  50. -webkit-user-select: none;
  51. -moz-user-select: none;
  52. -ms-user-select: none;
  53. user-select: none;
  54. background-image: none;
  55. border: 1px solid transparent;
  56. border-radius: 4px
  57. }
  58. .om-btn.active, .om-btn:active {
  59. background-image: none;
  60. outline: 0;
  61. -webkit-box-shadow: inset 0 3px 5px rgba(0,0,0,.125);
  62. box-shadow: inset 0 3px 5px rgba(0,0,0,.125);
  63. }
  64. .om-btn-default {
  65. color: #333;
  66. background-color: #fff;
  67. border-color: #ccc;
  68. }
  69. .om-btn-default:hover {
  70. background-color: #e6e6e6;
  71. border-color: #adadad;
  72. }
  73. .om-btn-link {
  74. font-weight: 400;
  75. color: #337ab7;
  76. border-radius: 0;
  77. background-color: rgba(0, 0, 0, 0);
  78. -webkit-box-shadow: none;
  79. box-shadow: none;
  80. border-color: rgba(0, 0, 0, 0);
  81. }
  82. .om-btn-link:hover {
  83. color: #23527c;
  84. text-decoration: underline;
  85. background-color: rgba(0, 0, 0, 0);
  86. }
  87. .om-btn-link:active {
  88. background-color: rgba(0, 0, 0, 0);
  89. -webkit-box-shadow: none;
  90. box-shadow: none;
  91. }
  92. .om-btn-primary {
  93. color: #fff;
  94. background-color: #337ab7;
  95. border-color: #2e6da4;
  96. }
  97. .om-btn-primary:hover {
  98. color: #fff;
  99. background-color: #286090;
  100. border-color: #204d74;
  101. }