vendor
9 years ago
embedpress.css
9 years ago
font.css
9 years ago
index.html
9 years ago
preview.css
9 years ago
preview.css
144 lines
| 1 | /** |
| 2 | * @package EmbedPress |
| 3 | * @author PressShack <help@pressshack.com> |
| 4 | * @copyright Copyright (C) 2016 Open Source Training, LLC. All rights reserved. |
| 5 | * @license GPLv2 or later |
| 6 | * @since 1.0 |
| 7 | */ |
| 8 | |
| 9 | .embedpress_wrapper { |
| 10 | position: relative; |
| 11 | padding: 1px; |
| 12 | overflow: hidden; |
| 13 | text-overflow: ellipsis; |
| 14 | white-space: nowrap; |
| 15 | } |
| 16 | |
| 17 | .embedpress_wrapper.dynamic-width { |
| 18 | display: inline-block; |
| 19 | } |
| 20 | |
| 21 | .embedpress_wrapper .loader-indicator { |
| 22 | width: 100%; |
| 23 | height: 100%; |
| 24 | position: absolute; |
| 25 | top: 0; |
| 26 | left: 0; |
| 27 | background-color: rgba(255, 255, 255, .7); |
| 28 | display: flex; |
| 29 | justify-content: center; |
| 30 | align-items: center; |
| 31 | z-index: 9999999; |
| 32 | pointer-events: none; |
| 33 | opacity: 0; |
| 34 | -webkit-transition: all 250ms ease-in; |
| 35 | -moz-transition: all 250ms ease-in; |
| 36 | -o-transition: all 250ms ease-in; |
| 37 | transition: all 250ms ease-in; |
| 38 | } |
| 39 | |
| 40 | .embedpress_wrapper .loader-indicator.is-loading { |
| 41 | -webkit-transition: all 500ms ease-out; |
| 42 | -moz-transition: all 500ms ease-out; |
| 43 | -o-transition: all 500ms ease-out; |
| 44 | transition: all 500ms ease-out; |
| 45 | opacity: 1; |
| 46 | } |
| 47 | |
| 48 | .embedpress_controller_panel { |
| 49 | display: inline-block; |
| 50 | position: absolute; |
| 51 | padding: 8px; |
| 52 | margin-left: -45px; |
| 53 | width: 62px; |
| 54 | top: 1px; |
| 55 | left: 50%; |
| 56 | background: #075c97; |
| 57 | border: 1px solid rgba(207, 235, 255, 0.8); |
| 58 | -webkit-box-shadow: 0px 10px 44px -5px rgba(0,0,0,0.66); |
| 59 | -moz-box-shadow: 0px 10px 44px -5px rgba(0,0,0,0.66); |
| 60 | box-shadow: 0px 10px 44px -5px rgba(0,0,0,0.66); |
| 61 | z-index: 999999; |
| 62 | } |
| 63 | |
| 64 | .embedpress_controller_panel div.embedpress_controller_button { |
| 65 | color: #fff; |
| 66 | margin: 0 5px; |
| 67 | font-size: 15px; |
| 68 | cursor: pointer; |
| 69 | display: inline-block; |
| 70 | width: 20px; |
| 71 | } |
| 72 | |
| 73 | .embedpress_controller_panel div.embedpress_controller_button:hover { |
| 74 | text-decoration: none; |
| 75 | color: #ccc; |
| 76 | } |
| 77 | |
| 78 | .embedpress_controller_panel.hidden { |
| 79 | visibility: hidden; |
| 80 | } |
| 81 | |
| 82 | .embedpress_wrapper.embedpress_placeholder { |
| 83 | display: block; |
| 84 | padding: 10px; |
| 85 | background: #cbC5e3; |
| 86 | border: 1px solid #427F7f; |
| 87 | height: 120px; |
| 88 | width: 450px; |
| 89 | text-align: center; |
| 90 | box-sizing: border-box; |
| 91 | color: #000; |
| 92 | } |
| 93 | |
| 94 | .embedpress_wrapper.embedpress_placeholder:before { |
| 95 | content: attr(data-loading-text); |
| 96 | display: block; |
| 97 | margin-top: 30px; |
| 98 | margin-bottom: 7px; |
| 99 | font-weight: bold; |
| 100 | } |
| 101 | |
| 102 | .embedpress_wrapper.embedpress_placeholder:after { |
| 103 | content: attr(data-url); |
| 104 | overflow: hidden; |
| 105 | text-overflow: ellipsis; |
| 106 | white-space: nowrap; |
| 107 | font-style: italic; |
| 108 | font-size: 11px; |
| 109 | } |
| 110 | |
| 111 | .embedpress_wrapper img { |
| 112 | max-width: 100%; |
| 113 | width: auto \9; |
| 114 | height: auto; |
| 115 | vertical-align: middle; |
| 116 | border: 0; |
| 117 | } |
| 118 | |
| 119 | .modal { |
| 120 | text-align: center; |
| 121 | } |
| 122 | |
| 123 | @media screen and (min-width: 768px) { |
| 124 | .modal:before { |
| 125 | display: inline-block; |
| 126 | vertical-align: middle; |
| 127 | content: " "; |
| 128 | height: 100%; |
| 129 | } |
| 130 | } |
| 131 | |
| 132 | .modal-dialog { |
| 133 | display: inline-block; |
| 134 | text-align: left; |
| 135 | vertical-align: middle; |
| 136 | } |
| 137 | |
| 138 | span.hidden { |
| 139 | display: none; |
| 140 | } |
| 141 | |
| 142 | .bootbox.modal { |
| 143 | z-index: 100002; |
| 144 | } |