File tree Expand file tree Collapse file tree 3 files changed +52
-0
lines changed
Service Portal Widgets/Drawer Buttons Expand file tree Collapse file tree 3 files changed +52
-0
lines changed Original file line number Diff line number Diff line change
1
+ <!--drawer buttons-->
2
+ < div id ="escButtons " >
3
+ < a href ="# " id ="policies "> Policies</ a >
4
+ < a href ="# " id ="divisions "> Divisions</ a >
5
+ < a href ="# " id ="contact "> Contact</ a >
6
+ </ div >
Original file line number Diff line number Diff line change
1
+ To use this widget, follow the below steps:
2
+
3
+ 1 . Create a new widget and copy the html, style in the widget.
4
+ 2 . Add the widget on the homepage .
5
+ 4 . Change the width and placement according to your need.
6
+
7
+
8
+ Here is Page Content structure
9
+
10
+ <img width =" 326 " alt =" image " src =" https://github.com/user-attachments/assets/5fe8fcb7-858c-431a-91f9-5e31537c656d " >
11
+
Original file line number Diff line number Diff line change
1
+
2
+ //css for styling of all the buttons
3
+ # escButtons a {
4
+ position : absolute;
5
+ right : -90px ;
6
+ transition : 0.3s ;
7
+ border : 2px solid white;
8
+ border-radius : 20px ;
9
+ padding : 12px ;
10
+ width : 140px ;
11
+ font-size : 20px ;
12
+ color : white;
13
+
14
+ }
15
+ //css for hover on the buttons
16
+ # escButtons a : hover {
17
+ right : 0 ;
18
+ border : 3px solid # fc0366 ;
19
+ color : # fc0366 ;
20
+ }
21
+ //css for button policies
22
+ # policies {
23
+ top : 20px ;
24
+ background-color : # 9bf542 ;
25
+ }
26
+ //css for button divisions
27
+ # divisions {
28
+ top : 80px ;
29
+ background-color : # 2577db ;
30
+ }
31
+ //css for button contact
32
+ # contact {
33
+ top : 140px ;
34
+ background-color : # fcdb03 ;
35
+ }
You can’t perform that action at this time.
0 commit comments