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.

jquery.ocdialog.scss 1.6KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  1. .oc-dialog {
  2. background: $color-main-background;
  3. color: nc-darken($color-main-text, 20%);
  4. border-radius: $border-radius;
  5. box-shadow: 0 0 7px $color-box-shadow;
  6. padding: 15px;
  7. z-index: 10000;
  8. font-size: 100%;
  9. box-sizing: border-box;
  10. min-width: 200px;
  11. top: 50%;
  12. left: 50%;
  13. transform: translate(-50%, -50%);
  14. max-height: calc(100% - 20px);
  15. max-width: calc(100% - 20px);
  16. overflow: auto;
  17. }
  18. .oc-dialog-title {
  19. background: $color-main-background;
  20. margin-left: 12px;
  21. }
  22. .oc-dialog-buttonrow {
  23. position: relative;
  24. display: block;
  25. background: transparent;
  26. right: 0;
  27. bottom: 0;
  28. padding: 10px;
  29. padding-bottom: 0;
  30. box-sizing: border-box;
  31. width: 100%;
  32. background-image: linear-gradient(rgba(255, 255, 255, 0.0), $color-main-background);
  33. border-bottom-left-radius: 3px;
  34. border-bottom-right-radius: 3px;
  35. }
  36. /* align primary button to right, other buttons to left */
  37. .oc-dialog-buttonrow.twobuttons button:nth-child(1) {
  38. float: left;
  39. }
  40. .oc-dialog-buttonrow.twobuttons.aside button:nth-child(1) {
  41. float: none;
  42. }
  43. .oc-dialog-buttonrow.twobuttons button:nth-child(2) {
  44. float: right;
  45. }
  46. .oc-dialog-buttonrow.onebutton button {
  47. float: right;
  48. }
  49. .oc-dialog-buttonrow:after {
  50. visibility: hidden;
  51. display: block;
  52. font-size: 0;
  53. content: " ";
  54. clear: both;
  55. height: 0;
  56. }
  57. .oc-dialog-close {
  58. position: absolute;
  59. top: 0;
  60. right: 0;
  61. padding: 25px;
  62. background: url('../img/actions/close.svg') no-repeat center;
  63. }
  64. .oc-dialog-dim {
  65. background-color: #000;
  66. opacity: .20;
  67. z-index: 999;
  68. position: fixed;
  69. top: 0; left: 0;
  70. width: 100%; height: 100%;
  71. }
  72. .oc-dialog-content {
  73. width: 100%;
  74. }