Нема описа
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.

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130
  1. // Bubble form editing
  2. // Very similar to the main form, but attached to a particular node and the
  3. // form layout is slightly different with the fields container and buttons
  4. // making up a table of a single row and two columns. This allows the buttons
  5. // to be removed from the display and under this condition the fields will
  6. // take up the full width available.
  7. div.DTE_Bubble {
  8. position: absolute;
  9. z-index: 11;
  10. margin-top: -6px;
  11. opacity: 0;
  12. div.DTE_Bubble_Liner {
  13. position: absolute;
  14. bottom: 0;
  15. border: 1px solid black;
  16. width: 300px;
  17. margin-left: -150px;
  18. background-color: white;
  19. box-shadow: 0 12px 30px 0 rgba(0,0,0,.5);
  20. border-radius: 6px;
  21. border: 1px solid #666;
  22. padding: 1em;
  23. background: #fcfcfc;
  24. @include box-sizing(border-box);
  25. div.DTE_Bubble_Table {
  26. width: 100%;
  27. > form {
  28. div.DTE_Form_Content {
  29. padding: 0;
  30. div.DTE_Field {
  31. position: relative;
  32. zoom: 1;
  33. margin-bottom: 0.5em;
  34. &:last-child {
  35. margin-bottom: 0;
  36. }
  37. > label {
  38. padding-top: 0;
  39. margin-bottom: 0;
  40. }
  41. > div {
  42. padding: 0;
  43. input {
  44. margin: 0;
  45. }
  46. }
  47. }
  48. }
  49. }
  50. div.DTE_Form_Buttons {
  51. text-align: right;
  52. margin-top: 1em;
  53. button {
  54. margin-bottom: 0;
  55. }
  56. }
  57. }
  58. div.DTE_Header {
  59. border-top-left-radius: 5px;
  60. border-top-right-radius: 5px;
  61. }
  62. div.DTE_Header + div.DTE_Form_Info,
  63. div.DTE_Header + div.DTE_Bubble_Table {
  64. padding-top: 42px;
  65. }
  66. div.DTE_Form_Error {
  67. float: none;
  68. display: none;
  69. padding: 0;
  70. margin-bottom: 0.5em;
  71. }
  72. div.DTE_Bubble_Close {
  73. @include close-icon();
  74. }
  75. }
  76. div.DTE_Bubble_Triangle {
  77. position: absolute;
  78. height: 10px;
  79. width: 10px;
  80. top: -6px;
  81. background-color: white;
  82. border: 1px solid #666;
  83. border-top: none;
  84. border-right: none;
  85. -webkit-transform: rotate(-45deg);
  86. -moz-transform: rotate(-45deg);
  87. -ms-transform: rotate(-45deg);
  88. -o-transform: rotate(-45deg);
  89. transform: rotate(-45deg);
  90. }
  91. &.below {
  92. div.DTE_Bubble_Liner {
  93. top: 10px;
  94. bottom: auto;
  95. }
  96. div.DTE_Bubble_Triangle {
  97. top: 4px;
  98. -webkit-transform: rotate(135deg);
  99. -moz-transform: rotate(135deg);
  100. -ms-transform: rotate(135deg);
  101. -o-transform: rotate(135deg);
  102. transform: rotate(135deg);
  103. }
  104. }
  105. }
  106. div.DTE_Bubble_Background {
  107. @include overlay-background();
  108. }