libreoffice-online/browser/welcome/welcome.css
Gökay Şatır a4f53abac2 Put welcome stuff into one place.
Make the html, js and css files same with server.

Signed-off-by: Gökay Şatır <gokay.satir@collabora.com>
Change-Id: Iac268811c01abee3a1b313084959e0ce70666a3b
2022-02-24 19:15:35 +03:00

183 lines
No EOL
3.5 KiB
CSS

* {
box-sizing: border-box;
}
.slider, .slides > div {
width: 600px;
}
.slider {
text-align: center;
overflow: hidden;
height: auto;
margin: auto;
}
.slides {
display: flex;
overflow-x: auto;
scroll-snap-type: x mandatory;
scroll-behavior: smooth;
-webkit-overflow-scrolling: touch;
padding-bottom: 1em;
}
.slides::-webkit-scrollbar {
display: none;
}
.slides::-webkit-scrollbar-thumb {
background: black;
border-radius: 10px;
}
.slides::-webkit-scrollbar-track {
background: transparent;
}
.slides > div {
scroll-snap-align: start;
flex-shrink: 0;
margin-right: 50px;
border-radius: 10px;
transform-origin: center center;
transform: scale(1);
transition: transform 0.5s;
position: relative;
}
.author-info {
background: rgba(0, 0, 0, 0.75);
color: white;
padding: 0.75rem;
text-align: center;
position: absolute;
bottom: 0;
left: 0;
width: 100%;
margin: 0;
}
.author-info a {
color: white;
}
.slider > a {
display: inline-flex;
width: 14px;
height: 14px;
background: linear-gradient(to top, #d6d6d6, #bababa);
text-decoration: none;
align-items: center;
justify-content: center;
border-radius: 50%;
margin: 0 0 0.5rem 0.5rem;
position: relative;
color: transparent;
}
.slider > a:active, .slider > a.active {
background: #444;
}
.slider > a:focus {
background: #444;
}
/* Don't need button navigation */
@supports (scroll-snap-type) {
.slider > a {
display: none;
}
}
/* Hiding scroll bar */
* {
box-sizing: border-box;
scrollbar-color: transparent transparent;
scrollbar-width: 0px;
}
*::-webkit-scrollbar {
width: 0;
}
*::-webkit-scrollbar-track {
background: transparent;
}
*::-webkit-scrollbar-thumb {
background: transparent;
border: none;
}
* {
-ms-overflow-style: none;
}
html, body {
height: 100%;
overflow: hidden;
margin: 0;
/* Same font as used in vex dialogs */
font-family: "Helvetica Neue", sans-serif;
}
.slides h1 {
font-size: 22px;
font-weight: normal;
margin-bottom: 4px;
}
.slides h2 {
font-size: 16px;
font-weight: normal;
margin-top: 0;
}
.slides p {
font-size: 14px;
font-weight: normal;
}
.slides fig {
height: 232px;
display: block;
}
#slide-1 fig {
background: linear-gradient(to top,#e6e6e6c4,#e6e6e64f 3%,white 33%);
border-radius: 0 0 50% 50%;
display: flex;
justify-content: center;
align-items: center;
}
#slide-1 #fig-slide1-l {
background: url("slide1-left.png") no-repeat center;
width: 68px;
height: 68px;
box-shadow: 0 0 8px 1px #00000040;
border-radius: 100%;
}
#slide-1 #fig-slide1-c {
background: url("slide1-center.png") no-repeat center;
width: 96px;
height: 96px;
box-shadow: 0 0 12px 1px #00000040;
border-radius: 100%;
margin: 42px 32px 0;
}
#slide-1 #fig-slide1-r {
background: url("slide1-right.png") no-repeat center;
width: 68px;
height: 68px;
box-shadow: 0 0 8px 1px #0000005e;
border-radius: 100%;
}
#slide-2 fig {
background: url("slide2.png") no-repeat center;
}
#slide-3 fig {
background: url("slide3.png") no-repeat center;
box-shadow: 0 0 8px 1px #e5e5e5;
width: 342px;
margin: 12px auto;
border-radius: 8px;
}
#view-supported-versions {
text-align: center;
display: block;
}
#user-welcome--buttons {
display: flex;
flex-direction: row;
justify-content: flex-end;
position: relative;
}