PluginProbe ʕ •ᴥ•ʔ
Strong Testimonials / 2.38
Strong Testimonials v2.38
3.3.6 3.3.5 3.3.4 3.3.3 3.3.2 3.3.1 trunk 1.0.1 2.30.9 2.31.10 2.32 2.32.1 2.32.2 2.32.3 2.32.4 2.33 2.34 2.35 2.36 2.37 2.38 2.38.1 2.39 2.39.1 2.39.2 2.39.3 2.40.0 2.40.1 2.40.2 2.40.3 2.40.4 2.40.5 2.40.6 2.40.7 2.41.0 2.41.1 2.50.0 2.50.1 2.50.2 2.50.3 2.50.4 2.51.0 2.51.1 2.51.2 2.51.3 2.51.4 2.51.5 2.51.6 2.51.7 2.51.8 2.51.9 3.0.0 3.0.1 3.0.2 3.0.3 3.1.0 3.1.1 3.1.10 3.1.11 3.1.12 3.1.13 3.1.14 3.1.15 3.1.16 3.1.17 3.1.18 3.1.19 3.1.2 3.1.20 3.1.3 3.1.4 3.1.5 3.1.6 3.1.7 3.1.8 3.1.9 3.2.0 3.2.1 3.2.10 3.2.11 3.2.12 3.2.13 3.2.14 3.2.15 3.2.16 3.2.17 3.2.18 3.2.19 3.2.2 3.2.20 3.2.21 3.2.22 3.2.3 3.2.4 3.2.5 3.2.6 3.2.7 3.2.8 3.2.9 3.3.0
strong-testimonials / admin / scss / number-spinner.scss
strong-testimonials / admin / scss Last commit date
_partials 7 years ago about.scss 7 years ago admin-compat.scss 7 years ago number-spinner.scss 7 years ago post-editor.scss 7 years ago views.scss 7 years ago
number-spinner.scss
108 lines
1 /**
2 * Number spinner
3 */
4 .number-style {
5 display: inline-block;
6 margin-right: 10px;
7
8 input {
9 margin: 0 5px;
10 font-family: Consolas, Monaco, monospace;
11 text-align: center;
12 width: 4em;
13 }
14
15 > span {
16 cursor: pointer;
17
18 &.number-minus,
19 &.number-plus {
20 height: 24px;
21 width: 24px;
22 display: inline-block;
23 text-align: center;
24 vertical-align: top;
25 // to match WordPress:
26 border-radius: 3px;
27 background: #0085ba;
28 border-width: 1px;
29 border-style: solid;
30 border-color: #0073aa #006799 #006799;
31 -webkit-box-shadow: 0 1px 0 #006799;
32 box-shadow: 0 1px 0 #006799;
33 text-shadow: 0 -1px 1px #006799, 1px 0 1px #006799, 0 1px 1px #006799, -1px 0 1px #006799;
34 color: #FFF;
35
36 &:hover {
37 background: #008ec2;
38 }
39
40 &:active {
41 background: #0073aa;
42 border-color: #006799;
43 -webkit-box-shadow: inset 0 2px 0 #006799;
44 box-shadow: inset 0 2px 0 #006799;
45 -webkit-transform: translateY(1px);
46 -ms-transform: translateY(1px);
47 transform: translateY(1px);
48 outline: none;
49 }
50
51 &.disabled {
52 background: #AAA;
53 border-color: #999 #777 #777;
54 -webkit-box-shadow: 0 1px 0 #777;
55 box-shadow: 0 1px 0 #777;
56 text-shadow: 0 -1px 1px #777, 1px 0 1px #777, 0 1px 1px #777, -1px 0 1px #777;
57 }
58 }
59
60 &.number-minus::after,
61 &.number-plus::after {
62 font-family: dashicons;
63 font-size: 24px;
64 line-height: 24px;
65 height: 24px;
66 width: 24px;
67 display: inline-block;
68 color: #FFF;
69 text-align: center;
70 position: relative;
71 left: -1px;
72 }
73
74 &.number-minus::after {
75 content: "\f140";
76 }
77
78 &.number-plus::after {
79 content: "\f142";
80 }
81 }
82
83 input[type='number']='number'] {
84 -moz-appearance: textfield;
85 }
86
87 input::-webkit-outer-spin-button,
88 input::-webkit-inner-spin-button {
89 -webkit-appearance: none;
90 }
91
92 /**
93 * Disable text selection on buttons. Seems to help jittery pointers.
94 */
95 .number-minus,
96 .number-plus,
97 .number-minus::after,
98 .number-plus::after {
99 -webkit-touch-callout: none; /* iOS Safari */
100 -webkit-user-select: none; /* Safari */
101 -khtml-user-select: none; /* Konqueror HTML */
102 -moz-user-select: none; /* Firefox */
103 -ms-user-select: none; /* Internet Explorer/Edge */
104 user-select: none; /* Non-prefixed version, currently
105 supported by Chrome and Opera */
106 }
107 }
108