/*
- Copyright (c) 1996-2022 by Art Cancro and the citadel.org team.
+ Copyright (c) 1996-2023 by Art Cancro and the citadel.org team.
This program is open source software. Use, duplication, or disclosure
are subject to the terms of the GNU General Public License, version 3.
*/
grid-template-areas:
'ctdl-mg-banner ctdl-mg-banner'
'ctdl-mg-menu ctdl-mg-main';
- gap: 3px;
- background-color: DarkSlateGrey; /* This is the color of the lines between the boxes, and also the boxes themselves if not overridden */
- padding: 0; /* This is the border around the edges of the screen */
+ gap: 1px; /* This is the thickness of the lines between the boxes */
+ background-color: DarkSlateGrey; /* This is the color of the lines between the boxes */
+ padding: 0; /* This is the border around the edges of the screen (0 for no border) */
width: 100vw;
height: 100vh;
}
grid-area: ctdl-mg-main;
overflow-x: hidden;
overflow-y: auto;
+ background-color: GhostWhite;
}
.ctdl-main-grid-container > div {
display: block;
background-color: DarkSlateGrey;
color: White;
- font-size: 1.7vh;
+ font-size: calc(50% + 0.6vw);
border: none;
padding: 1vh;
}
border: 1px solid GhostWhite;
background-color: GhostWhite;
color: Black;
- font-size: 1.5vh;
+ font-size: calc(50% + 0.7vh);
border-radius: 5px;
}
}
.ctdl-forum-reading-pane {
- background-color: DarkSlateGrey; /* Background behind the message boxes */
+ background-color: White; /* Background behind the message boxes */
}
.ctdl-fmsg-wrapper { /* message wrapper for forum view */
background-color: White;
margin: 1vw;
padding: 5px; /* inside the box */
+ border-radius: 10px;
+ border-style: outset;
+ border-width: thin;
}
.ctdl-mmsg-wrapper { /* message wrapper for mailbox view */
border-width: thin;
border-color: Black;
cursor: default;
+ font-size: calc(50% + 0.4vh);
}
.ctdl-msg-button:hover {
background-color: #123456;
color: GhostWhite;
- transition: .3s;
+ transition: .4s;
border-color: #123456;
cursor: default;
}
margin-left: 0;
}
+.ctdl_mail_folders li {
+ color: Black;
+ padding-left: 10px;
+}
+
+.ctdl_mail_folders li:hover {
+ color: DarkSlateGrey;
+}
+
+.ctdl_mail_folder_droppable {
+ background-color: LightGrey;
+ font-weight: bold;
+}
+
.ctdl-avatar {
float: left;
padding-right: 2px;
width: 75%;
}
+/* use this class for any small item that needs to be centered on the screen in the main div */
+.ctdl-middle {
+ display: flex;
+ flex-direction: column;
+ justify-content: center;
+ align-items: center;
+ text-align: center;
+ min-height: 100vh;
+ background-color: GhostWhite;
+ overflow: none;
+ border: none;
+}
+
.ctdl-roomlist-top {
background-color: GhostWhite;
width: 100%;
overflow: hidden;
border-radius: 10px;
border-style: outset;
+ border-width: thin;
background-color: White;
padding: 0.3vw;
margin-top: 0;
- margin-bottom: 0.25vw;
+ margin-bottom: 0.1vw;
margin-left: 1vw;
margin-right: 1vw;
}
overflow: hidden;
}
+.ctdl-upload {
+ display: none; /* set to 'block' to make it appear when needed */
+ width: 95%;
+ height: 95%;
+ border: 2px dashed #ccc;
+ border-radius: 20px;
+ border-color: Black;
+ justify-content: center;
+ align-items: center;
+ padding: 1em;
+ background-color: GhostWhite;
+}
+
+.ctdl-upload.highlight {
+ border-color: Blue;
+}
+
+.ctdl-compose-attachments-title {
+ padding: 1em;
+ background: Gainsboro;
+ display: flex;
+ flex-wrap: nowrap;
+ flex-direction: row;
+ justify-content: space-between;
+ align-items: auto;
+ align-content: start
+}
+
+.ctdl-upload-form {
+ text-align: center;
+ margin-bottom: 10px;
+}
+
.ctdl-login-screen-grid-container {
display: grid;
grid-template-columns: auto auto;
border: none;
font-size: 1.25em;
}
+
+.ctdl-fatal-error {
+ background-color: DarkRed;
+ margin-left: 1em;
+ margin-right: 1em;
+ padding: 1em;
+ font-size: 2em;
+ color: White;
+}