@@ -2,10 +2,101 @@ $fd-icons-path: '../../node_modules/fiori-fundamentals/scss/icons/';
22$fd-fonts-path : ' ../../node_modules/fiori-fundamentals/dist/fonts/' ;
33@import ' ../../node_modules/fiori-fundamentals/scss/all.scss' ;
44
5- .App {
5+ // Fundamental React Docs Styles
6+ .frDocs-App {
67 background-color : white ;
8+
9+ .frDocs-Container {
10+ display : flex ;
11+ justify-content : space-between ;
12+ height : 100vh ;
13+ overflow : hidden ;
14+ margin-left : auto ;
15+ margin-right : auto ;
16+ width : 100% ;
17+
18+ .frDocs-Sidebar {
19+ color : #21262c ;
20+ min-width : 16rem ;
21+ background-color : #f1f3f6 ;
22+
23+ .frDocs-Logo {
24+ font-size : 1.25rem ;
25+ margin-bottom : 0 ;
26+ display : flex ;
27+ justify-content : center ;
28+ > a {
29+ color : inherit ;
30+ }
31+ }
32+
33+ .frDocs-Nav {
34+ list-style : none ;
35+ border-top : 2px solid #dbe7f3 ;
36+ height : 90% ;
37+ overflow : auto ;
38+
39+ .frDocs-Nav__headers {
40+ color : #424e5a ;
41+ padding : 15px 20px ;
42+ display : block ;
43+ }
44+
45+ .frDocs-Nav__item {
46+ display : block ;
47+ color : #21262c ;
48+ font-size : 0.875rem ;
49+ position : relative ;
50+ padding : 13px 40px ;
51+ }
52+
53+ .frDocs-Nav__item--selected {
54+ border-left : 6px solid #2fd0c8 ;
55+ }
56+
57+ .frDocs-Nav__item :hover ,
58+ .frDocs-Nav__item--active {
59+ color : #424e5a ;
60+ border-left : 6px solid #2fd0c8 ;
61+ padding-left : 34px ;
62+ }
63+ }
64+ }
65+
66+ .frDocs-Content {
67+ flex-grow : 1 ;
68+ overflow-y : scroll ;
69+ padding-bottom : 2rem ;
70+ background-color : white ;
71+ margin-right : auto ;
72+ margin-left : auto ;
73+ padding-left : 1rem ;
74+ padding-right : 1rem ;
75+
76+ .frDocs-Content__header {
77+ margin : 12px 0 ;
78+ margin-top : 2rem ;
79+ font-size : 2.2rem ;
80+ }
81+
82+ .frDocs-Content__description {
83+ margin-bottom : 1.5rem ;
84+ font-size : 1rem ;
85+ font-weight : 300 ;
86+ }
87+
88+ .frDocs-Content__tile {
89+ border-radius : 4px 4px 0 0 ;
90+ border : 1px solid #ccc ;
91+ border-bottom : none ;
92+ padding : 10px 0 ;
93+ background-color : ' #f3f4f5'
94+ }
95+ }
96+ }
797}
898
99+ // Fundamental React Component Overrides
9100.fd-counter--notification {
10101 position : relative ;
11102}
@@ -42,104 +133,15 @@ $fd-fonts-path: '../../node_modules/fiori-fundamentals/dist/fonts/';
42133 padding-bottom : 10px ;
43134}
44135
45- .docs-component {
46- margin-bottom : -28px ;
47- border-radius : 4px ;
48- border-bottom-left-radius : 0 ;
49- border-bottom-right-radius : 0 ;
50- padding-bottom : 8px ;
51- border : 1px solid #ccc ;
52- }
53-
54136.fd-side-nav.fd-side-nav--icons {
55137 max-width : 65px ;
56138}
57139
58- .container {
59- display : flex ;
60- justify-content : space-between ;
61- height : 100vh ;
62- overflow : hidden ;
63- width : 90% ;
64- margin-left : auto ;
65- margin-right : auto ;
66- }
67-
68- .logo {
69- font-size : 1.25rem ;
70- margin-bottom : 0 ;
71- display : flex ;
72- justify-content : center ;
73- > a {
74- color : inherit ;
75- }
76- }
77-
78- .logo-subtitle {
79- font-size : 0.75rem ;
80- }
81-
82- .sidebar {
83- color : #21262c ;
84- min-width : 16rem ;
85- background-color : #f1f3f6 ;
86- }
87-
88- .nav {
89- list-style : none ;
90- border-top : 2px solid #dbe7f3 ;
91- height : 90% ;
92- overflow : auto ;
93- }
94-
95- .nav-item {
96- display : block ;
97- color : #21262c ;
98- font-size : 0.875rem ;
99- position : relative ;
100- padding : 13px 40px ;
101- }
102-
103- .side-nav__headers {
104- color : #424e5a ;
105- padding : 15px 20px ;
106- display : block ;
107- }
108-
109- .nav-item--selected {
110- border-left : 6px solid #2fd0c8 ;
111- }
112-
113- .nav-item :hover ,
114- .nav-item--active {
115- color : #424e5a ;
116- border-left : 6px solid #2fd0c8 ;
117- padding-left : 34px ;
118- }
119-
120- .content {
121- flex-grow : 1 ;
122- overflow-y : scroll ;
123- padding-bottom : 2rem ;
124- background-color : white ;
125- }
126-
127- .content-margin {
128- margin-right : auto ;
129- margin-left : auto ;
130- padding-left : 1rem ;
131- padding-right : 1rem ;
132- }
133-
134140.property-header {
135141 text-align : left ;
136142 padding-right : 15px ;
137143}
138144
139- .header {
140- margin : 12px 0 ;
141- }
142-
143145.fd-side-nav {
144146 max-width : 250px ;
145147}
@@ -251,9 +253,3 @@ $fd-fonts-path: '../../node_modules/fiori-fundamentals/dist/fonts/';
251253 }
252254 }
253255}
254-
255- .description {
256- margin-bottom : 1.5rem ;
257- font-size : 1rem ;
258- font-weight : 300 ;
259- }
0 commit comments