Changeset 1286664
- Timestamp:
- 11/15/2015 04:57:21 PM (10 years ago)
- Location:
- my-custom-css
- Files:
-
- 4 edited
-
tags/2.6/editor/ace_custom.css (modified) (1 diff)
-
tags/2.6/my-custom-css.php (modified) (2 diffs)
-
trunk/editor/ace_custom.css (modified) (1 diff)
-
trunk/my-custom-css.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
my-custom-css/tags/2.6/editor/ace_custom.css
r1286604 r1286664 1 1 /* Scroll ToTop */ 2 3 2 .scrollup,.scrollup:hover,.scrollup:visited,.scrollup:focus { 4 5 3 color: #fff; 6 7 4 box-shadow: none; 8 9 5 } 10 11 6 .scrollup { 12 13 7 background-color: rgba(0, 0, 0, 0.3); 14 15 8 border-radius: 50% !important; 16 17 9 width: 40px; 18 19 10 line-height: 40px; 20 21 11 text-align: center; 22 23 12 text-decoration: none; 24 25 13 position: fixed; 26 27 14 right: 25px; 28 29 15 bottom: 20px; 30 31 16 display: none; 32 33 17 z-index: 10000; 34 35 18 } 36 37 19 .wrap h2 { 38 39 20 margin-bottom: 10px; 40 41 21 } 42 43 22 #textsizer { 44 45 23 float: left; 46 47 24 margin-bottom: 10px; 48 49 25 } 50 51 26 #textsizer p { 52 53 27 float: left; 54 55 28 margin: 0 5px 0 0 !important; 56 57 29 } 58 59 30 ul.textresizer { 60 61 31 list-style: none; 62 63 32 display: inline; 64 65 33 margin: 0; 66 67 34 padding: 0; 68 69 35 } 70 71 36 ul.textresizer li { 72 73 37 display: inline; 74 75 38 margin: 0; 76 77 39 margin-right: 5px; 78 79 40 padding: 0; 80 81 41 } 82 83 42 ul.textresizer a { 84 85 43 border: solid 1px #999; 86 87 44 padding: 2px 3px; 88 89 45 font-weight: 700; 90 91 46 text-decoration: none; 92 93 47 border-radius: 3px !important; 94 95 48 } 96 97 49 ul.textresizer a:hover { 98 99 50 background: #e5e5e5; 100 101 51 border: solid 1px #ccc; 102 103 52 } 104 105 53 ul.textresizer .small-text { 106 107 54 font-size: 12px; 108 109 55 } 110 111 56 ul.textresizer .medium-text { 112 113 57 font-size: 14px; 114 115 58 } 116 117 59 ul.textresizer .large-text { 118 119 60 font-size: 16px; 120 121 61 } 122 123 62 ul.textresizer .larger-text { 124 125 63 font-size: 18px; 126 127 64 } 128 129 65 ul.textresizer .giga-text { 130 131 66 font-size: 18px; 132 133 67 } 134 135 68 ul.textresizer a.textresizer-active { 136 137 69 border: solid 1px #2B562B; 138 139 70 background: #FFCA6F; 140 141 71 color: #000; 142 143 72 } 144 145 73 .button-primary { 146 147 74 height: 50px !important; 148 149 75 width: 130px !important; 150 151 76 position: fixed; 152 153 77 right: 25px; 154 155 78 top: 45px; 156 157 79 z-index: 50; 158 159 80 font-size: 30px !important; 160 161 81 border-radius: 10% !important; 162 163 82 } 164 165 83 .ace_search.right { 166 167 84 font-size: 9px !important; 168 169 85 position: fixed; 170 171 86 right: 19px; 172 173 87 top: 120px; 174 175 88 } 176 177 89 .ace_search_options { 178 179 90 float: left; 180 181 91 line-height: 20px; 182 183 92 font-size: 12px !important; 184 185 93 } 186 187 94 .ace_search_options::after { 188 189 95 color: #000; 190 191 96 content: " (CTRL|CMD+F = Replace Form!)"; 192 193 97 font-style: italic; 194 195 98 } 196 197 99 #my_custom_css { 198 199 100 border: 1px solid #DFDFDF; 200 201 101 border-radius: 3px; 202 203 102 width: 100%; 204 205 103 height: 400px; 206 207 104 position: relative; 208 209 105 top: -5px; 210 211 106 font-size: 14px; 212 213 107 line-height: 150% !important; 214 215 108 } 216 217 109 #thememenu { 218 219 110 float: left; 220 221 111 margin-left: 10px; 222 223 112 margin-top: -5px; 224 225 113 } 226 227 114 /* Fix wordpress footer */ 228 229 115 #wpfooter { 230 231 116 position: relative; 232 233 117 } 234 235 118 #footer-upgrade { 236 237 119 float: left; 238 239 120 padding-left: 5px; 240 241 121 font-style: italic; 242 243 122 } 244 245 123 #mccss_credit { 246 247 124 float: right; 248 125 font-style: italic; 249 250 126 } 251 252 127 #mccss_credit a { 253 254 128 text-decoration: none; 255 256 129 } -
my-custom-css/tags/2.6/my-custom-css.php
r1286604 r1286664 440 440 <input type="submit" name="save" class="button-primary" value="' . __('Save','my-custom-css') . '" /> 441 441 </form> 442 <p> 443 <!-- Smooth Scroll by DarkWolf --><a href="#" class="scrollup">▲</a><!-- Smooth Scroll by DarkWolf --> 444 <div id="mccss_credit">My Custom CSS - by <a href="https://laltroweb.it/" title="Salvatore Noschese - L\'AltroWeb">Salvatore Noschese - L\'AltroWeb</a> | <a href="https://www.paypal.me/SalvatoreN" title="Buy Me a Beer ;)">Donate :)</a></div> 445 </p> 446 447 </div>'; 448 442 <div id="mccss_credit"> 443 <a href="https://wordpress.org/plugins/my-custom-css/" title="My Custom CSS">My Custom CSS v'.$plugin_version.'</a> | Author: <a href="https://laltroweb.it/" title="Salvatore Noschese - (L\'AltroWeb)">Salvatore Noschese</a> - Support my work: <a href="https://www.paypal.me/SalvatoreN" title="Even 1$ can help... :)">Donate :)</a> 444 </div>'; 449 445 // If no backup exist, disable button! 450 446 $glob = glob(mystylecss_basedir()."/my_custom_css/bkk/*.css"); … … 457 453 echo ' 458 454 <form method="post" action="'.admin_url( 'admin.php' ).'?action=my_custom_css?show_backup" target="_blank"> 459 <input type="submit" name="viewbackup" class="button-secondary" style="float: left;"'.$submit_backup.' />455 <input type="submit" name="viewbackup" class="button-secondary" '.$submit_backup.' /> 460 456 </form>'; 461 457 } 462 458 echo ' 459 <!-- Smooth Scroll by DarkWolf --> 460 <a href="#" class="scrollup">▲</a> 461 <!-- Smooth Scroll by DarkWolf --> 463 462 </div>'; 464 463 465 464 // Ok, save css!!! 466 465 makecss(); 467 468 466 } 469 467 -
my-custom-css/trunk/editor/ace_custom.css
r1286604 r1286664 1 1 /* Scroll ToTop */ 2 3 2 .scrollup,.scrollup:hover,.scrollup:visited,.scrollup:focus { 4 5 3 color: #fff; 6 7 4 box-shadow: none; 8 9 5 } 10 11 6 .scrollup { 12 13 7 background-color: rgba(0, 0, 0, 0.3); 14 15 8 border-radius: 50% !important; 16 17 9 width: 40px; 18 19 10 line-height: 40px; 20 21 11 text-align: center; 22 23 12 text-decoration: none; 24 25 13 position: fixed; 26 27 14 right: 25px; 28 29 15 bottom: 20px; 30 31 16 display: none; 32 33 17 z-index: 10000; 34 35 18 } 36 37 19 .wrap h2 { 38 39 20 margin-bottom: 10px; 40 41 21 } 42 43 22 #textsizer { 44 45 23 float: left; 46 47 24 margin-bottom: 10px; 48 49 25 } 50 51 26 #textsizer p { 52 53 27 float: left; 54 55 28 margin: 0 5px 0 0 !important; 56 57 29 } 58 59 30 ul.textresizer { 60 61 31 list-style: none; 62 63 32 display: inline; 64 65 33 margin: 0; 66 67 34 padding: 0; 68 69 35 } 70 71 36 ul.textresizer li { 72 73 37 display: inline; 74 75 38 margin: 0; 76 77 39 margin-right: 5px; 78 79 40 padding: 0; 80 81 41 } 82 83 42 ul.textresizer a { 84 85 43 border: solid 1px #999; 86 87 44 padding: 2px 3px; 88 89 45 font-weight: 700; 90 91 46 text-decoration: none; 92 93 47 border-radius: 3px !important; 94 95 48 } 96 97 49 ul.textresizer a:hover { 98 99 50 background: #e5e5e5; 100 101 51 border: solid 1px #ccc; 102 103 52 } 104 105 53 ul.textresizer .small-text { 106 107 54 font-size: 12px; 108 109 55 } 110 111 56 ul.textresizer .medium-text { 112 113 57 font-size: 14px; 114 115 58 } 116 117 59 ul.textresizer .large-text { 118 119 60 font-size: 16px; 120 121 61 } 122 123 62 ul.textresizer .larger-text { 124 125 63 font-size: 18px; 126 127 64 } 128 129 65 ul.textresizer .giga-text { 130 131 66 font-size: 18px; 132 133 67 } 134 135 68 ul.textresizer a.textresizer-active { 136 137 69 border: solid 1px #2B562B; 138 139 70 background: #FFCA6F; 140 141 71 color: #000; 142 143 72 } 144 145 73 .button-primary { 146 147 74 height: 50px !important; 148 149 75 width: 130px !important; 150 151 76 position: fixed; 152 153 77 right: 25px; 154 155 78 top: 45px; 156 157 79 z-index: 50; 158 159 80 font-size: 30px !important; 160 161 81 border-radius: 10% !important; 162 163 82 } 164 165 83 .ace_search.right { 166 167 84 font-size: 9px !important; 168 169 85 position: fixed; 170 171 86 right: 19px; 172 173 87 top: 120px; 174 175 88 } 176 177 89 .ace_search_options { 178 179 90 float: left; 180 181 91 line-height: 20px; 182 183 92 font-size: 12px !important; 184 185 93 } 186 187 94 .ace_search_options::after { 188 189 95 color: #000; 190 191 96 content: " (CTRL|CMD+F = Replace Form!)"; 192 193 97 font-style: italic; 194 195 98 } 196 197 99 #my_custom_css { 198 199 100 border: 1px solid #DFDFDF; 200 201 101 border-radius: 3px; 202 203 102 width: 100%; 204 205 103 height: 400px; 206 207 104 position: relative; 208 209 105 top: -5px; 210 211 106 font-size: 14px; 212 213 107 line-height: 150% !important; 214 215 108 } 216 217 109 #thememenu { 218 219 110 float: left; 220 221 111 margin-left: 10px; 222 223 112 margin-top: -5px; 224 225 113 } 226 227 114 /* Fix wordpress footer */ 228 229 115 #wpfooter { 230 231 116 position: relative; 232 233 117 } 234 235 118 #footer-upgrade { 236 237 119 float: left; 238 239 120 padding-left: 5px; 240 241 121 font-style: italic; 242 243 122 } 244 245 123 #mccss_credit { 246 247 124 float: right; 248 125 font-style: italic; 249 250 126 } 251 252 127 #mccss_credit a { 253 254 128 text-decoration: none; 255 256 129 } -
my-custom-css/trunk/my-custom-css.php
r1286604 r1286664 440 440 <input type="submit" name="save" class="button-primary" value="' . __('Save','my-custom-css') . '" /> 441 441 </form> 442 <p> 443 <!-- Smooth Scroll by DarkWolf --><a href="#" class="scrollup">▲</a><!-- Smooth Scroll by DarkWolf --> 444 <div id="mccss_credit">My Custom CSS - by <a href="https://laltroweb.it/" title="Salvatore Noschese - L\'AltroWeb">Salvatore Noschese - L\'AltroWeb</a> | <a href="https://www.paypal.me/SalvatoreN" title="Buy Me a Beer ;)">Donate :)</a></div> 445 </p> 446 447 </div>'; 448 442 <div id="mccss_credit"> 443 <a href="https://wordpress.org/plugins/my-custom-css/" title="My Custom CSS">My Custom CSS v'.$plugin_version.'</a> | Author: <a href="https://laltroweb.it/" title="Salvatore Noschese - (L\'AltroWeb)">Salvatore Noschese</a> - Support my work: <a href="https://www.paypal.me/SalvatoreN" title="Even 1$ can help... :)">Donate :)</a> 444 </div>'; 449 445 // If no backup exist, disable button! 450 446 $glob = glob(mystylecss_basedir()."/my_custom_css/bkk/*.css"); … … 457 453 echo ' 458 454 <form method="post" action="'.admin_url( 'admin.php' ).'?action=my_custom_css?show_backup" target="_blank"> 459 <input type="submit" name="viewbackup" class="button-secondary" style="float: left;"'.$submit_backup.' />455 <input type="submit" name="viewbackup" class="button-secondary" '.$submit_backup.' /> 460 456 </form>'; 461 457 } 462 458 echo ' 459 <!-- Smooth Scroll by DarkWolf --> 460 <a href="#" class="scrollup">▲</a> 461 <!-- Smooth Scroll by DarkWolf --> 463 462 </div>'; 464 463 465 464 // Ok, save css!!! 466 465 makecss(); 467 468 466 } 469 467
Note: See TracChangeset
for help on using the changeset viewer.