PluginProbe
ShiftController Employee Shift Scheduling / 3.2.4
ShiftController Employee Shift Scheduling v3.2.4
4.9.97 4.9.96 4.9.95 4.9.74 4.9.75 4.9.76 4.9.77 4.9.78 4.9.84 4.9.85 4.9.87 4.9.91 4.9.92 trunk 2.1.0 2.1.1 2.1.2 2.2.0 2.2.1 2.2.2 2.2.3 2.2.4 2.2.5 2.2.6 3.2.4 All 38 releases
shiftcontroller / application / modules / wordpress / html / styler.php

styler.php in ShiftController Employee Shift Scheduling 3.2.4, at application/modules/wordpress/html/styler.php

51 lines 934 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 class HC_Html_Element_Styler_Theme_Rewrite
3 {
4 function btn_success( $el )
5 {
6 $el
7 ->set_skip_css_pref(1)
8 ->add_attr('class', 'page-title-action')
9 ->set_skip_css_pref(0)
10 ->add_style('padding', 'x2', 'y1')
11 ;
12 return $el;
13 }
14
15 function btn_primary( $el )
16 {
17 $el
18 ->set_skip_css_pref(1)
19 ->add_attr('class', 'button')
20 ->add_attr('class', 'button-primary')
21 ->set_skip_css_pref(0)
22
23 // ->add_style('padding', 1)
24 // ->add_style('padding', 'x2', 'y1')
25 ;
26 return $el;
27 }
28
29 function btn_secondary( $el )
30 {
31 $el
32 ->set_skip_css_pref(1)
33 ->add_attr('class', 'button')
34 ->add_attr('class', 'button-secondary')
35 ->set_skip_css_pref(0)
36 ;
37 return $el;
38 }
39
40 function btn_danger( $el )
41 {
42 $el
43 ->add_style('btn')
44 ->add_style('btn-submit', 1)
45 ->add_style('border-color', 'red')
46 ->add_style('color', 'red')
47 ;
48 return $el;
49 }
50 }
51 ?>