dialog.scss 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231
  1. @import "vars";
  2. @import "mixins";
  3. .separate {
  4. .icon {display: block; }
  5. .icon:after,
  6. .icon:before {
  7. font-size: 20px;
  8. }
  9. h4 {padding: 0px !important; padding-top: 21px !important; }
  10. .label {
  11. display: none !important;
  12. }
  13. .form-group {
  14. width: 33.3333%;
  15. height: 60px;
  16. }
  17. .axis-center {
  18. border: 2px solid rgba(0,0,0,0.025);
  19. }
  20. .axis-left,
  21. .axis-right {
  22. border-top: 2px solid rgba(0,0,0,0.025);
  23. border-bottom: 2px solid rgba(0,0,0,0.025);
  24. }
  25. .axis-left,
  26. .axis-center,
  27. .axis-right {
  28. float: left;
  29. height: 63px;
  30. }
  31. .axis-top,
  32. .axis-bottom {
  33. border-left: 2px solid rgba(0,0,0,0.025);
  34. border-right: 2px solid rgba(0,0,0,0.025);
  35. margin-left: 33.33333% !important;
  36. }
  37. .axis-top .input-drag ,
  38. .axis-left .input-drag ,
  39. .axis-right .input-drag ,
  40. .axis-bottom .input-drag {
  41. }
  42. .axis-top .input-drag {
  43. top: 100%;
  44. left: 50%;
  45. margin-left: -22px;
  46. margin-top: -22px;
  47. }
  48. .axis-left .input-drag {
  49. left: 100%;
  50. top: 50%;
  51. margin-left: -22px;
  52. margin-top: -22px;
  53. }
  54. .axis-right .input-drag {
  55. right: 100%;
  56. top: 50%;
  57. margin-right: -22px;
  58. margin-top: -22px;
  59. left: auto;
  60. }
  61. .axis-bottom .input-drag {
  62. bottom: 100%;
  63. left: 50%;
  64. margin-left: -22px;
  65. margin-bottom: -22px;
  66. }
  67. }
  68. .dialog-side-tabs {
  69. position: absolute;
  70. right: 0;
  71. top: 0;
  72. list-style: none;
  73. padding: 0;
  74. height: 100%;
  75. padding: 15px;
  76. border-left: 2px solid rgba(0,0,0,0.025);
  77. z-index: 100;
  78. border-top-right-radius: $radius*3;
  79. border-bottom-right-radius: $radius*3;
  80. }
  81. .dialog {
  82. font-size: 13px;
  83. ol, ul, p {
  84. font-size: inherit;
  85. }
  86. > .btn-block:last-child {
  87. border-top-left-radius: 0px;
  88. border-top-right-radius: 0px;
  89. border-bottom-left-radius: $radius*3;
  90. border-bottom-right-radius: $radius*3;
  91. }
  92. min-width: 200px;
  93. @include backface-visibility(hidden);
  94. white-space: normal;
  95. z-index: 1000;
  96. position: absolute;
  97. // white-space: normal;
  98. opacity: 0;
  99. @include user-select(none);
  100. @include transition( all 0.125s ease-in-out);
  101. pointer-events: none;
  102. background-color: $light;
  103. color: $medium;
  104. &.dark {background-color: $dark; }
  105. border-radius: $radius*3;
  106. box-shadow: 0 0 1px 1px rgba(0, 0, 0, 0.05), 0 2px 7px rgba(0, 0, 0, 0.1);
  107. .dialog-tabs-wrapper {
  108. overflow: hidden;
  109. border-top-left-radius: $radius*3;
  110. border-top-right-radius: $radius*3;
  111. }
  112. .dialog-tabs {
  113. display: table;
  114. width: 100%;
  115. max-width: 800px;
  116. table-layout: auto;
  117. background-color: $lightish;
  118. .dialog-tab {
  119. display: table-cell;
  120. text-align: center;
  121. &:hover span {color: $dark; }
  122. &.open span {
  123. background-color: $light;
  124. color: $dark;
  125. opacity: 1;
  126. box-shadow: 0 0 1px 1px rgba(0, 0, 0, 0.05), 0 2px 7px rgba(0, 0, 0, 0.1) !important;
  127. border-bottom-right-radius: 0px !important;
  128. border-bottom-left-radius: 0px !important;
  129. border-top-left-radius: $radius*3;
  130. border-top-right-radius: $radius*3;
  131. }
  132. &:first-child span {
  133. box-shadow: inset 0px -4px 4px -4px rgba(0, 0, 0, 0.1);
  134. // border-top-left-radius: $radius*3;
  135. // border-bottom-right-radius: $radius*3;
  136. }
  137. &:last-child span {
  138. // box-shadow: inset 0 -4px 1px -4px rgba(0, 0, 0, 0.05), inset 0 -4px 7px -4px rgba(0, 0, 0, 0.1);
  139. // border-top-right-radius: $radius*3;
  140. // border-bottom-left-radius: $radius*3;
  141. }
  142. span {
  143. box-shadow: inset 0 -4px 1px -4px rgba(0, 0, 0, 0.05), inset 0 -4px 7px -4px rgba(0, 0, 0, 0.1);
  144. cursor: pointer;
  145. //font-size: 12px;
  146. //text-transform: uppercase;
  147. //letter-spacing: 0.2em;
  148. text-indent: 4px;
  149. display: block;
  150. width: 100%;
  151. height: 44px;
  152. line-height: 44px;
  153. }
  154. }
  155. }
  156. .dialog-title {
  157. margin: 0;
  158. padding: 15px;
  159. padding-bottom: 0px;
  160. color: $dark;
  161. font-size: 12px;
  162. text-transform: uppercase;
  163. letter-spacing: 0.2em;
  164. text-indent: 4px;
  165. text-align: center;
  166. }
  167. .dialog-section {
  168. &:first-child {border: none !important; }
  169. border-top: 2px solid rgba(0,0,0,0.1);
  170. border-top: 2px solid rgba(0,0,0,0.025);
  171. padding: 15px 20px;
  172. position: relative;
  173. text-align: center;
  174. max-width: 800px;
  175. margin: auto;
  176. .label-sm { margin-bottom: 0px; pointer-events: none;}
  177. .label-sm + input {margin-top: -8px !important; }
  178. .label-sm + .btn-group {margin-top: -8px !important; }
  179. // .input {height: 45px; line-height: 45px; }
  180. &.btn-transparent {
  181. &:hover {color: $dark !important; }
  182. }
  183. &.section-tall {
  184. height: 200px;
  185. }
  186. }
  187. h4 .icon {
  188. height: 38px;
  189. }
  190. }