File tree 1 file changed +30
-31
lines changed 1 file changed +30
-31
lines changed Original file line number Diff line number Diff line change 18
18
*
19
19
* @example
20
20
<example module="patternfly.utils">
21
+ <file name="example.css">
22
+ .pf-transclude-example div {
23
+ border: 1px solid #337ab7;
24
+ margin-bottom: 20px;
25
+ margin-left: 20px;
26
+ }
27
+
28
+ .pf-transclude-example p {
29
+ background-color: #337ab7;
30
+ margin: 0;
31
+ padding: 5px 10px;
32
+ }
33
+
34
+ .pf-transclude-example id {
35
+ display: inline-block;
36
+ background-color: #def3ff;
37
+ color: #000000;
38
+ border-radius: 10px;
39
+ width: 20px;
40
+ height: 20px;
41
+ text-align: center;
42
+ line-height: 20px;
43
+ margin-left: 5px;
44
+ }
45
+
46
+ .pf-transclude-example pre {
47
+ padding: 5px;
48
+ border-width: 0px;
49
+ }
50
+ </file>
21
51
<file name="index.html">
22
- <style>
23
-
24
- .pf-transclude-example div {
25
- border: 1px solid #337ab7;
26
- margin-bottom: 20px;
27
- margin-left: 20px;
28
- }
29
-
30
- .pf-transclude-example p {
31
- background-color: #337ab7;
32
- margin: 0;
33
- padding: 5px 10px;
34
- }
35
-
36
- .pf-transclude-example id {
37
- display: inline-block;
38
- background-color: #def3ff;
39
- color: #000000;
40
- border-radius: 10px;
41
- width: 20px;
42
- height: 20px;
43
- text-align: center;
44
- line-height: 20px;
45
- margin-left: 5px;
46
- }
47
-
48
- .pf-transclude-example pre {
49
- padding: 5px;
50
- border-width: 0px;
51
- }
52
- </style>
53
52
<div ng-controller="UtilCtrl" class="row pf-transclude-example" style="display:inline-block; width: 100%;">
54
53
<span>Here the scope id is: <id>{{$id}}</id></span>
55
54
You can’t perform that action at this time.
0 commit comments