File tree Expand file tree Collapse file tree 3 files changed +18
-18
lines changed
field_permission_example/css Expand file tree Collapse file tree 3 files changed +18
-18
lines changed Original file line number Diff line number Diff line change 3
3
* CSS for Field Example.
4
4
*/
5
5
.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 : 0 px 4px 6px # 333 ;
18
- -moz -box-shadow: 0 px 4px 6px # 333 ;
19
- -webkit- box-shadow: 0 px 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 ;
20
20
}
Original file line number Diff line number Diff line change 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;
4
4
}
Original file line number Diff line number Diff line change @@ -91,7 +91,7 @@ public function getJsWeightImplementation() {
91
91
// Main container DIV. We give it a unique ID so that the JavaScript can
92
92
// find it using jQuery.
93
93
$ build ['content ' ] = array (
94
- '#markup ' => '<div id="js-weights"></div> ' ,
94
+ '#markup ' => '<div id="js-weights" class="js-weights" ></div> ' ,
95
95
);
96
96
// Attach library containing css and js files.
97
97
$ build ['#attached ' ]['library ' ][] = 'js_example/js_example.weights ' ;
You can’t perform that action at this time.
0 commit comments