You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

98 lines
2.1 KiB

  1. /*******************************
  2. Modal Styles
  3. *******************************/
  4. .ui.modal {
  5. display: none;
  6. position: absolute;
  7. z-index: 1001;
  8. top: 50%;
  9. left: 50%;
  10. margin-left: -400px;
  11. width: 800px;
  12. -webkit-box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.8);
  13. -moz-box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.8);
  14. box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.8);
  15. -webkit-border-radius: 5px;
  16. -moz-border-radius: 5px;
  17. border-radius: 5px;
  18. }
  19. .ui.page.modal {
  20. position: fixed;
  21. }
  22. /*--------------
  23. Close Button
  24. ---------------*/
  25. .ui.modal > .close {
  26. cursor: pointer;
  27. position: absolute;
  28. font-size: 1.25em;
  29. color: #FFFFFF;
  30. top: -1.75em;
  31. right: -1.75em;
  32. opacity: 0.8;
  33. }
  34. .ui.modal > .close:hover {
  35. opacity: 1;
  36. }
  37. /*--------------
  38. Header
  39. ---------------*/
  40. .ui.modal > .header {
  41. background-color: #442359;
  42. padding: 1em 2em;
  43. -webkit-border-radius: 0.325em 0.325em 0px 0px;
  44. -moz-border-radius: 0.325em 0.325em 0px 0px;
  45. border-radius: 0.325em 0.325em 0px 0px;
  46. }
  47. .ui.modal > .header h2 {
  48. margin: 0px;
  49. font-size: 1.5em;
  50. font-weight: bold;
  51. color: #FFFFFF;
  52. }
  53. .ui.modal > .content {
  54. position: relative;
  55. overflow: hidden;
  56. padding: 2em;
  57. background-color: #FAFAFA;
  58. -webkit-border-radius: 0px 0px 0.325em 0.325em;
  59. -moz-border-radius: 0px 0px 0.325em 0.325em;
  60. border-radius: 0px 0px 0.325em 0.325em;
  61. }
  62. .ui.modal > .content .left {
  63. float: left;
  64. width: 50%;
  65. }
  66. .ui.modal > .content .right {
  67. float: right;
  68. width: 50%;
  69. }
  70. .ui.modal.fixed {
  71. position: fixed;
  72. }
  73. /* Static In-Page Modal */
  74. .ui.modal.static {
  75. display: block;
  76. position: relative;
  77. overflow: hidden;
  78. top: 0px;
  79. left: 0px;
  80. border: 1px solid #CCCCCC;
  81. width: auto;
  82. height: auto;
  83. margin: 0px auto;
  84. -webkit-border-radius: 0px;
  85. -moz-border-radius: 0px;
  86. border-radius: 0px;
  87. color: #555555;
  88. z-index: 2;
  89. -moz-box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.2);
  90. -webkit-box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.2);
  91. box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.2);
  92. }
  93. .ui.modal.static > .header,
  94. .ui.modal.static > .content {
  95. -webkit-border-radius: 0px;
  96. -moz-border-radius: 0px;
  97. border-radius: 0px;
  98. }