Changeset 2082757
- Timestamp:
- 05/07/2019 05:45:18 PM (7 years ago)
- Location:
- echelon-so/trunk
- Files:
-
- 3 edited
-
features/helper-css/helper-css.php (modified) (5 diffs)
-
inc/utilities.css (modified) (2 diffs)
-
widgets/eso-template-tag/eso-template-tag.php (modified) (10 diffs)
Legend:
- Unmodified
- Added
- Removed
-
echelon-so/trunk/features/helper-css/helper-css.php
r2080435 r2082757 44 44 'group' => 'echelonso_helper_css_group', 45 45 'description' => __( 'Choose the color for the text.', 'echelon-so' ), 46 'priority' => 24,46 'priority' => 10, 47 47 'default' => '0', 48 48 'options' => array( … … 54 54 ); 55 55 56 $fields['echelonso_helper_css_text_size'] = array( 57 'name' => __( 'Text Size', 'echelon-so' ), 58 'type' => 'select', 59 'group' => 'echelonso_helper_css_group', 60 'description' => __( 'Choose the size for the text.', 'echelon-so' ), 61 'priority' => 20, 62 'default' => '0', 63 'options' => array( 64 '0' => __('Please Select', 'echelon-so'), 65 'eso-rem-1' => __('1rem', 'echelon-so'), 66 'eso-rem-15' => __('1.5rem', 'echelon-so'), 67 'eso-rem-2' => __('2rem', 'echelon-so'), 68 'eso-rem-25' => __('2.5rem', 'echelon-so'), 69 'eso-rem-3' => __('3rem', 'echelon-so'), 70 'eso-rem-35' => __('3.5rem', 'echelon-so'), 71 'eso-rem-4' => __('4rem', 'echelon-so'), 72 'eso-rem-45' => __('4.5rem', 'echelon-so'), 73 'eso-rem-5' => __('5rem', 'echelon-so'), 74 ) 75 ); 76 77 $fields['echelonso_helper_css_text_weight'] = array( 78 'name' => __( 'Text Weight', 'echelon-so' ), 79 'type' => 'select', 80 'group' => 'echelonso_helper_css_group', 81 'description' => __( 'Choose the weight for the text.', 'echelon-so' ), 82 'priority' => 30, 83 'default' => '0', 84 'options' => array( 85 '0' => __('Please Select', 'echelon-so'), 86 'eso-t-lighter' => __('Lighter', 'echelon-so'), 87 'eso-t-normal' => __('Normal', 'echelon-so'), 88 'eso-t-bold' => __('Bold', 'echelon-so'), 89 ) 90 ); 91 92 $fields['echelonso_helper_css_text_color'] = array( 93 'name' => __( 'Text Color', 'echelon-so' ), 94 'type' => 'select', 95 'group' => 'echelonso_helper_css_group', 96 'description' => __( 'Choose the color for the text.', 'echelon-so' ), 97 'priority' => 40, 98 'default' => '0', 99 'options' => array( 100 '0' => __('Please Select', 'echelon-so'), 101 'eso-color-1' => __('Color 1', 'echelon-so'), 102 'eso-color-2' => __('Color 2', 'echelon-so'), 103 'eso-color-3' => __('Color 3', 'echelon-so'), 104 'eso-color-4' => __('Color 4', 'echelon-so'), 105 'eso-color-5' => __('Color 5', 'echelon-so'), 106 'eso-color-dark' => __('Dark', 'echelon-so'), 107 'eso-text-white' => __('White', 'echelon-so'), 108 ) 109 ); 110 56 111 $fields['echelonso_helper_css_background_color'] = array( 57 112 'name' => __( 'Background Color', 'echelon-so' ), … … 59 114 'group' => 'echelonso_helper_css_group', 60 115 'description' => __( 'Choose the color for the background.', 'echelon-so' ), 61 'priority' => 25,116 'priority' => 50, 62 117 'default' => '0', 63 118 'options' => array( … … 69 124 'eso-bg-5' => __('Color 5', 'echelon-so'), 70 125 'eso-bg-dark' => __('Dark', 'echelon-so'), 71 )72 );73 74 $fields['echelonso_helper_css_text_color'] = array(75 'name' => __( 'Text Color', 'echelon-so' ),76 'type' => 'select',77 'group' => 'echelonso_helper_css_group',78 'description' => __( 'Choose the color for the text.', 'echelon-so' ),79 'priority' => 26,80 'default' => '0',81 'options' => array(82 '0' => __('Please Select', 'echelon-so'),83 'eso-color-1' => __('Color 1', 'echelon-so'),84 'eso-color-2' => __('Color 2', 'echelon-so'),85 'eso-color-3' => __('Color 3', 'echelon-so'),86 'eso-color-4' => __('Color 4', 'echelon-so'),87 'eso-color-5' => __('Color 5', 'echelon-so'),88 'eso-color-dark' => __('Dark', 'echelon-so'),89 126 ) 90 127 ); … … 112 149 } 113 150 114 if ( !empty($style['echelonso_helper_css_background_color']) ) { 115 $attributes['class'][] = $style['echelonso_helper_css_background_color']; 151 if ( !empty($style['echelonso_helper_css_text_size']) ) { 152 $attributes['class'][] = $style['echelonso_helper_css_text_size']; 153 } 154 155 if ( !empty($style['echelonso_helper_css_text_weight']) ) { 156 $attributes['class'][] = $style['echelonso_helper_css_text_weight']; 116 157 } 117 158 118 159 if ( !empty($style['echelonso_helper_css_text_color']) ) { 119 160 $attributes['class'][] = $style['echelonso_helper_css_text_color']; 161 } 162 163 if ( !empty($style['echelonso_helper_css_background_color']) ) { 164 $attributes['class'][] = $style['echelonso_helper_css_background_color']; 120 165 } 121 166 -
echelon-so/trunk/inc/utilities.css
r2080435 r2082757 14 14 .eso-t-left { text-align: left; } 15 15 .eso-t-right { text-align: right; } 16 .eso-t-strong { font-weight: bold; } 16 .eso-t-lighter { font-weight: lighter; } 17 .eso-t-normal { font-weight: normal; } 18 .eso-t-bold { font-weight: bold; } 17 19 .eso-t-upper { text-transform: uppercase; } 18 20 … … 30 32 .eso-f-40 { font-size: 40px; } 31 33 .eso-f-50 { font-size: 50px; } 34 35 .eso-rem-1 { font-size: 1rem; } 36 .eso-rem-15 { font-size: 1.5rem; } 37 .eso-rem-2 { font-size: 2rem; } 38 .eso-rem-25 { font-size: 2.5rem; } 39 .eso-rem-3 { font-size: 3rem; } 40 .eso-rem-35 { font-size: 3.5rem; } 41 .eso-rem-4 { font-size: 4rem; } 42 .eso-rem-45 { font-size: 4.5rem; } 43 .eso-rem-5 { font-size: 5rem; } 32 44 33 45 -
echelon-so/trunk/widgets/eso-template-tag/eso-template-tag.php
r2080435 r2082757 90 90 'template_tag[excerpt]' => array('hide'), 91 91 'template_tag[title]' => array('hide'), 92 'template_tag[thumbnail]' => array('hide') 92 'template_tag[thumbnail]' => array('hide'), 93 'template_tag[content]' => array('hide'), 93 94 ) 94 95 ), … … 123 124 'template_tag[excerpt]' => array('hide'), 124 125 'template_tag[title]' => array('hide'), 125 'template_tag[thumbnail]' => array('hide') 126 'template_tag[thumbnail]' => array('hide'), 127 'template_tag[content]' => array('hide'), 126 128 ) 127 129 ), … … 165 167 'template_tag[excerpt]' => array('hide'), 166 168 'template_tag[title]' => array('hide'), 167 'template_tag[thumbnail]' => array('hide') 169 'template_tag[thumbnail]' => array('hide'), 170 'template_tag[content]' => array('hide'), 168 171 ) 169 172 ), … … 192 195 'template_tag[excerpt]' => array('hide'), 193 196 'template_tag[title]' => array('hide'), 194 'template_tag[thumbnail]' => array('hide') 197 'template_tag[thumbnail]' => array('hide'), 198 'template_tag[content]' => array('hide'), 195 199 ) 196 200 ), … … 225 229 'template_tag[excerpt]' => array('show'), 226 230 'template_tag[title]' => array('hide'), 227 'template_tag[thumbnail]' => array('hide') 231 'template_tag[thumbnail]' => array('hide'), 232 'template_tag[content]' => array('hide'), 228 233 ) 229 234 ), … … 252 257 'template_tag[excerpt]' => array('hide'), 253 258 'template_tag[title]' => array('hide'), 254 'template_tag[thumbnail]' => array('hide') 259 'template_tag[thumbnail]' => array('hide'), 260 'template_tag[content]' => array('hide'), 255 261 ) 256 262 ), … … 279 285 'template_tag[excerpt]' => array('hide'), 280 286 'template_tag[title]' => array('hide'), 281 'template_tag[thumbnail]' => array('hide') 287 'template_tag[thumbnail]' => array('hide'), 288 'template_tag[content]' => array('hide'), 282 289 ) 283 290 ), … … 306 313 'template_tag[excerpt]' => array('hide'), 307 314 'template_tag[title]' => array('show'), 308 'template_tag[thumbnail]' => array('hide') 315 'template_tag[thumbnail]' => array('hide'), 316 'template_tag[content]' => array('hide'), 309 317 ) 310 318 ), … … 340 348 'template_tag[excerpt]' => array('hide'), 341 349 'template_tag[title]' => array('hide'), 342 'template_tag[thumbnail]' => array('hide') 350 'template_tag[thumbnail]' => array('hide'), 351 'template_tag[content]' => array('hide'), 343 352 ) 344 353 ), … … 372 381 'template_tag[excerpt]' => array('hide'), 373 382 'template_tag[title]' => array('hide'), 374 'template_tag[thumbnail]' => array('show') 383 'template_tag[thumbnail]' => array('show'), 384 'template_tag[content]' => array('hide'), 375 385 ) 376 386 )
Note: See TracChangeset
for help on using the changeset viewer.