| 1 |
|
| 2 |
#optimole-app { |
| 3 |
padding: 0 30px 0 20px; |
| 4 |
|
| 5 |
$primary: #EF686B; |
| 6 |
$success: #34a85e; |
| 7 |
$danger: #D54222; |
| 8 |
$info: #5180C1; |
| 9 |
|
| 10 |
@import "~bulma/bulma"; |
| 11 |
|
| 12 |
.select:not(.is-multiple):not(.is-loading)::after{ |
| 13 |
display: none; |
| 14 |
} |
| 15 |
.card { |
| 16 |
transition: all 750ms ease-in-out; |
| 17 |
border: 0; |
| 18 |
border-radius: .1875rem; |
| 19 |
-webkit-box-shadow: 0 1px 15px 1px rgba(39, 39, 39, .1); |
| 20 |
box-shadow: 0 1px 15px 1px rgba(39, 39, 39, .1); |
| 21 |
} |
| 22 |
|
| 23 |
.logo { |
| 24 |
margin-bottom: 10px; |
| 25 |
img { |
| 26 |
max-width: 180px; |
| 27 |
margin: 0 auto; |
| 28 |
} |
| 29 |
} |
| 30 |
.vue-js-switch { |
| 31 |
align-self: center; |
| 32 |
} |
| 33 |
.api-key-control { |
| 34 |
padding: 0; |
| 35 |
} |
| 36 |
.is-vertical-center { |
| 37 |
display: flex; |
| 38 |
align-items: center; |
| 39 |
} |
| 40 |
.api-key-field .button.is-danger { |
| 41 |
padding-left: 20px; |
| 42 |
padding-right: 20px; |
| 43 |
} |
| 44 |
|
| 45 |
.api-key-label { |
| 46 |
align-self: center; |
| 47 |
margin: 0.5em 10px 0.5em 0; |
| 48 |
font-size: 1em; |
| 49 |
} |
| 50 |
.header { |
| 51 |
padding: 0 1.5rem 0; |
| 52 |
&.level { |
| 53 |
margin-bottom: 0; |
| 54 |
} |
| 55 |
} |
| 56 |
.account { |
| 57 |
img { |
| 58 |
border-top-right-radius: 4px; |
| 59 |
border-bottom-right-radius: 4px; |
| 60 |
} |
| 61 |
.label { |
| 62 |
margin-bottom: 0; |
| 63 |
} |
| 64 |
} |
| 65 |
|
| 66 |
//Optimized images. |
| 67 |
.optimized-images { |
| 68 |
|
| 69 |
table td, table th { |
| 70 |
vertical-align: middle; |
| 71 |
} |
| 72 |
} |
| 73 |
.media-diff { |
| 74 |
position: relative; |
| 75 |
margin: 0 auto; |
| 76 |
video, img { |
| 77 |
display: block; |
| 78 |
position: absolute; |
| 79 |
top: 0; |
| 80 |
left: 0; |
| 81 |
width: 100%; |
| 82 |
height: 100%; |
| 83 |
} |
| 84 |
} |
| 85 |
|
| 86 |
.origin-wrapper { |
| 87 |
position: absolute; |
| 88 |
left: 0; |
| 89 |
top: 0; |
| 90 |
width: 100%; |
| 91 |
height: 100%; |
| 92 |
overflow: hidden; |
| 93 |
z-index: 1; |
| 94 |
transform: translateZ(0); |
| 95 |
will-change: width; |
| 96 |
} |
| 97 |
|
| 98 |
.handle { |
| 99 |
position: absolute; |
| 100 |
top: 0; |
| 101 |
bottom: 0; |
| 102 |
color: rgba(255, 255, 255, 0.80); |
| 103 |
background-color: rgba(255, 255, 255, 0.80);; |
| 104 |
width: 2px; |
| 105 |
cursor: ew-resize; |
| 106 |
transform: translateX(-50%) translateZ(0); |
| 107 |
z-index: 2; |
| 108 |
will-change: left; |
| 109 |
left: 200px; |
| 110 |
} |
| 111 |
|
| 112 |
.cursor { |
| 113 |
position: absolute; |
| 114 |
top: 50%; |
| 115 |
left: 50%; |
| 116 |
transform: translateX(-50%) translateZ(0); |
| 117 |
.circle { |
| 118 |
background-color: rgba(255, 255, 255, 0.80); |
| 119 |
width: 24px; |
| 120 |
height: 24px; |
| 121 |
border-radius: 50%; |
| 122 |
} |
| 123 |
} |
| 124 |
.no-padding-right{ |
| 125 |
padding-right:0px !important; |
| 126 |
} |
| 127 |
#filters-list .list { |
| 128 |
border: none; |
| 129 |
background: none; |
| 130 |
box-shadow: none; |
| 131 |
} |
| 132 |
|
| 133 |
#filters-list .list-item { |
| 134 |
border: none; |
| 135 |
} |
| 136 |
|
| 137 |
#filters-list .exclusion-filter .tag.is-link strong { |
| 138 |
white-space: initial; |
| 139 |
} |
| 140 |
|
| 141 |
#filters-list .exclusion-filter .tag.is-link i { |
| 142 |
margin-right: 5px; |
| 143 |
} |
| 144 |
|
| 145 |
#filters-list .exclusion-filter .tag.is-link { |
| 146 |
text-decoration: none; |
| 147 |
width: 80%; |
| 148 |
height: auto; |
| 149 |
min-height: 2em; |
| 150 |
justify-content: left; |
| 151 |
} |
| 152 |
} |
| 153 |
|
| 154 |
//Fade animation. |
| 155 |
.fade-enter-active, .fade-leave-active { |
| 156 |
transition: opacity .5s; |
| 157 |
} |
| 158 |
|
| 159 |
.fade-enter, .fade-leave-to /* .fade-leave-active below version 2.1.8 */ |
| 160 |
{ |
| 161 |
opacity: 0; |
| 162 |
} |
| 163 |
|
| 164 |
.media_page_optimole #wpbody-content > * { |
| 165 |
display: none !important; |
| 166 |
} |
| 167 |
|
| 168 |
.media_page_optimole #wpbody-content > #optimole-app { |
| 169 |
display: block !important; |
| 170 |
} |
| 171 |
|
| 172 |
#optimole-app img.optml-image { |
| 173 |
float: left; |
| 174 |
max-width: 100px; |
| 175 |
width: auto; |
| 176 |
margin: auto; |
| 177 |
} |
| 178 |
#optimole-app img.optml-image-watermark { |
| 179 |
width:50px; |
| 180 |
} |
| 181 |
|
| 182 |
.optml-ratio-feedback .emoji { |
| 183 |
font-size: 1.5em; |
| 184 |
} |
| 185 |
|
| 186 |
|
| 187 |
.optml-ratio-feedback { |
| 188 |
float: right; |
| 189 |
padding-right: 20px; |
| 190 |
} |
| 191 |
.optml-image-heading { |
| 192 |
text-align: left; |
| 193 |
} |
| 194 |
|
| 195 |
th.optml-image-ratio-heading { |
| 196 |
text-align: right !important; |
| 197 |
font-size: 150%; |
| 198 |
} |
| 199 |
@media screen and (max-width: 768px) { |
| 200 |
li:not(.is-active) > a > span:not(.icon) { |
| 201 |
visibility: hidden; |
| 202 |
position: absolute; |
| 203 |
} |
| 204 |
|
| 205 |
nav.tabs li:not(.is-active) { |
| 206 |
-webkit-box-flex: 0; |
| 207 |
-ms-flex-positive: 0; |
| 208 |
flex-grow: 0; |
| 209 |
-ms-flex-negative: 1; |
| 210 |
flex-shrink: 1; |
| 211 |
} |
| 212 |
.tabs .icon { |
| 213 |
margin-left: 0.5em; |
| 214 |
} |
| 215 |
} |
| 216 |
|
| 217 |
.tabs li { |
| 218 |
transition: flex-grow 1s ease; |
| 219 |
} |
| 220 |
|