mirror of
https://github.com/codex-team/codex.docs.git
synced 2025-07-28 01:29:42 +02:00
Added default index page, default startPage, removed iframe (#250)
* Removed iframe, added default index page, made startPage optional parameter * Renamed class for landing content * Added paddings for message in index page, removed iframe link from index * Renamed landing to greeting * rm extra margins, upd svg Co-authored-by: Peter Savchenko <specc.dev@gmail.com>
This commit is contained in:
parent
ba40b4f3d9
commit
e1fd9a77f6
7 changed files with 50 additions and 39 deletions
25
src/frontend/styles/components/greeting.pcss
Normal file
25
src/frontend/styles/components/greeting.pcss
Normal file
|
@ -0,0 +1,25 @@
|
|||
.greeting-body {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
.greeting-content {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
margin: auto;
|
||||
|
||||
& > svg {
|
||||
width: 62px;
|
||||
height: 71px;
|
||||
}
|
||||
|
||||
&__message {
|
||||
margin: 0;
|
||||
padding: 26px 0 26px 0;
|
||||
font-weight: 500;
|
||||
}
|
||||
}
|
|
@ -1,30 +0,0 @@
|
|||
/**
|
||||
* Index page landing iframe
|
||||
*/
|
||||
.landing-body {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
.landing-loader {
|
||||
position: absolute;
|
||||
left: 50%;
|
||||
top: 50%;
|
||||
z-index: -1;
|
||||
transform: translate(-50%, -50%);
|
||||
|
||||
& > svg {
|
||||
width: 80px;
|
||||
height: 80px;
|
||||
}
|
||||
}
|
||||
|
||||
.landing-frame {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
opacity: 0;
|
||||
transition: opacity 500ms ease;
|
||||
will-change: opacity;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue