PluginProbe
Social Share Buttons / 0.9
Social Share Buttons v0.9
trunk 0.9 1.0 1.1 1.1.1 1.1.2 1.10 1.11 1.12 1.15 1.16 1.17 1.18 1.19 1.2 1.20 1.3 1.30 1.4 1.5 1.6 1.7 1.8 1.9
share-button / classes / styles / square-style.php

square-style.php in Social Share Buttons 0.9, at classes/styles/square-style.php

38 lines 994 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 namespace MBSocial;
3 defined('ABSPATH') or die('No direct access permitted');
4
5 squareStyle::registerStyle(10);
6
7 class squareStyle extends style
8 {
9 public $class = 'square single-meta';
10 public $name = 'square';
11 public $description = " Square Social Buttons ";
12
13 public $has_label = true;
14
15 public function prepareCSS($args)
16 {
17 parent::prepareCSS($args);
18 $this->addFlex();
19 $this->addFlex('mb-share-count');
20 $this->addFlex('mb-label');
21
22 $this->addCSS( 'display', 'none', 'mb-share-count');
23 $this->addCSS( 'display', 'none', 'mb-label');
24
25 $this->addCSS( 'display', 'flex', 'mb-label', 'hover');
26 $this->addCSS('font-size', '13px', 'mb-label', 'hover');
27
28 $this->addCSS( 'display', 'flex', 'mb-share-count', 'hover');
29 $this->addCSS( 'display', 'none', 'mb-icon-wrapper', 'hover');
30
31 $this->addCSS('font-size','18px', 'mb-count-total');
32 // $this->addCSS('font-size','13px', 'mb-label-total');
33
34 $this->addCSS('transform', 'scale(1.2)', 'maxbutton-social', 'hover');
35 }
36
37 }
38