Changeset 3074341
- Timestamp:
- 04/20/2024 11:03:24 PM (2 years ago)
- Location:
- run-log/trunk
- Files:
-
- 4 edited
-
readme.txt (modified) (2 diffs)
-
run-log-rtl.css (modified) (9 diffs)
-
run-log.css (modified) (1 diff)
-
run-log.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
run-log/trunk/readme.txt
r2958583 r3074341 3 3 Tags: training log, training diary, running, sport, run log, run diary, running log, run, strava, garmin connect, garmin, jogging, total distance, total time, total duration, share runs 4 4 Requires at least: 4.0 5 Tested up to: 6. 36 Stable tag: 1.7. 65 Tested up to: 6.5 6 Stable tag: 1.7.7 7 7 License: GPLv2 (or later) 8 8 License URI: https://wordpress.org/about/gpl/ … … 149 149 == Changelog == 150 150 151 = 1.7.7 = 152 * Updated CSS for mobile/narrow display. 153 151 154 = 1.7.6 = 152 * Update Garmin e nbed URL155 * Update Garmin embed URL 153 156 154 157 = 1.7.5 = -
run-log/trunk/run-log-rtl.css
r2389546 r3074341 3 3 */ 4 4 5 .oirl .bottom { vertical-align: bottom; } 6 .oirl .super { vertical-align: super; } 7 .oirl .sub { vertical-align: sub; } 8 .oirl .bold { font-weight: bold; } 9 .oirl .smaller { font-size: 75%; } 5 .oirl .bottom { 6 vertical-align: bottom; 7 } 8 9 .oirl .super { 10 vertical-align: super; 11 } 12 13 .oirl .sub { 14 vertical-align: sub; 15 } 16 17 .oirl .bold { 18 font-weight: bold; 19 } 20 21 .oirl .smaller { 22 font-size: 75%; 23 } 10 24 11 25 .oirl-light { … … 21 35 .oirl-data-box { 22 36 border-radius: 13px; 23 box-shadow: 2px 2px; 24 font-family: "helvetica neue", helvetica, sans-serif; 25 height: 60px; 26 margin: 15px auto; 27 padding: 5px; 28 width: 490px; 29 } 30 .oirl-light.oirl-data-box { border: 1px dotted black; } 31 .oirl-dark.oirl-data-box { border: 1px dotted #fff; } 37 box-shadow: 2px 2px; 38 font-family: "helvetica neue", helvetica, sans-serif; 39 height: 60px; 40 margin: 15px auto; 41 padding: 5px; 42 width: 490px; 43 } 44 45 .oirl-light.oirl-data-box { 46 border: 1px dotted black; 47 } 48 49 .oirl-dark.oirl-data-box { 50 border: 1px dotted #fff; 51 } 32 52 33 53 .oirl-data-box .oirl-data { 34 float: right;35 font-size: 16px;36 line-height: normal;37 margin: 0 5px 3px;38 position: relative;39 width: 30%;54 float: right; 55 font-size: 16px; 56 line-height: normal; 57 margin: 0 5px 3px; 58 position: relative; 59 width: 30%; 40 60 } 41 61 … … 47 67 48 68 .oirl-data-box .oirl-data-desc { 49 bottom: -5px; right: 5px; 50 color: #999; 51 font-size: 11px; 52 font-weight: bold; 53 position: absolute; 69 bottom: -5px; 70 right: 5px; 71 color: #999; 72 font-size: 11px; 73 font-weight: bold; 74 position: absolute; 75 } 76 77 /* for narrow display use @container at-rule */ 78 #content { 79 container-type: inline-size; 80 container-name: entry-content; 81 } 82 83 @container entry-content (width < 500px) { 84 .oirl-data-box { 85 height: 140px; 86 margin: 0 5px 10px; 87 width: unset; 88 } 89 90 .oirl-data-box .oirl-data { 91 width: 95%; 92 height: 33px; 93 margin: 0 5px 10px; 94 } 54 95 } 55 96 56 97 /* counter */ 57 .oirl-total-box { text-align: center; } 98 .oirl-total-box { 99 text-align: center; 100 } 101 58 102 .oirl-light.oirl-total-box, 59 103 .oirl-dark.oirl-total-box { 60 background-color: inherit;61 color: inherit;104 background-color: inherit; 105 color: inherit; 62 106 } 63 107 64 108 .oirl-total-box .oirl-data { 65 border-radius: 5px; 66 display: inline-block; 67 margin: 3px auto; 68 padding: 5px; 69 } 109 border-radius: 5px; 110 display: inline-block; 111 margin: 3px auto; 112 padding: 5px; 113 } 114 70 115 .oirl-light.oirl-total-box .oirl-data { 71 116 color: #000; … … 73 118 background-color: #bbb; 74 119 } 120 75 121 .oirl-dark.oirl-total-box .oirl-data { 76 122 color: #fff; … … 87 133 } 88 134 89 .oirl-light span.oirl-counter >span {135 .oirl-light span.oirl-counter>span { 90 136 padding: 0 2px; 91 background: #e2e2e2; /* Old Browsers */ 92 background: -moz-linear-gradient(top, #e2e2e2 0%, #dbdbdb 50%, #d1d1d1 51%, #fefefe 100%); /* FF3.6+ */ 93 background: -webkit-gradient(left top, left bottom, color-stop(0%, #e2e2e2), color-stop(50%, #dbdbdb), color-stop(51%, #d1d1d1), color-stop(100%, #fefefe));/* Chrome, Safari4+ */ 94 background: -webkit-linear-gradient(top, #e2e2e2 0%, #dbdbdb 50%, #d1d1d1 51%, #fefefe 100%); /* Chrome10+,Safari5.1+ */ 95 background: -o-linear-gradient(top, #e2e2e2 0%, #dbdbdb 50%, #d1d1d1 51%, #fefefe 100%); /* Opera 11.10+ */ 96 background: -ms-linear-gradient(top, #e2e2e2 0%, #dbdbdb 50%, #d1d1d1 51%, #fefefe 100%); /* IE 10+ */ 97 background: linear-gradient(to bottom, #e2e2e2 0%, #dbdbdb 50%, #d1d1d1 51%, #fefefe 100%);/* W3C */ 98 filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#e2e2e2', endColorstr='#fefefe', GradientType=0 );/* IE6-9 */ 99 } 137 background: #e2e2e2; 138 /* Old Browsers */ 139 background: -moz-linear-gradient(top, #e2e2e2 0%, #dbdbdb 50%, #d1d1d1 51%, #fefefe 100%); 140 /* FF3.6+ */ 141 background: -webkit-gradient(left top, left bottom, color-stop(0%, #e2e2e2), color-stop(50%, #dbdbdb), color-stop(51%, #d1d1d1), color-stop(100%, #fefefe)); 142 /* Chrome, Safari4+ */ 143 background: -webkit-linear-gradient(top, #e2e2e2 0%, #dbdbdb 50%, #d1d1d1 51%, #fefefe 100%); 144 /* Chrome10+,Safari5.1+ */ 145 background: -o-linear-gradient(top, #e2e2e2 0%, #dbdbdb 50%, #d1d1d1 51%, #fefefe 100%); 146 /* Opera 11.10+ */ 147 background: -ms-linear-gradient(top, #e2e2e2 0%, #dbdbdb 50%, #d1d1d1 51%, #fefefe 100%); 148 /* IE 10+ */ 149 background: linear-gradient(to bottom, #e2e2e2 0%, #dbdbdb 50%, #d1d1d1 51%, #fefefe 100%); 150 /* W3C */ 151 filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#e2e2e2', endColorstr='#fefefe', GradientType=0); 152 /* IE6-9 */ 153 } 154 100 155 .oirl-light span.oirl-counter { 101 156 padding: 2px; … … 107 162 background: -ms-linear-gradient(top, #fefefe 0%, #d1d1d1 50%, #dbdbdb 51%, #e2e2e2 100%); 108 163 background: linear-gradient(to bottom, #fefefe 0%, #d1d1d1 50%, #dbdbdb 51%, #e2e2e2 100%); 109 filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#fefefe', endColorstr='#e2e2e2', GradientType=0);110 } 111 112 .oirl-dark span.oirl-counter >span {164 filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fefefe', endColorstr='#e2e2e2', GradientType=0); 165 } 166 167 .oirl-dark span.oirl-counter>span { 113 168 padding: 0 2px; 114 169 background: #4c4c4c; … … 119 174 background: -ms-linear-gradient(top, #4c4c4c 0%, #595959 12%, #666666 25%, #474747 39%, #2c2c2c 50%, #000000 51%, #111111 60%, #2b2b2b 76%, #1c1c1c 91%, #131313 100%); 120 175 background: linear-gradient(to bottom, #4c4c4c 0%, #595959 12%, #666666 25%, #474747 39%, #2c2c2c 50%, #000000 51%, #111111 60%, #2b2b2b 76%, #1c1c1c 91%, #131313 100%); 121 filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#4c4c4c', endColorstr='#131313', GradientType=0 ); 122 } 176 filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#4c4c4c', endColorstr='#131313', GradientType=0); 177 } 178 123 179 .oirl-dark span.oirl-counter { 124 180 padding: 2px; … … 127 183 background: -webkit-gradient(left top, left bottom, color-stop(0%, #131313), color-stop(12%, #1c1c1c), color-stop(25%, #2b2b2b), color-stop(39%, #111111), color-stop(50%, #000000), color-stop(51%, #2c2c2c), color-stop(60%, #474747), color-stop(76%, #666666), color-stop(91%, #595959), color-stop(100%, #4c4c4c)); 128 184 background: -webkit-linear-gradient(top, #131313 0%, #1c1c1c 12%, #2b2b2b 25%, #111111 39%, #000000 50%, #2c2c2c 51%, #474747 60%, #666666 76%, #595959 91%, #4c4c4c 100%); 129 background: -o-linear-gradient(top, #131313 0%, #1c1c1c 12%, #2b2b2b 25%, #111111 39%, #000000 50%, #2c2c2c 51%, #474747 60%, #666666 76%, #595959 91%, #4c4c4c 100%);185 background: -o-linear-gradient(top, #131313 0%, #1c1c1c 12%, #2b2b2b 25%, #111111 39%, #000000 50%, #2c2c2c 51%, #474747 60%, #666666 76%, #595959 91%, #4c4c4c 100%); 130 186 background: -ms-linear-gradient(top, #131313 0%, #1c1c1c 12%, #2b2b2b 25%, #111111 39%, #000000 50%, #2c2c2c 51%, #474747 60%, #666666 76%, #595959 91%, #4c4c4c 100%); 131 187 background: linear-gradient(to bottom, #131313 0%, #1c1c1c 12%, #2b2b2b 25%, #111111 39%, #000000 50%, #2c2c2c 51%, #474747 60%, #666666 76%, #595959 91%, #4c4c4c 100%); 132 filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#131313', endColorstr='#4c4c4c', GradientType=0);188 filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#131313', endColorstr='#4c4c4c', GradientType=0); 133 189 } 134 190 … … 139 195 z-index: 9999; 140 196 max-width: 450px; 141 color: #333;142 background-color: #ccc;197 color: #333; 198 background-color: #ccc; 143 199 -webkit-box-shadow: 0 0 5px #aaa; 144 -moz-box-shadow: 0 0 5px #aaa;200 -moz-box-shadow: 0 0 5px #aaa; 145 201 box-shadow: 0 0 5px #aaa; 146 202 } 203 147 204 body .ui-tooltip { 148 205 border-width: 2px; -
run-log/trunk/run-log.css
r2389546 r3074341 53 53 font-weight: bold; 54 54 color: #999; 55 } 56 57 /* for narrow display use @container at-rule */ 58 .entry-content { 59 container-type: inline-size; 60 container-name: entry-content; 61 } 62 63 @container entry-content (width < 500px) { 64 .oirl-data-box { 65 height: 140px; 66 margin: 0 5px 10px; 67 width: unset; 68 } 69 70 .oirl-data-box .oirl-data { 71 width: 95%; 72 height: 33px; 73 margin: 0 5px 10px; 74 } 55 75 } 56 76 -
run-log/trunk/run-log.php
r2917830 r3074341 11 11 * Plugin URI: https://run-log.gameiz.net/ 12 12 * Description: Adds running diary capabilities - log your sport activities with custom post type, custom fields and new taxonomies. 13 * Version: 1.7. 613 * Version: 1.7.7 14 14 * Author: Oren Izmirli 15 15 * Author URI: https://profiles.wordpress.org/izem … … 406 406 wp_enqueue_script( 'oirl-admin-script', plugin_dir_url( __FILE__ ) . '/js/admin-script.js', array( 'jquery', 'jquery-ui-tooltip' ), '1.0.1', true ); 407 407 $css_file_name = 'run-log' . (is_rtl() ? '-rtl' : '') . '.css'; 408 wp_enqueue_style( 'oirl-css', plugin_dir_url( __FILE__ ) . "/$css_file_name", null, '1. 2.0' );408 wp_enqueue_style( 'oirl-css', plugin_dir_url( __FILE__ ) . "/$css_file_name", null, '1.7.7' ); 409 409 } 410 410 add_action( 'admin_enqueue_scripts', 'oirl_admin_scripts' );
Note: See TracChangeset
for help on using the changeset viewer.