Skip to content

Commit 5f4d8de

Browse files
yash-iksulapaul-m
authored andcommitted
Issue #2884172 by yash_khandelwal: Fix CSS coding standards errors
1 parent 21259c2 commit 5f4d8de

File tree

3 files changed

+18
-18
lines changed

3 files changed

+18
-18
lines changed

field_permission_example/css/field_permission_example.css

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -3,18 +3,18 @@
33
* CSS for Field Example.
44
*/
55
.stickynote {
6-
background: #fefabc;
7-
padding: 0.8em;
8-
font-family: cursive;
9-
font-size: 1.1em;
10-
color: 1000;
11-
width: 15em;
12-
-moz-transform: rotate(2deg);
13-
-webkit-transform: rotate(2deg);
14-
-o-transform: rotate(2deg);
15-
-ms-transform: rotate(2deg);
16-
transform: rotate(2deg);
17-
box-shadow: 0px 4px 6px #333;
18-
-moz-box-shadow: 0px 4px 6px #333;
19-
-webkit-box-shadow: 0px 4px 6px #333;
6+
background: #fefabc;
7+
padding: 0.8em;
8+
font-family: cursive;
9+
font-size: 1.1em;
10+
color: #def9ff;
11+
width: 15em;
12+
-moz-transform: rotate(2deg);
13+
-webkit-transform: rotate(2deg);
14+
-o-transform: rotate(2deg);
15+
-ms-transform: rotate(2deg);
16+
transform: rotate(2deg);
17+
-moz-box-shadow: 0 4px 6px #333;
18+
-webkit-box-shadow: 0 4px 6px #333;
19+
box-shadow: 0 4px 6px #333;
2020
}

js_example/css/jsweights.css

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
div#js-weights div {
2-
font-size: 20px;
3-
font-weight: bold;
1+
.js-weights div {
2+
font-size: 20px;
3+
font-weight: bold;
44
}

js_example/src/Controller/JsExampleController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ public function getJsWeightImplementation() {
9191
// Main container DIV. We give it a unique ID so that the JavaScript can
9292
// find it using jQuery.
9393
$build['content'] = array(
94-
'#markup' => '<div id="js-weights"></div>',
94+
'#markup' => '<div id="js-weights" class="js-weights"></div>',
9595
);
9696
// Attach library containing css and js files.
9797
$build['#attached']['library'][] = 'js_example/js_example.weights';

0 commit comments

Comments
 (0)