addons.scss
9 years ago
blank-slate.scss
8 years ago
buttons.scss
9 years ago
dashboard.scss
10 years ago
donors.scss
8 years ago
fonts.scss
9 years ago
forms.scss
8 years ago
give-admin.scss
8 years ago
grids.scss
8 years ago
importer.scss
8 years ago
logs.scss
10 years ago
payment-history.scss
8 years ago
reports.scss
8 years ago
settings.scss
8 years ago
shortcodes.scss
9 years ago
system-info.scss
8 years ago
updates.scss
8 years ago
util.scss
8 years ago
welcome.scss
9 years ago
shortcodes.scss
121 lines
| 1 | |
| 2 | /* =Primary button in shortcode tinymce dialog |
| 3 | -------------------------------------------------------------- */ |
| 4 | |
| 5 | .mce-primary.mce-sc-primary button { |
| 6 | padding-right: 10px; |
| 7 | padding-left: 10px; |
| 8 | } |
| 9 | |
| 10 | .mce-sc-popup { |
| 11 | a { |
| 12 | text-decoration: underline; |
| 13 | } |
| 14 | p { |
| 15 | margin-bottom: 1em; |
| 16 | &.strong { |
| 17 | font-weight: 600; |
| 18 | } |
| 19 | &.no-margin { |
| 20 | margin-bottom: 0; |
| 21 | } |
| 22 | &.margin-top { |
| 23 | margin-top: 1em; |
| 24 | } |
| 25 | } |
| 26 | // Crop text which overflow in listbox. |
| 27 | .mce-listbox button{ |
| 28 | text-overflow: ellipsis; |
| 29 | overflow: hidden !important; |
| 30 | } |
| 31 | } |
| 32 | |
| 33 | /* =Shortcode button above wp_editor |
| 34 | -------------------------------------------------------------- */ |
| 35 | |
| 36 | @media screen and (max-width: 782px) { |
| 37 | .wp-media-buttons button.sc-button span { |
| 38 | width: 18px !important; |
| 39 | } |
| 40 | } |
| 41 | |
| 42 | .wp-media-buttons { |
| 43 | button.sc-button { |
| 44 | outline: none; |
| 45 | padding-left: 5px; |
| 46 | margin-right: 0; |
| 47 | |
| 48 | &:active { |
| 49 | margin-bottom: 5px; |
| 50 | } |
| 51 | } |
| 52 | } |
| 53 | |
| 54 | button.sc-button { |
| 55 | &:after { |
| 56 | position: relative; |
| 57 | display: inline-block; |
| 58 | top: -1px; |
| 59 | content: ''; |
| 60 | width: 0; |
| 61 | height: 0; |
| 62 | border-top: 6px solid #777; |
| 63 | border-right: 4px solid transparent; |
| 64 | border-left: 4px solid transparent; |
| 65 | margin: 0 3px 0 6px; |
| 66 | } |
| 67 | |
| 68 | &.active:after { |
| 69 | top: -2px; |
| 70 | border-top: 0; |
| 71 | border-bottom: 6px solid #32373c; |
| 72 | } |
| 73 | } |
| 74 | |
| 75 | /* =Shortcode button dropdown menu |
| 76 | -------------------------------------------------------------- */ |
| 77 | |
| 78 | .sc-wrap { |
| 79 | position: relative; |
| 80 | display: inline-block; |
| 81 | margin-right: 5px; |
| 82 | } |
| 83 | |
| 84 | div.sc-menu { |
| 85 | display: none; |
| 86 | position: absolute; |
| 87 | top: 100%; |
| 88 | left: 0; |
| 89 | min-width: 100%; |
| 90 | max-height: 410px; |
| 91 | font-size: 14px; |
| 92 | box-shadow: 0 3px 5px rgba( 0, 0, 0, 0.2 ); |
| 93 | background: #fff; |
| 94 | border: 1px solid rgba( 0, 0, 0, 0.15 ); |
| 95 | overflow: auto; |
| 96 | overflow-x: hidden; |
| 97 | padding: 5px 0; |
| 98 | margin: -2px 0 0; |
| 99 | z-index: 1002; |
| 100 | } |
| 101 | |
| 102 | div.sc-shortcode { |
| 103 | display: block; |
| 104 | white-space: nowrap; |
| 105 | cursor: pointer; |
| 106 | padding: 6px 12px; |
| 107 | margin-bottom: 2px; |
| 108 | |
| 109 | &:hover { |
| 110 | color: #fff; |
| 111 | } |
| 112 | } |
| 113 | |
| 114 | /* =Shortcode tinymce dialog backdrop |
| 115 | -------------------------------------------------------------- */ |
| 116 | |
| 117 | #mce-modal-block.mce-reset.mce-fade.mce-in { |
| 118 | opacity: 0.7; |
| 119 | filter: alpha(opacity=70); |
| 120 | } |
| 121 |