PluginProbe ʕ •ᴥ•ʔ
Strong Testimonials / 3.3.6
Strong Testimonials v3.3.6
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 / _partials / _list-radio-buttons.scss
strong-testimonials / admin / scss / _partials Last commit date
_background.scss 1 year ago _category-checkboxes.scss 1 year ago _category-filter.scss 1 year ago _checkbox-icons.scss 1 year ago _custom-fields.scss 1 year ago _elements.scss 1 year ago _form-table.scss 1 year ago _help-tab.scss 1 year ago _inner-table.scss 1 year ago _inputs.scss 1 year ago _layout-example-columns.scss 1 year ago _layout-example-grid.scss 1 year ago _layout-example-masonry.scss 1 year ago _layout-examples.scss 1 year ago _layout.scss 1 year ago _list-radio-buttons.scss 1 year ago _misc.scss 1 year ago _screenshots.scss 1 year ago _sticky-views.scss 1 year ago _structure.scss 1 year ago _template.scss 1 year ago _view-info.scss 1 year ago
_list-radio-buttons.scss
135 lines
1 /* -------------------------------------------------
2 List radio buttons
3 ------------------------------------------------- */
4
5 .section-radios {
6 display: flex;
7 justify-content: space-between;
8
9 > div {
10 &:first-child {
11 flex: 0 0 15%;
12 }
13
14 &:nth-child(2) {
15 flex: 1 1 auto; // magic
16 background: $blue_bg;
17 border-radius: 15px;
18 }
19 }
20 }
21
22
23 .radio-buttons {
24 input[type=radio]=radio] {
25 display: none;
26
27 + label {
28 border-radius: 15px 0 0 15px;
29 line-height: 30px;
30 margin-right: 15px;
31
32 &:before {
33 display: inline-block;
34 color: #999;
35 text-align: center;
36 // 30px wide would make it square and provide enough space before the test,
37 // but we get 4px from new line in html,
38 // so 20 wide + 5 left margin + 1 right margin + 4 new line = 30px
39 font-size: 17px;
40 margin-left: 5px;
41 margin-right: 1px;
42 width: 20px;
43
44 /* unchecked icon */
45 content: "";
46 -webkit-mask: url('../img/circle-regular.svg') center center no-repeat;
47 mask: url('../img/circle-regular.svg') center center no-repeat;
48 }
49
50 &:hover:before {
51 color: #FF8900;
52 }
53 }
54
55 &:checked + label {
56 &:before {
57 /* checked icon */
58 content: "\f192";
59 color: $blue;
60 }
61
62 &:hover:before {
63 color: $orange;
64 }
65 }
66
67 &.error + label,
68 &.error + label:before {
69 color: red;
70 }
71
72 &:disabled + label {
73 color: #AAA;
74
75 &:before {
76 color: #CCC;
77 }
78
79 &:hover {
80 background: transparent;
81 }
82 }
83
84 &:checked:disabled + label:hover {
85 background: #EAF7FB;
86 }
87 }
88 }
89
90 ul.radio-list {
91 margin: 15px 0;
92
93 li {
94 margin: 0;
95
96 &.current-selection {
97 label {
98 background: $blue_bg;
99 }
100 }
101
102 label {
103 width: 100%;
104 white-space: nowrap;
105 }
106 }
107 }
108
109 .radio-description {
110 padding: 0 15px;
111
112 p {
113 margin: 15px 0 15px !important;
114 }
115 }
116
117 .options {
118 margin: 0 10px 15px 0;
119
120 // inner div required
121 > div {
122 display: inline-block;
123
124 > div {
125 display: inline-block;
126 width: 25%;
127 }
128 }
129 }
130
131 // Add margin to match <p>. Must be after `.options` rules.
132 .description-inner {
133 margin: 15px 0;
134 }
135