Files
create/src/Mod/Start/StartPage/StartPage.css
2023-08-28 16:52:34 +03:00

374 lines
5.4 KiB
CSS

/* --- MAIN --- */
html {
height: 100%;
color: BGTCOLOR;
display: flex;
flex-direction: column;
overflow: hidden;
}
body {
height: 100%;
background: BACKGROUND;
color: BGTCOLOR;
font-family: FONTFAMILY;
font-size: FONTSIZE;
overflow: hidden;
}
OVERFLOW
a,
a:link,
a:visited {
text-decoration: none;
color: LINKCOLOR;
font-weight: bold;
}
h1 {
width: 100%;
text-align: center;
}
h2 {
text-align: center;
clear: both;
padding-top: 5px;
}
.hidden {
display: none !important;
}
#main-container {
display: flex;
flex-direction: column;
height: calc(100% - 40px);
margin: 20px;
background: BASECOLOR;
border-radius: 15px;
}
#title-bar {
display: flex;
flex-direction: row-reverse;
align-items: center;
width: 100%;
height: 5.5em;
min-height: 5.5em;
background: BASECOLOR;
border-radius: 15px;
z-index: 2;
}
.welcome {
display: flex;
align-items: center;
color: TEXTCOLOR;
font-size: 1.3em;
margin-left: 25px;
font-weight: bold;
}
.welcome img {
width: 28px;
height: 28px;
margin-right: 10px;
}
.version {
font-size: 1em;
margin-right: 25px;
}
.settingsicon {
width: 22px;
height: 22px;
margin-left: 10px;
vertical-align: middle;
}
@media only screen and (max-width: 1100px) {
.welcome {
display: none;
}
.version {
display: none;
}
}
/* --- TABS --- */
ul.tabs {
display: flex;
position: absolute;
top: 2em;
left: 50%;
transform: translateX(-50%);
}
ul.tabs li {
list-style: none;
}
ul.tabs li a {
display: flex;
align-items: center;
border-radius: 8px;
padding: 6px 12px;
margin: 0 3px;
color: TEXTCOLOR;
text-decoration: none;
outline: 0;
font-size: 1.3em;
transition: 100ms;
}
ul.tabs li a img {
margin-right: 5px;
}
ul.tabs li a:hover {
background-color: BOXCOLOR;
}
ul.tabs li a.active,
ul.tabs li a.active:hover {
background-color: BOXCOLOR;
font-weight: bold;
}
.panel {
display: flex;
flex-direction: column;
color: TEXTCOLOR;
padding: 15px;
padding-top: 0;
overflow: auto;
}
.footnote {
color: BGTCOLOR;
text-align: center;
display: block; /* footnote tips display */
clear: both;
padding-top: 10px;
}
/* --- DOCUMENTS TAB --- */
.thumbnails ul {
display: flex;
flex-wrap: wrap;
justify-content: center;
margin: 0;
padding: 0;
}
ul.icons {
clear: both;
}
.file-card {
list-style: none;
display: inline;
padding: 10px 0px 15px 10px;
width: 138px;
height: 200px;
background: BOXCOLOR;
border-radius: 8px;
margin: 10px;
word-wrap: break-word;
}
.file-card h4 {
margin: 3px 0;
max-width: 90%;
}
.file-card img {
width: 128px;
height: 128px;
border-radius: 4px;
}
.file-card p {
margin: 0;
}
.caption {
clear: both;
}
.caption p {
font-weight: normal;
}
a .caption,
a .caption:link,
a .caption:visited {
color: TEXTCOLOR;
text-decoration-color: TEXTCOLOR;
}
.quickstart-button-card {
list-style: none;
display: flex;
align-items: center;
float: left;
padding: 5px 10px;
width: 18em;
height: 5em;
background: BOXCOLOR;
border-radius: 8px;
margin: 10px;
word-wrap: break-word;
}
.quickstart-button-card a {
display: flex;
}
.quickstart-button-card h3 {
max-width: 90%;
margin: 3px 0;
margin-bottom: 5px;
text-align: left;
}
.quickstart-button-card img {
width: 64px;
height: 64px;
margin-right: 10px;
}
.quickstart-button-card p {
margin: 0;
}
.notes {
display: none; /* notes display */
/* don't change this line */
width: 100%;
}
#notepad {
width: calc(100% - 30px);
min-height: 300px;
margin: 10px;
color: TEXTCOLOR;
background: BOXCOLOR;
border: none;
padding: 10px;
border-radius: 8px;
}
#notepad:focus {
outline: none;
}
/* --- HELP TAB --- */
#help-tab-wrapper {
display: flex;
flex-wrap: wrap;
justify-content: center;
}
.docbox {
padding: 10px;
max-width: 360px;
background: BOXCOLOR;
border-radius: 8px;
margin: 10px;
}
.docbox h2 {
text-align: center;
}
.docbox h3 {
display: flex;
align-items: center;
}
.docbox img {
max-width: 24px;
max-height: 24px;
margin-right:10px;
}
.docbox a:hover {
text-decoration: underline;
}
.workbenches li,
.addonslist li {
display: flex;
align-items: center;
width: 50%;
float: left;
margin-bottom: 5px;
}
.workbenches li img {
margin-right: 5px;
}
ul.workbenches,
ul.addonslist {
overflow: hidden;
padding: 10px;
}
/* --- ACTIVITY TAB --- */
.forum img {
max-width: 100% !important;
max-height: 100% !important;
}
.allwidth {
max-width: 98%;
}
#commits ul {
margin: 30px 0;
}
#commits ul li,
.forum ul li {
margin-bottom: 10px;
}
.forum {
display: none; /* forum display */
/* don't change this line */
}
.forum pre {
white-space: pre-wrap;
}
/* --- SCROLLBAR STYLE --- */
::-webkit-scrollbar {
width: 20px;
background: BASECOLOR;
padding: 2px;
}
::-webkit-scrollbar-thumb {
background: BOXCOLOR;
-webkit-border-radius: 999px;
background-clip: content-box;
border: 6px solid transparent;
}
::-webkit-scrollbar-thumb:hover {
background: TEXTCOLOR;
background-clip: content-box;
border: 6px solid transparent;
}