| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130 |
-
- // Bubble form editing
- // Very similar to the main form, but attached to a particular node and the
- // form layout is slightly different with the fields container and buttons
- // making up a table of a single row and two columns. This allows the buttons
- // to be removed from the display and under this condition the fields will
- // take up the full width available.
- div.DTE_Bubble {
- position: absolute;
- z-index: 11;
- margin-top: -6px;
- opacity: 0;
-
- div.DTE_Bubble_Liner {
- position: absolute;
- bottom: 0;
- border: 1px solid black;
- width: 300px;
- margin-left: -150px;
- background-color: white;
- box-shadow: 0 12px 30px 0 rgba(0,0,0,.5);
- border-radius: 6px;
- border: 1px solid #666;
- padding: 1em;
- background: #fcfcfc;
- @include box-sizing(border-box);
-
- div.DTE_Bubble_Table {
- width: 100%;
-
- > form {
- div.DTE_Form_Content {
- padding: 0;
-
- div.DTE_Field {
- position: relative;
- zoom: 1;
- margin-bottom: 0.5em;
-
- &:last-child {
- margin-bottom: 0;
- }
-
- > label {
- padding-top: 0;
- margin-bottom: 0;
- }
-
- > div {
- padding: 0;
-
- input {
- margin: 0;
- }
- }
- }
- }
- }
-
- div.DTE_Form_Buttons {
- text-align: right;
- margin-top: 1em;
-
- button {
- margin-bottom: 0;
- }
- }
- }
-
- div.DTE_Header {
- border-top-left-radius: 5px;
- border-top-right-radius: 5px;
- }
-
- div.DTE_Header + div.DTE_Form_Info,
- div.DTE_Header + div.DTE_Bubble_Table {
- padding-top: 42px;
- }
-
-
- div.DTE_Form_Error {
- float: none;
- display: none;
- padding: 0;
- margin-bottom: 0.5em;
- }
-
- div.DTE_Bubble_Close {
- @include close-icon();
- }
- }
-
- div.DTE_Bubble_Triangle {
- position: absolute;
- height: 10px;
- width: 10px;
- top: -6px;
- background-color: white;
- border: 1px solid #666;
- border-top: none;
- border-right: none;
-
- -webkit-transform: rotate(-45deg);
- -moz-transform: rotate(-45deg);
- -ms-transform: rotate(-45deg);
- -o-transform: rotate(-45deg);
- transform: rotate(-45deg);
- }
-
- &.below {
- div.DTE_Bubble_Liner {
- top: 10px;
- bottom: auto;
- }
-
- div.DTE_Bubble_Triangle {
- top: 4px;
- -webkit-transform: rotate(135deg);
- -moz-transform: rotate(135deg);
- -ms-transform: rotate(135deg);
- -o-transform: rotate(135deg);
- transform: rotate(135deg);
- }
- }
- }
-
- div.DTE_Bubble_Background {
- @include overlay-background();
- }
|