Verified Commit 2f3e1d67 authored by Carl Schwan's avatar Carl Schwan 🌈

Allow local kde-org sass

parent f76347bd
/*
* SPDX-FileCopyrightText: 2020 (c) Carl Schwan <carl@carlschwan.eu>
*
* SPDX-License-Identifier: GPL-3.0-or-later
*/
/**
* Used for kde.org/applications
*/
/* Application pages */
@import "../../node_modules/swiper/css/swiper.css";
h1 a:after {
margin: 0px 5px;
color: #6F8181;
content: ">";
font-family: "glyph";
font-size: 60%;
vertical-align: middle;
}
.app-icon {
float: left;
}
.app-screenshot {
clear: left;
text-align: center;
}
.infobox:not(:first-child) {
padding-top: 15px;
}
#infobox-return img, .header-image {
margin: 0 5px 0 0 !important;
padding: 0 !important;
border: 0 !important;
background-image: none !important;
}
.app-category, .international-site {
display: table-cell;
float: left;
max-width: 240px;
width: 240px;
height: 60px;
max-height: 60px !important;
text-align: left;
}
.app-category img, .international-site img {
margin: 0 10px 0 0 !important;
float: left;
}
.app-category a, .international-site a {
font-size: 12pt;
font-weight: 700;
text-decoration: none;
}
.app-screenshot {
max-width: 100%;
}
.international-site {
height: auto !important;
}
.sidebar {
color: #444;
float: right;
min-height: 200px;
padding: 15px;
border-left: 1px solid #CCC;
font-size: 10pt;
text-align: left;
margin-top: -10px;
}
.application-header {
background-color: rgba(61, 174, 233, 0.1);
}
.application-header h1 {
margin-top: 5px;
}
.border-top {
border-top: 1px solid #CCC;
padding-top: 10px;
}
@media (max-width: 768px) {
.sidebar {
border-left: 0 solid black;
border-top: 1px solid #CCC;
}
}
\ No newline at end of file
/**
* SPDX-FileCopyrightText: 2019 (c) Carl Schwan <carl@carlschwan.eu>
* SPDX-FileCopyrightText: 2017 (c) Ken Vermette <vermette@gmail.com>
*
* SPDX-License-Identifier: GPL-3.0-or-later
*
* Used for kde.org/stuff/clipart.php
*/
main.container {
section {
padding: 0px;
}
article {
& + article {
border-top: solid 1px rgba(0, 0, 0, 0.1);
}
}
p {
margin: 0px;
padding: 0px !important;
}
}
article {
padding: 10px 20px;
small {
display: block;
width: 100%;
margin-bottom: 20px;
background-color: #e8f1f8;
border: 1px solid #9cc4e0;
color: #28618c;
font-size: 80%;
border-radius: 4px;
padding: 10px;
line-height: 150%;
}
h2 {
display: block;
width: 100% !important;
padding: 10px 0px;
text-align: left;
}
}
#logos-current,
#logos-legacy,
#kabel-font,
#mascots {
display: flex;
flex-wrap: wrap;
figure {
width: 50%;
box-sizing: border-box !important;
display: block;
margin: 0px;
text-align: center;
padding: 20px;
}
}
#kabel-font,
#mascots {
justify-content: center;
align-items: center;
}
#mascots {
img {
border: none;
padding: 0px;
background: transparent;
}
figure {
&.left {
text-align: right;
padding-right: 0px;
}
&.right {
text-align: left;
}
}
}
figure {
img {
box-sizing: border-box !important;
margin: 0px 0px 10px 0px !important;
}
}
#logos-legacy {
figure {
width: 33%;
}
img {
width: 64px;
height: 64px;
}
}
#kabel-font {
figure {
width: 60%;
}
}
#logos-current,
#logos-legacy {
figure {
& > a::after {
content: '';
display: block;
}
}
}
#logos-current {
img {
width: 128px;
height: 128px;
}
}
/**
* SPDX-FileCopyrightText: 2019 (c) Carl Schwan <carl@carlschwan.eu>
* SPDX-FileCopyrightText: 2017 (c) Ken Vermette <vermette@gmail.com>
*
* SPDX-License-Identifier: GPL-3.0-or-later
*/
main.container {
section {
& > article {
min-height: 250px;
}
}
}
.section-responsive {
background-color: #1e4b6b;
p {
max-width: 1200px;
}
}
.section-links {
display: flex;
flex-direction: column;
text-align: center;
.section-links-content {
display: flex;
flex-wrap: wrap;
div {
display: flex;
flex-direction: column;
justify-content: space-between;
flex-basis: 33.33%;
@media (max-width: 992px) {
flex-basis: 50%;
}
&:nth-child(2),
&:nth-child(5) {
border-left: solid 1px rgba(0, 0, 0, 0.1);
border-right: solid 1px rgba(0, 0, 0, 0.1);
@media (max-width: 992px) {
border: none;
}
}
&:nth-child(odd) {
@media (max-width: 992px) {
border-right: solid 1px rgba(0, 0, 0, 0.1);
}
}
p {
max-width: 90%;
margin-bottom: 3em;
}
}
a {
width: 80%;
}
}
}
.section-examples {
background-color: lightgrey;
img {
width: 90%;
height: auto;
}
}
.splashLogo {
.image {
img {
max-width: 90%;
height: auto;
}
}
}
/**
* SPDX-FileCopyrightText: (c) 2020 Carl Schwan <carl@carlschwan.eu>
*
* SPDX-License-Identifier: GPL-3.0-or-later
*/
hr.blue-line {
width: 4rem;
height: 5px;
background: #3daee9;
margin: auto;
border: none;
outline: none;
margin-top: 0.3rem;
margin-bottom: 1rem;
}
main {
font-size: 16px;
section {
margin-bottom: 0;
margin-top: 0;
padding: 20px;
}
}
.container-application {
max-width: 1200px;
margin-left: auto;
margin-right: auto;
}
.container-laptop {
max-width: 1100px;
margin-left: auto;
margin-right: auto;
}
@media (max-width: 767.98px) {
.laptop-overlay {
margin-left: 0;
margin-right: 0;
width: 100%;
}
}
#section-green {
background-color: rgba(39,174,96,0.1);
}
.section-blue {
background: rgba(61,174,233,.1);
}
.card {
padding: 0;
}
@media (min-width: 992px) {
.text-right-lg {
text-align: right;
}
}
.kde-img {
max-width: 850px;
margin: 20px 0;
}
#plasma-homepage {
background: rgba(61,174,233,.1);
}
@media (min-width: 1100px) {
p {
font-size: 20px;
}
.laptop-with-overlay {
max-width: 750px;
}
.plasma-info {
display: flex;
flex-direction: column;
align-items: start;
}
#plasma .container {
display: flex;
align-items: center;
}
}
.app {
align-items: center;
.button {
margin-left: 10px;
}
.app-description {
display: flex;
align-items: center;
text-align: center;
order: 0;
div {
margin-left: auto;
margin-right: auto;
max-width: 500px;
}
}
@media (min-width: 992px) {
&:nth-child(odd) .app-description {
order: 12;
}
}
}
#plasma h1 {
margin-top: 0.3em;
}
.swiper-slide img, .screenshot img {
height: 50vw;
min-height: 300px;
max-height: 500px;
}
.swiper-slide h3 {
text-align: center;
}
.swiper-pagination-bullet {
width: 12px;
height: 12px;
}
.swiper-slide {
flex-shrink: initial;
}
#plasma .learn-more:not(.button) {
margin-left: 10px;
}
.button {
margin-left: 0;
}
.hardware-grid {
display: grid;
grid-template-rows: auto auto;
grid-template-columns: 33% 33% 33%;
grid-template-areas:
"pinebook slimbook focus"
"pinebook-desc slimbook-desc focus-desc";
}
@media (max-width: 767px) {
.hardware-grid {
display: flex;
flex-direction: column;
}
}
.pinebook {
grid-area: pinebook;
padding-left: 5px;
padding-right: 5px;
}
.pinebook-desc {
grid-area: pinebook-desc;
}
.slimbook {
grid-area: slimbook;
padding-left: 13px;
padding-right: 13px;
}
.slimbook-desc {
grid-area: slimbook-desc;
}
.focus {
grid-area: focus;
}
.focus-desc {
grid-area: focus-desc;
}
.focus, .slimbook, .pinebook {
align-self: end;
margin: 20px;
}
.focus img, .slimbook img, .pinebook img {
max-width: 100%;
height: auto;
}
.focus-desc, .slimbook-desc, .pinebook-desc {
text-align: center;
align-self: start;
padding: 5px 15px;
}
#kde-connect {
background: rgba(246, 116, 0, 0.05);
}
/**
* SPDX-FileCopyrightText: 2019 (c) Carl Schwan <carl@carlschwan.eu>
* SPDX-FileCopyrightText: 2017 (c) Ken Vermette <vermette@gmail.com>
*
* SPDX-License-Identifier: GPL-3.0-or-later
*/
main.container {
section {
padding: 0px;
& > article {
min-height: 600px;
@media (max-width: 1200px) {
min-height: 500px;
}
@media (max-width: 992px) {
min-height: 400px;
}
@media (max-width: 768px) {
min-height: 300px;
}
}
}
}
.splashLogo {
display: flex;
align-items: center;
justify-content: center;
flex-direction: column;
background-image: url(../../assets/kirigami/kirigami-splash.jpg);
background-size: cover;
background-position: left center;
border-top-left-radius: 2px;
border-top-right-radius: 2px;
h1 {
color: #fafafa !important;
font-size: 32px !important;
line-height: 120%;
background-image: none !important;
}
p {
color: #fcfcfc !important;
line-height: 120% !important;
}
}
.section-convergent {
.image {
background-image: url(../../assets/kirigami/kirigami-devices.png);
background-size: auto 100%;
background-position: center right;
width: 60%;
padding-bottom: 0px;
@media (max-width: 768px) {
height: 300px;
width: 100% !important;
}
}
}
.section-responsive {
background-color: #28618c;
}
.section-links {
flex-direction: row;
text-align: center;
min-height: auto !important;
.section-links-content div {
width: 50%;
}
.section-links-content div + div {
border-left: solid 1px rgba(0, 0, 0, 0.1);
}
h1 {
border-bottom: solid 1px rgba(0, 0, 0, 0.1);
padding-bottom: 20px;
}
}
.section-open {
background-image: url(../../assets/kirigami/community.jpg);
background-size: cover;
background-repeat: no-repeat;
background-position: center center;
* {
color: #FFF !important;
background: none !important;
text-shadow: 0px 0px 5px rgba(0,0,0,.5) !important;
}
}
/**
* SPDX-FileCopyrightText: 2019 (c) Carl Schwan <carl@carlschwan.eu>
* SPDX-FileCopyrightText: 2017 (c) Ken Vermette <vermette@gmail.com>
*
* SPDX-License-Identifier: GPL-3.0-or-later
*/
#plasma-last-release {
display: flex;
align-items: center;
justify-content: center;
background-image: url(../../assets/wallpaper2.jpg);
height: 350px;
background-position: center center;
background-size: cover;
color: white;
}
.breeze-window {
max-width: 400px;
width: 90%;
margin-left: auto;
margin-right: auto;
}
.breeze-window .kwin-shadow {
box-shadow: 0 0 25px 0 rgba(0, 0, 0, 0.75);
border-radius: 5px;
}
.breeze-window .headerbar {
background-image: linear-gradient(to bottom, #545f67, #475057);
color: white;
text-align: center;
padding: 10px;
height: 30px;
line-height: 12px;
width: 100%;
border-top-right-radius: 5px;
border-top-left-radius: 5px;
position: relative;
}
.breeze-window .headerbar img {
width: 22px;
height: 22px;
padding: 0;
margin: 0;
position: absolute;
top: 4px;
border-width: 0;
}
.breeze-window img.window-close {
right: 4px;
}
.breeze-window img.window-maximize {
right: 30px;
top: 7px;
width: 16px;
height: 16px;
}
.breeze-window img.window-minimize {
top: 7px;
width: 16px;
height: 16px;
right: 52px;
}
.breeze-window .view {
padding: 10px;
color: #000;
width: 100%;
background-color: #eff0f1;
border-bottom-right-radius: 5px;
border-bottom-left-radius: 5px;
text-align: center;
}