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.4KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  1. .oc-dialog {
  2. background: var(--color-main-background);
  3. color: var(--color-text-light);
  4. border-radius: var(--border-radius);
  5. box-shadow: 0 0 7px var(--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: var(--color-main-background);
  20. margin-left: 12px;
  21. }
  22. .oc-dialog-buttonrow {
  23. position: relative;
  24. display: flex;
  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), var(--color-main-background));
  33. border-bottom-left-radius: 3px;
  34. border-bottom-right-radius: 3px;
  35. &.twobuttons {
  36. justify-content: space-between;
  37. }
  38. &.onebutton,
  39. &.twobuttons.aside {
  40. justify-content: flex-end;
  41. }
  42. }
  43. .oc-dialog-close {
  44. position: absolute;
  45. top: 0;
  46. right: 0;
  47. padding: 25px;
  48. background: url('../img/actions/close.svg') no-repeat center;
  49. }
  50. .oc-dialog-dim {
  51. background-color: #000;
  52. opacity: .20;
  53. z-index: 9999;
  54. position: fixed;
  55. top: 0; left: 0;
  56. width: 100%; height: 100%;
  57. }
  58. .oc-dialog-content {
  59. width: 100%;
  60. }
  61. .oc-dialog.password-confirmation {
  62. .oc-dialog-content {
  63. width: auto;
  64. margin: 12px;
  65. input[type=password] {
  66. width: 100%;
  67. }
  68. label {
  69. display: none;
  70. }
  71. }
  72. }