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.

95 lines
2.0 KiB

  1. /*******************************
  2. Modal Styles
  3. *******************************/
  4. .ui.modal {
  5. display: none;
  6. position: fixed;
  7. z-index: 1000;
  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. /* Static In-Page Modal */
  71. .ui.modal.static {
  72. display: block;
  73. position: relative;
  74. overflow: hidden;
  75. top: 0px;
  76. left: 0px;
  77. border: 1px solid #CCCCCC;
  78. width: auto;
  79. height: auto;
  80. margin: 0px auto;
  81. -webkit-border-radius: 0px;
  82. -moz-border-radius: 0px;
  83. border-radius: 0px;
  84. color: #555555;
  85. z-index: 2;
  86. -moz-box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.2);
  87. -webkit-box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.2);
  88. box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.2);
  89. }
  90. .ui.modal.static > .header,
  91. .ui.modal.static > .content {
  92. -webkit-border-radius: 0px;
  93. -moz-border-radius: 0px;
  94. border-radius: 0px;
  95. }