Skip to content

Commit be9899e

Browse files
Merge pull request #136 from SingularityNET-Archive:development
refactor: Update styles for ArchiveSummaries and MeetingSummary modules
2 parents a05b977 + 217fbe9 commit be9899e

File tree

3 files changed

+117
-3
lines changed

3 files changed

+117
-3
lines changed

components/ArchiveSummaries.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { useState, useEffect, useRef } from 'react';
22
import ReactMarkdown from 'react-markdown';
3-
import styles from '../styles/typea.module.css';
3+
import styles from '../styles/archivesummaries.module.css';
44
import { generateMarkdown } from '../utils/generateMarkdown';
55
import { updateGitbook } from '../utils/updateGitbook';
66
import { sendDiscordMessage } from '../utils/sendDiscordMessage';
@@ -131,7 +131,7 @@ const ArchiveSummaries = () => {
131131
}
132132

133133
return (
134-
<div>
134+
<div className={styles['main-container']}>
135135
{loading && (
136136
<>
137137
<div className={styles['loading']}>

styles/archivesummaries.module.css

Lines changed: 114 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,114 @@
1+
.main-container {
2+
margin-top: 60px;
3+
}
4+
5+
.confirm-heading {
6+
display: flex;
7+
justify-content: space-around;
8+
margin-top: 15px;
9+
margin-bottom: -20px;
10+
}
11+
12+
.row-flex-start {
13+
display: flex;
14+
flex-wrap: wrap;
15+
flex-direction: row;
16+
justify-content: flex-start;
17+
}
18+
19+
.form-container {
20+
max-width: 1000px;
21+
padding: 2rem;
22+
box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
23+
border-radius: 8px;
24+
}
25+
26+
.gitbook-form {
27+
display: flex;
28+
flex-direction: column;
29+
}
30+
31+
.form-label {
32+
display: block;
33+
margin-bottom: 0.1rem;
34+
font-size: 0.9rem;
35+
}
36+
37+
.form-input {
38+
min-height: 30px;
39+
padding: 0.6rem;
40+
border-radius: 4px;
41+
margin-bottom: 1rem;
42+
background-color: black;
43+
color: white;
44+
}
45+
46+
.meeting-summary-textarea {
47+
padding: 0.6rem;
48+
border: 1px solid #ccc;
49+
border-radius: 4px;
50+
margin-bottom: 1rem;
51+
background-color: black;
52+
color: white;
53+
min-height: 300px;
54+
width: 700px;
55+
resize: vertical;
56+
}
57+
58+
.submit-button {
59+
background-color: #007bff;
60+
color: white;
61+
padding: 0.5rem 1rem;
62+
border: none;
63+
border-radius: 4px;
64+
cursor: pointer;
65+
height: 4em;
66+
margin-top: 2em;
67+
font-size: larger;
68+
font-weight: bold;
69+
}
70+
71+
.submit-button:disabled {
72+
background-color: #ccc;
73+
cursor: not-allowed;
74+
}
75+
76+
.form-checkbox {
77+
margin-bottom: 1rem;
78+
}
79+
80+
.markdown-rendered {
81+
margin-top: 30px;
82+
max-width: 700px;
83+
}
84+
85+
.markdown-rendered-heading {
86+
margin-top: 8rem;
87+
}
88+
89+
.markdown-rendered ul,
90+
.markdown-rendered ol {
91+
padding-left: 20px;
92+
list-style-position: inside;
93+
}
94+
95+
.markdown-rendered li {
96+
margin-bottom: 4px;
97+
}
98+
99+
.loading {
100+
display: flex;
101+
flex-direction: column;
102+
height: calc(100vh - 4.5em);
103+
justify-content: center;
104+
align-items: center;
105+
font-size: 3rem;
106+
animation: fade-in-out 2s ease-in-out infinite;
107+
color: aquamarine;
108+
}
109+
110+
@keyframes fade-in-out {
111+
0% { opacity: 0; }
112+
50% { opacity: 1; }
113+
100% { opacity: 0; }
114+
}

styles/meetingsummary.module.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@
6464
height: 35px;
6565
padding: 0.2Zem;
6666
margin: 0.5em;
67-
background-color: #2b1f1f;
67+
background-color: black;
6868
color: white;
6969
z-index: 9999;
7070
font-size: 1rem;

0 commit comments

Comments
 (0)