File tree Expand file tree Collapse file tree 8 files changed +173
-20
lines changed Expand file tree Collapse file tree 8 files changed +173
-20
lines changed Original file line number Diff line number Diff line change
1
+ .block-welcome {
2
+ position : relative;
3
+ background-color : # F1F4F9 ;
4
+ padding : 30px 50px ;
5
+
6
+ font-size : 16px ;
7
+ line-height : 24px ;
8
+
9
+ color : # 677688 ;
10
+ }
11
+
12
+ .block-welcome img {
13
+ position : absolute;
14
+ width : 110px ;
15
+ right : 73px ;
16
+ top : 24px ;
17
+ }
18
+
19
+ .block-welcome-row {
20
+ display : flex;
21
+ align-items : center;
22
+ }
23
+
24
+ .block-welcome-title {
25
+ font-family : 'Lato' ;
26
+ font-style : normal;
27
+ font-weight : 500 ;
28
+ font-size : 22px ;
29
+ line-height : 26px ;
30
+ display : flex;
31
+ align-items : center;
32
+
33
+ color : # 677688 ;
34
+ }
35
+
36
+ .block-welcome-text {
37
+ font-family : 'Lato' ;
38
+ font-style : normal;
39
+ font-weight : 400 ;
40
+ font-size : 16px ;
41
+ line-height : 19px ;
42
+ margin-top : 30px ;
43
+
44
+ color : # 677688 ;
45
+ }
46
+
47
+ .block-welcome-row .block-welcome-text {
48
+ width : 68.5% ;
49
+ }
50
+
51
+ .bold {
52
+ font-weight : bold;
53
+ }
Original file line number Diff line number Diff line change
1
+ < div class ="block-welcome ">
2
+ < div class ="block-welcome-title "> Welcome!</ div >
3
+ < div class ="block-welcome-row ">
4
+ < div class ="block-welcome-text ">
5
+ This pre-requisite section will follow you all along the tutorials
6
+ marked with the use case < span class ="bold "> "App workflow"</ span > .
7
+ </ div >
8
+ < img src ="../content/img/illustrations/illus--Attributegroup.svg " width ="140px ">
9
+ </ div >
10
+ < div class ="block-welcome-text ">
11
+ The workflow starts with this tutorial that will guide you through the creation of a draft App.
12
+ At the end of this tutorial, your draft App will receive an < span class ="bold "> access token and will be able to call
13
+ the REST API.</ span >
14
+ </ div >
15
+ < div class ="block-welcome-text ">
16
+ Let's start!
17
+ </ div >
18
+ </ div >
Original file line number Diff line number Diff line change 1
- @import "tile.css" ;
2
- @import "search-bar.css" ;
3
-
4
1
/** Default pim-api-doc CSS **/
5
2
body {
6
3
width : 740px ;
@@ -101,6 +98,7 @@ button {
101
98
102
99
color : # 677688 ;
103
100
}
101
+
104
102
.block-next-steps img {
105
103
margin-right : 50px ;
106
104
}
Original file line number Diff line number Diff line change 2
2
< head >
3
3
< link rel ="stylesheet " href ="https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css ">
4
4
< link rel ="stylesheet " href ="components.css ">
5
+ < link rel ="stylesheet " href ="tile.css ">
6
+ < link rel ="stylesheet " href ="block-welcome.css ">
5
7
</ head >
6
8
< body >
7
9
< div >
90
92
< iframe src ="./tile.html " onload ="this.before((this.contentDocument.body||this.contentDocument).children[0]);this.remove() "> </ iframe >
91
93
92
94
</ body >
95
+
96
+ < hr >
97
+
98
+ < iframe src ="./block-welcome.html " onload ="this.before((this.contentDocument.body||this.contentDocument).children[0]);this.remove() "> </ iframe >
99
+
93
100
</ html >
Original file line number Diff line number Diff line change @@ -13,14 +13,33 @@ Implement the required parts of the App activation process and receive an App ac
13
13
<tr>
14
14
<td>Use case:</td>
15
15
<td>
16
- <button aria-pressed="false" class="tag-selectable">
16
+ <div class="tag-not -selectable">
17
17
<div class="tag-color tag-color-light-blue"></div>
18
18
<div class="tag-label">App Workflow</div>
19
- </button >
19
+ </div >
20
20
</td>
21
21
</tr>
22
22
</table >
23
23
24
+ <div class =" block-welcome " >
25
+ <div class="block-welcome-title">Welcome!</div>
26
+ <div class="block-welcome-row">
27
+ <div class="block-welcome-text">
28
+ This pre-requisite section will follow you all along the tutorials
29
+ marked with the use case <b>"App workflow"</b>.
30
+ </div>
31
+ <img src="../../img/illustrations/illus--Attributegroup.svg" width="140px">
32
+ </div>
33
+ <div class="block-welcome-text">
34
+ The workflow starts with this tutorial that will guide you through the creation of a draft App.
35
+ At the end of this tutorial, your draft App will receive an <b>access token and will be able to call
36
+ the REST API.</b>
37
+ </div>
38
+ <div class="block-welcome-text">
39
+ Let's start!
40
+ </div>
41
+ </div >
42
+
24
43
## What you will learn
25
44
In this tutorial, we provide a guide on how to implement the required parts of your App for the activation process based on OAuth 2.0 with Authorization Code.
26
45
At the end of this tutorial, your App will receive an Access Token and will be able to call the REST API of a PXM Studio.
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ Retrieve the PIM structure through a channel resource. This is usually the requi
13
13
<tr>
14
14
<td>Use case:</td>
15
15
<td>
16
- <div aria-pressed="false" class="tag-selectable">
16
+ <div class="tag-not -selectable">
17
17
<div class="tag-color tag-color-light-blue"></div>
18
18
<div class="tag-label">App Workflow</div>
19
19
</div>
@@ -22,7 +22,7 @@ Retrieve the PIM structure through a channel resource. This is usually the requi
22
22
<tr>
23
23
<td>PIM Features:</td>
24
24
<td>
25
- <div aria-pressed="false" class="tag-selectable">
25
+ <div class="tag-not -selectable">
26
26
<div class="tag-color tag-color-red"></div>
27
27
<div class="tag-label">Channel</div>
28
28
</div>
Original file line number Diff line number Diff line change 51
51
</div >
52
52
<script type =" text/javascript" >
53
53
let filtersActivated = [];
54
- let $filtered = $ (' .filtered-result' );
54
+ const $filtered = $ (' .filtered-result' );
55
55
$filtered .hide ();
56
56
57
57
$ .expr [' :' ].textEquals = function (a , i , m ) {
58
58
return $ (a).text ().match (" ^" + m[3 ] + " $" );
59
59
}
60
60
61
+ const $grid = $ (' .tile-list' ).isotope ({
62
+ initLayout: false
63
+ });
64
+ $grid .isotope ( ' on' , ' arrangeComplete' , function (filteredItems ) {
65
+ for (let label in filtersActivated) {
66
+ if (filtersActivated[label]) {
67
+ return $filtered .text (' Filtered results (' + filteredItems .length + ' )' ).show ();
68
+ }
69
+ }
70
+ });
71
+
61
72
$ (window ).on (' hashchange' , onHashchange);
62
73
onHashchange ();
63
74
91
102
}
92
103
}
93
104
94
- var $grid = $ ( ' .tile-list ' ) .isotope ({
105
+ $grid .isotope ({
95
106
itemSelector: ' .tile' ,
96
107
layoutMode: ' fitRows' ,
97
108
filter : function () {
106
117
}
107
118
});
108
119
109
- $grid .on (' arrangeComplete' , function (event , filteredItems ) {
110
- for (let label in filtersActivated) {
111
- if (filtersActivated[label]) {
112
- return $filtered .text (' Filtered results (' + filteredItems .length + ' )' ).show ();
113
- }
114
- }
115
- });
116
-
117
120
if (! hasFilter) {
118
- $ ( ' .tile-list ' ) .isotope ({
121
+ $grid .isotope ({
119
122
filter: ' *'
120
123
});
121
124
$filtered .hide ()
Original file line number Diff line number Diff line change 133
133
font-weight : 500 ;
134
134
}
135
135
.tag-container-xs td :first-child {
136
- width : 90 px ;
136
+ width : 75 px ;
137
137
font-size : 15px ;
138
138
font-weight : 500 ;
139
139
}
140
140
141
- .tag-selectable {
141
+ .tag-selectable , .tag-not-selectable {
142
142
box-sizing : border-box ;
143
143
144
144
display : flex ;
217
217
.tag-selectable :hover {
218
218
background-color : #E6E6E7 ;
219
219
cursor : pointer ;
220
+ text-decoration : none ;
220
221
}
221
222
222
223
.tag-selected {
371
372
ul .nav.nav-stacked {
372
373
margin-top : 30px ;
373
374
}
375
+
376
+ /* ******************* BLOCK WELCOME ***********************/
377
+
378
+ .block-welcome {
379
+ position : relative ;
380
+ background-color : #F1F4F9 ;
381
+ padding : 30px 46px ;
382
+ margin-top : 27px ;
383
+
384
+ font-size : 16px ;
385
+ line-height : 24px ;
386
+
387
+ color : #677688 ;
388
+ border-radius : 5px ;
389
+ }
390
+
391
+ .block-welcome img {
392
+ position : absolute ;
393
+ width : 110px ;
394
+ right : 73px ;
395
+ top : 24px ;
396
+ }
397
+
398
+ .block-welcome-row {
399
+ display : flex ;
400
+ align-items : center ;
401
+ }
402
+
403
+ .block-welcome-title {
404
+ font-family : ' Lato' ;
405
+ font-style : normal ;
406
+ font-weight : 500 ;
407
+ font-size : 22px ;
408
+ line-height : 26px ;
409
+ display : flex ;
410
+ align-items : center ;
411
+
412
+ color : #677688 ;
413
+ }
414
+
415
+ .block-welcome-text {
416
+ font-family : ' Lato' ;
417
+ font-style : normal ;
418
+ font-weight : 400 ;
419
+ font-size : 16px ;
420
+ line-height : 19px ;
421
+ margin-top : 30px ;
422
+
423
+ color : #677688 ;
424
+ }
425
+
426
+ .block-welcome-row .block-welcome-text {
427
+ width : 68.5% ;
428
+ }
You can’t perform that action at this time.
0 commit comments