mirror of
https://gitlab.com/MrFry/qmining-page
synced 2025-04-01 20:23:44 +02:00
Style and layout improvements on modals
/posting modal still needs some fixing tho/
This commit is contained in:
parent
cdc2b3fd66
commit
b0cbc5aa5e
10 changed files with 606 additions and 5426 deletions
5296
package-lock.json
generated
5296
package-lock.json
generated
File diff suppressed because it is too large
Load diff
|
@ -13,6 +13,7 @@
|
|||
"author": "",
|
||||
"license": "ISC",
|
||||
"dependencies": {
|
||||
"babel-eslint": "^10.1.0",
|
||||
"eslint-plugin-react": "^7.21.5",
|
||||
"next": "^10.0.3",
|
||||
"react": "^16.13.0",
|
||||
|
|
|
@ -63,7 +63,7 @@ function Comment({ comment, index, onComment, onDelete, onReact, uid }) {
|
|||
</div>
|
||||
<div>User #{user}</div>
|
||||
</div>
|
||||
<div>{date}</div>
|
||||
<div className={styles.commentDate}>{date}</div>
|
||||
</div>
|
||||
<div className={`${!displayed && styles.hidden}`}>
|
||||
<div className={styles.commentText}> {content}</div>
|
||||
|
@ -153,8 +153,8 @@ export default function Comments({
|
|||
const [commentsShowing, setCommentsShowing] = useState(false)
|
||||
const commentCount = comments ? countComments(comments) : 0
|
||||
|
||||
return (
|
||||
<div>
|
||||
return (
|
||||
<div>
|
||||
{commentsShowing ? (
|
||||
<Modal
|
||||
closeClick={() => {
|
||||
|
|
|
@ -36,7 +36,8 @@
|
|||
}
|
||||
|
||||
.comment {
|
||||
margin-left: 25px;
|
||||
margin-left: 10px;
|
||||
margin-right: 30px;
|
||||
padding: 8px 0px;
|
||||
}
|
||||
|
||||
|
@ -45,9 +46,13 @@
|
|||
border-left: 3px solid azure;
|
||||
}
|
||||
|
||||
.commentDate {
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.commentHeader {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
/*justify-content: space-between;*/
|
||||
}
|
||||
|
||||
.commentHeader > div {
|
||||
|
|
|
@ -44,7 +44,8 @@ export default function Composer({ onSubmit }) {
|
|||
<div className={styles.container}>
|
||||
{type !== 'private' && (
|
||||
<input
|
||||
placeholder={'Téma'}
|
||||
placeholder={'Téma...'}
|
||||
required
|
||||
value={title}
|
||||
onChange={(e) => {
|
||||
setTitle(e.target.value)
|
||||
|
@ -52,7 +53,8 @@ export default function Composer({ onSubmit }) {
|
|||
/>
|
||||
)}
|
||||
<textarea
|
||||
placeholder={'...'}
|
||||
placeholder={'Írj ide valamit...'}
|
||||
required
|
||||
value={val}
|
||||
onChange={(e) => {
|
||||
setVal(e.target.value)
|
||||
|
@ -64,22 +66,22 @@ export default function Composer({ onSubmit }) {
|
|||
setFile(e.target.files[0])
|
||||
}}
|
||||
/>
|
||||
)}
|
||||
<div className={styles.typeSelector}>
|
||||
<div>Post típusa:</div>
|
||||
<div title="Minden felhasználó látja főoldalon, és tudnak rá válaszolni">
|
||||
<input
|
||||
onChange={(e) => {
|
||||
setType(e.target.value)
|
||||
}}
|
||||
type="radio"
|
||||
name="type"
|
||||
value="public"
|
||||
defaultChecked
|
||||
/>
|
||||
Publikus
|
||||
</div>
|
||||
<div title="Csak a weboldal üzemeltetője látja">
|
||||
)}
|
||||
<div id="radiolabel"><p><b>A poszt típusa:</b></p></div>
|
||||
<div className={styles.typeSelector}>
|
||||
<div title="A főoldalon mindenki láthatja, reagálhat rá és kommentelhet alá">
|
||||
<input
|
||||
onChange={(e) => {
|
||||
setType(e.target.value)
|
||||
}}
|
||||
type="radio"
|
||||
name="type"
|
||||
value="public"
|
||||
defaultChecked
|
||||
/>
|
||||
Publikus
|
||||
</div>
|
||||
<div title="Csak admin bácsi látja">
|
||||
<input
|
||||
onChange={(e) => {
|
||||
setType(e.target.value)
|
||||
|
@ -90,27 +92,20 @@ export default function Composer({ onSubmit }) {
|
|||
/>
|
||||
Privát
|
||||
</div>
|
||||
<div className={styles.tip}>
|
||||
(Tartsd egered opciókra több infóért)
|
||||
</div>
|
||||
</div>
|
||||
<div className={'actions'}>
|
||||
<div className={styles.tip}>
|
||||
<b>Tipp:</b> vidd a kurzort a poszt-típusok fölé több infóért!
|
||||
</div>
|
||||
<div className={styles.composerAction}>
|
||||
<span
|
||||
onClick={() => {
|
||||
onSubmit(type, title, val, file)
|
||||
setEditorShowing(false)
|
||||
}}
|
||||
>
|
||||
Post
|
||||
Posztolás
|
||||
</span>
|
||||
<span
|
||||
onClick={() => {
|
||||
setEditorShowing(false)
|
||||
}}
|
||||
>
|
||||
Cancel
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</Modal>
|
||||
)}
|
||||
|
|
|
@ -1,33 +1,77 @@
|
|||
.container {
|
||||
display: flex;
|
||||
flex-flow: column;
|
||||
display: flex;
|
||||
flex-flow: column;
|
||||
max-width: 400px;
|
||||
}
|
||||
|
||||
.container > input,
|
||||
.container > textarea {
|
||||
margin: 5px 0px;
|
||||
padding: 4px;
|
||||
}
|
||||
.container > input,
|
||||
.container > textarea {
|
||||
margin: 5px 0px;
|
||||
padding: 4px;
|
||||
width: 97%;
|
||||
border-color: #5d5f61;
|
||||
background-color: #1f2021;
|
||||
border-radius: 5px;
|
||||
font-size: 15px;
|
||||
}
|
||||
|
||||
.container > textarea {
|
||||
margin-left: 1px;
|
||||
width: 99%;
|
||||
resize: none;
|
||||
}
|
||||
|
||||
.typeSelector {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
display:inline-flex;
|
||||
text-align: center;
|
||||
margin-left: 6px;
|
||||
}
|
||||
|
||||
.tip {
|
||||
font-size: 10px;
|
||||
margin: 0px 10px;
|
||||
font-size: 11px;
|
||||
font-style: italic;
|
||||
text-align: center;
|
||||
margin: 15px 0px 2px 2px;
|
||||
}
|
||||
|
||||
.new {
|
||||
text-align: center;
|
||||
background-color: #191919;
|
||||
border-radius: 3px;
|
||||
cursor: pointer;
|
||||
margin: 8px;
|
||||
padding: 8px;
|
||||
text-align: center;
|
||||
background-color: #191919;
|
||||
border-radius: 3px;
|
||||
cursor: pointer;
|
||||
margin: 8px;
|
||||
padding: 8px;
|
||||
}
|
||||
|
||||
.new:hover {
|
||||
background-color: var(--hoover-color);
|
||||
.new:hover {
|
||||
background-color: var(--hoover-color);
|
||||
}
|
||||
|
||||
.composerAction {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
width: 36%;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
.composerAction > span {
|
||||
margin: 2px 2px;
|
||||
padding: 0px 10px;
|
||||
border: 1px solid #444;
|
||||
border-radius: 5px;
|
||||
cursor: pointer;
|
||||
user-select: none;
|
||||
font-size: 15px;
|
||||
margin-top: 14.5px !important;
|
||||
padding-top: 4px !important;
|
||||
transform: translate(109%, 10%);
|
||||
transition: width 0.5s, height 0.5s, ease-in 0.5s;
|
||||
}
|
||||
|
||||
.composerAction > span:hover {
|
||||
background-color: var(--hoover-color);
|
||||
transition: width 0.5s, height 0.5s, ease-out 0.5s;
|
||||
color: var(--text-color);
|
||||
text-shadow: 2px 1.5px 10px black;
|
||||
}
|
||||
|
|
|
@ -1,23 +1,33 @@
|
|||
.container {
|
||||
display: flex;
|
||||
flex-flow: column;
|
||||
|
||||
padding: 5px;
|
||||
display: flex;
|
||||
flex-flow: column;
|
||||
margin-top: 8px;
|
||||
margin-bottom: 0px;
|
||||
margin-right: 22%;
|
||||
margin-left: 22%;
|
||||
padding: 5px;
|
||||
}
|
||||
|
||||
.listItem {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
|
||||
padding: 5px;
|
||||
cursor: pointer;
|
||||
color: white;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
text-align: center;
|
||||
padding-top: 10px;
|
||||
padding-bottom: 10px;
|
||||
margin: 3px;
|
||||
cursor: pointer;
|
||||
color: #a1a1a1;
|
||||
transition: width 0.5s, height 0.5s, ease-in 0.5s;
|
||||
}
|
||||
|
||||
.listItem:hover {
|
||||
background-color: var(--hoover-color);
|
||||
}
|
||||
.listItem:hover {
|
||||
background-color: var(--hoover-color);
|
||||
transition: width 0.5s, height 0.5s, ease-out 0.5s;
|
||||
text-shadow: 2px 1.5px 10px black;
|
||||
color: var(--text-color);
|
||||
}
|
||||
|
||||
.text {
|
||||
text-align: center;
|
||||
text-align: center;
|
||||
color: gainsboro;
|
||||
}
|
||||
|
|
|
@ -1,43 +1,48 @@
|
|||
.modal {
|
||||
z-index: 99;
|
||||
position: fixed;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
background: rgba(0, 0, 0, 0.6);
|
||||
z-index: 99;
|
||||
position: fixed;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
background: rgba(0, 0, 0, 0.6);
|
||||
}
|
||||
|
||||
.modalContent {
|
||||
display: flex;
|
||||
align-items: stretch;
|
||||
max-height: 80%;
|
||||
width: 80%;
|
||||
position: fixed;
|
||||
background: var(--background-color);
|
||||
height: auto;
|
||||
top: 50%;
|
||||
left: 50%;
|
||||
transform: translate(-50%, -50%);
|
||||
border-radius: 8px;
|
||||
|
||||
padding: 20px 30px;
|
||||
cursor: auto;
|
||||
display: flex;
|
||||
align-items: stretch;
|
||||
max-height: 80%;
|
||||
width: 50%;
|
||||
max-width: 52%;
|
||||
width: auto;
|
||||
position: fixed;
|
||||
background: var(--background-color);
|
||||
height: auto;
|
||||
top: 50%;
|
||||
left: 50%;
|
||||
transform: translate(-50%, -50%);
|
||||
border-radius: 8px;
|
||||
padding-top: 38px;
|
||||
padding-bottom: 25px;
|
||||
padding-right: 14px;
|
||||
padding-left: 16px;
|
||||
cursor: default;
|
||||
}
|
||||
|
||||
.close {
|
||||
cursor: pointer;
|
||||
font-size: 18px;
|
||||
position: absolute;
|
||||
|
||||
top: 10px;
|
||||
right: 10px;
|
||||
display: inline;
|
||||
cursor: pointer;
|
||||
font-size: 16.5px;
|
||||
position: fixed;
|
||||
top: 5px;
|
||||
right: 10px;
|
||||
margin-bottom: 10px;
|
||||
text-align: right;
|
||||
display: inline;
|
||||
}
|
||||
|
||||
.children {
|
||||
max-height: 100%;
|
||||
width: 100%;
|
||||
overflow-y: scroll;
|
||||
overflow-x: hidden;
|
||||
max-height: 100%;
|
||||
width: 100%;
|
||||
overflow-y: auto;
|
||||
overflow-x: auto;
|
||||
}
|
||||
|
|
|
@ -1,379 +1,379 @@
|
|||
:root {
|
||||
--text-color: #f2cb05;
|
||||
--primary-color: #9999ff;
|
||||
--bright-color: #f2f2f2;
|
||||
--background-color: #222426;
|
||||
--hoover-color: #393939;
|
||||
--text-color: #f2cb05;
|
||||
--primary-color: #f2cb05;
|
||||
--bright-color: #f2f2f2;
|
||||
--background-color: #222426;
|
||||
--hoover-color: #393939;
|
||||
}
|
||||
|
||||
@import url('https://fonts.googleapis.com/css2?family=Kameron&family=Overpass+Mono:wght@300;400&display=swap');
|
||||
|
||||
body {
|
||||
font-family: 'Kameron', serif;
|
||||
font-family: 'Overpass Mono', monospace;
|
||||
color: #999999;
|
||||
font-family: 'Kameron', serif;
|
||||
font-family: 'Overpass Mono', monospace;
|
||||
color: #999999;
|
||||
}
|
||||
|
||||
li {
|
||||
padding: 2px 0px;
|
||||
padding: 2px 0px;
|
||||
}
|
||||
|
||||
a {
|
||||
color: white;
|
||||
color: white;
|
||||
}
|
||||
|
||||
a:hover {
|
||||
color: #c1c1c1;
|
||||
}
|
||||
a:hover {
|
||||
color: #c1c1c1;
|
||||
}
|
||||
|
||||
textarea {
|
||||
color: var(--text-color);
|
||||
background-color: var(--background-color);
|
||||
box-sizing: border-box;
|
||||
height: 120px;
|
||||
width: 100%;
|
||||
border: 1px solid #666;
|
||||
border-radius: 3px;
|
||||
color: var(--text-color);
|
||||
background-color: var(--background-color);
|
||||
box-sizing: border-box;
|
||||
height: 120px;
|
||||
width: 100%;
|
||||
border: 1px solid #666;
|
||||
border-radius: 3px;
|
||||
}
|
||||
|
||||
input {
|
||||
color: var(--text-color);
|
||||
background-color: var(--background-color);
|
||||
border: 1px solid #444;
|
||||
width: 100%;
|
||||
color: var(--text-color);
|
||||
background-color: var(--background-color);
|
||||
border: 1px solid #444;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.link {
|
||||
margin: 20px;
|
||||
font-size: 20px;
|
||||
margin: 20px;
|
||||
font-size: 20px;
|
||||
}
|
||||
|
||||
.sidebarLink {
|
||||
color: var(--text-color);
|
||||
text-decoration: none;
|
||||
color: var(--text-color);
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.sidebar {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
width: 200px;
|
||||
background-color: #222426;
|
||||
position: fixed;
|
||||
height: 100%;
|
||||
overflow: auto;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
width: 200px;
|
||||
background-color: #222426;
|
||||
position: fixed;
|
||||
height: 100%;
|
||||
overflow: auto;
|
||||
}
|
||||
|
||||
.content {
|
||||
margin-left: 200px;
|
||||
padding: 1px 15px;
|
||||
margin-left: 200px;
|
||||
padding: 1px 15px;
|
||||
}
|
||||
|
||||
.sidebarLinks a {
|
||||
display: block;
|
||||
text-align: center;
|
||||
color: black;
|
||||
font-size: 108%;
|
||||
padding: 14px;
|
||||
margin-top: 4px;
|
||||
margin-bottom: 4px;
|
||||
text-decoration: none;
|
||||
color: var(--bright-color);
|
||||
transition: width 0.5s, height 0.5s, ease-in 0.5s;
|
||||
display: block;
|
||||
text-align: center;
|
||||
color: black;
|
||||
font-size: 108%;
|
||||
padding: 14px;
|
||||
margin-top: 4px;
|
||||
margin-bottom: 4px;
|
||||
text-decoration: none;
|
||||
color: var(--bright-color);
|
||||
transition: width 0.5s, height 0.5s, ease-in 0.5s;
|
||||
}
|
||||
|
||||
.sidebarLinks a:hover {
|
||||
transition: width 0.5s, height 0.5s, ease-out 0.5s;
|
||||
}
|
||||
.sidebarLinks a:hover {
|
||||
transition: width 0.5s, height 0.5s, ease-out 0.5s;
|
||||
}
|
||||
|
||||
.sidebarLinks a.active {
|
||||
border: 0.5px solid var(--text-color);
|
||||
color: white;
|
||||
text-shadow: 2px 2px 8px black;
|
||||
font-weight: bold;
|
||||
}
|
||||
.sidebarLinks a.active {
|
||||
border: 0.5px solid var(--text-color);
|
||||
color: white;
|
||||
text-shadow: 2px 2px 8px black;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.sidebarLinks a:hover:not(.active) {
|
||||
background-color: var(--text-color);
|
||||
color: black;
|
||||
font-weight: bold;
|
||||
text-shadow: 2px 2px 8px black;
|
||||
transition: width 0.5s, height 0.5s, ease-out 0.5s;
|
||||
}
|
||||
.sidebarLinks a:hover:not(.active) {
|
||||
background-color: var(--text-color);
|
||||
color: black;
|
||||
font-weight: bold;
|
||||
text-shadow: 2px 2px 8px black;
|
||||
transition: width 0.5s, height 0.5s, ease-out 0.5s;
|
||||
}
|
||||
|
||||
.menuicon div {
|
||||
height: 5px;
|
||||
background-color: var(--bright-color);
|
||||
margin: 0px 0;
|
||||
display: none;
|
||||
width: 30px;
|
||||
height: 5px;
|
||||
background-color: var(--bright-color);
|
||||
margin: 0px 0;
|
||||
display: none;
|
||||
width: 30px;
|
||||
}
|
||||
|
||||
.sidebarheader {
|
||||
font-size: 40px;
|
||||
color: var(--bright-color);
|
||||
display: flex;
|
||||
text-align: center;
|
||||
font-size: 40px;
|
||||
color: var(--bright-color);
|
||||
display: flex;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.headercontainer {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
align-items: center;
|
||||
flex-wrap: nowrap;
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
padding-top: 15px;
|
||||
padding-bottom: 17px;
|
||||
padding-right: 2px;
|
||||
padding-left: 2px;
|
||||
}
|
||||
|
||||
@media screen and (max-width: 700px) {
|
||||
.sidebar {
|
||||
width: 100%;
|
||||
height: auto;
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
align-items: center;
|
||||
flex-wrap: nowrap;
|
||||
position: relative;
|
||||
}
|
||||
.sidebar a {
|
||||
float: left;
|
||||
}
|
||||
div.content {
|
||||
margin-left: 0;
|
||||
}
|
||||
overflow: hidden;
|
||||
padding-top: 15px;
|
||||
padding-bottom: 17px;
|
||||
padding-right: 2px;
|
||||
padding-left: 2px;
|
||||
}
|
||||
|
||||
@media screen and (max-width: 700px) {
|
||||
.menuicon div {
|
||||
display: block;
|
||||
margin: 6px 0;
|
||||
}
|
||||
.sidebar {
|
||||
width: 100%;
|
||||
height: auto;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.sidebar a {
|
||||
text-align: center;
|
||||
float: none;
|
||||
}
|
||||
.sidebar a {
|
||||
float: left;
|
||||
}
|
||||
|
||||
.menuicon {
|
||||
display: inline;
|
||||
}
|
||||
div.content {
|
||||
margin-left: 0;
|
||||
}
|
||||
}
|
||||
|
||||
.sidebaritemsconainer {
|
||||
display: inline;
|
||||
}
|
||||
@media screen and (max-width: 700px) {
|
||||
.menuicon div {
|
||||
display: block;
|
||||
margin: 6px 0;
|
||||
}
|
||||
|
||||
.sidebarheader {
|
||||
position: absolute;
|
||||
left: 50%;
|
||||
top: 50%;
|
||||
padding-top: 20px;
|
||||
transform: translateX(-50%) translateY(-50%);
|
||||
}
|
||||
.sidebar a {
|
||||
text-align: center;
|
||||
float: none;
|
||||
}
|
||||
|
||||
.codecontainer {
|
||||
margin-left: 0px;
|
||||
margin-right: 0px;
|
||||
}
|
||||
.menuicon {
|
||||
display: inline;
|
||||
}
|
||||
|
||||
.sitedescription {
|
||||
width: 100%;
|
||||
margin: 0 auto;
|
||||
}
|
||||
.sidebaritemsconainer {
|
||||
display: inline;
|
||||
}
|
||||
|
||||
.rtfmImage {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
border: 2px solid white;
|
||||
width: 100%;
|
||||
}
|
||||
.sidebarheader {
|
||||
position: absolute;
|
||||
left: 50%;
|
||||
top: 50%;
|
||||
padding-top: 20px;
|
||||
transform: translateX(-50%) translateY(-50%);
|
||||
}
|
||||
|
||||
.manualUsage {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
.codecontainer {
|
||||
margin-left: 0px;
|
||||
margin-right: 0px;
|
||||
}
|
||||
|
||||
.sitedescription {
|
||||
width: 100%;
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
.rtfmImage {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
border: 2px solid white;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.manualUsage {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
}
|
||||
|
||||
.endofpage {
|
||||
padding-bottom: 20px;
|
||||
padding-bottom: 20px;
|
||||
}
|
||||
|
||||
.questionContainer {
|
||||
margin: 10px;
|
||||
margin: 10px;
|
||||
}
|
||||
|
||||
.questionContainer:hover {
|
||||
background-color: var(--hoover-color);
|
||||
}
|
||||
.questionContainer:hover {
|
||||
background-color: var(--hoover-color);
|
||||
}
|
||||
|
||||
.question {
|
||||
word-wrap: break-word;
|
||||
font-weight: bold;
|
||||
font-size: 17px;
|
||||
color: #ffffff;
|
||||
word-wrap: break-word;
|
||||
font-weight: bold;
|
||||
font-size: 17px;
|
||||
color: #ffffff;
|
||||
}
|
||||
|
||||
.answer {
|
||||
word-wrap: break-word;
|
||||
font-size: 15px;
|
||||
word-wrap: break-word;
|
||||
font-size: 15px;
|
||||
}
|
||||
|
||||
.data {
|
||||
word-wrap: break-word;
|
||||
font-size: 13px;
|
||||
color: #a1a1a1;
|
||||
word-wrap: break-word;
|
||||
font-size: 13px;
|
||||
color: #a1a1a1;
|
||||
}
|
||||
|
||||
.loadingindicator {
|
||||
text-align: center;
|
||||
vertical-align: middle;
|
||||
|
||||
color: #fff;
|
||||
font-size: 30px;
|
||||
text-align: center;
|
||||
vertical-align: middle;
|
||||
color: #fff;
|
||||
font-size: 30px;
|
||||
}
|
||||
|
||||
.link {
|
||||
margin: 10px;
|
||||
margin: 10px;
|
||||
}
|
||||
|
||||
.subjectSelector {
|
||||
overflow: scroll;
|
||||
height: 350px;
|
||||
margin: 10px;
|
||||
overflow: scroll;
|
||||
height: 350px;
|
||||
margin: 10px;
|
||||
}
|
||||
|
||||
.subjItem {
|
||||
font-size: 18px;
|
||||
padding: 3px;
|
||||
cursor: pointer;
|
||||
float: 1;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
font-size: 18px;
|
||||
padding: 3px;
|
||||
cursor: pointer;
|
||||
float: 1;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
}
|
||||
|
||||
.activeSubjItem {
|
||||
background-color: var(--text-color);
|
||||
color: black;
|
||||
background-color: var(--text-color);
|
||||
color: black;
|
||||
}
|
||||
|
||||
.subjItem:hover:not(.activeSubjItem) {
|
||||
background-color: #555;
|
||||
color: white;
|
||||
background-color: #555;
|
||||
color: white;
|
||||
}
|
||||
|
||||
.rtfmImage {
|
||||
justify-content: center;
|
||||
margin: 0px 10px;
|
||||
justify-content: center;
|
||||
margin: 0px 10px;
|
||||
}
|
||||
|
||||
.warning {
|
||||
color: red;
|
||||
font-weight: 100;
|
||||
font-size: 17.5px;
|
||||
color: red;
|
||||
font-weight: 100;
|
||||
font-size: 17.5px;
|
||||
}
|
||||
|
||||
#manualWarn {
|
||||
font-size: 14px;
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
.manual_img {
|
||||
padding: 20px 2px;
|
||||
padding: 20px 2px;
|
||||
}
|
||||
|
||||
.subtitle {
|
||||
color: var(--text-color);
|
||||
font-size: 23px;
|
||||
text-align: center;
|
||||
font-weight: 100;
|
||||
margin: 0px;
|
||||
padding-top: 8px;
|
||||
color: var(--text-color);
|
||||
font-size: 23px;
|
||||
text-align: center;
|
||||
font-weight: 100;
|
||||
margin: 0px;
|
||||
padding-top: 8px;
|
||||
}
|
||||
|
||||
.pageHeader {
|
||||
background-color: var(--text-color);
|
||||
height: 45px;
|
||||
max-width: 100%;
|
||||
color: black;
|
||||
margin: 5px 0px 0px 0px;
|
||||
background-color: var(--text-color);
|
||||
height: 45px;
|
||||
max-width: 100%;
|
||||
color: black;
|
||||
margin: 5px 0px 0px 0px;
|
||||
}
|
||||
|
||||
.pageHeader h1 {
|
||||
padding-top: 6px;
|
||||
letter-spacing: 7px;
|
||||
text-align: center;
|
||||
margin: 0px;
|
||||
}
|
||||
.pageHeader h1 {
|
||||
padding-top: 6px;
|
||||
letter-spacing: 7px;
|
||||
text-align: center;
|
||||
margin: 0px;
|
||||
}
|
||||
|
||||
.manualUsage {
|
||||
margin-top: 5px;
|
||||
display: flex;
|
||||
margin-top: 5px;
|
||||
display: flex;
|
||||
}
|
||||
|
||||
.manualBody {
|
||||
text-align: justify;
|
||||
text-align: justify;
|
||||
}
|
||||
|
||||
select {
|
||||
cursor: pointer;
|
||||
width: 100%;
|
||||
max-width: 100%;
|
||||
height: 30px;
|
||||
cursor: pointer;
|
||||
width: 100%;
|
||||
max-width: 100%;
|
||||
height: 30px;
|
||||
}
|
||||
|
||||
select:hover {
|
||||
border: 1px solid #F2CB05;
|
||||
}
|
||||
select:hover {
|
||||
border: 1px solid #F2CB05;
|
||||
}
|
||||
|
||||
.userStatus {
|
||||
display: flex;
|
||||
margin-top: auto;
|
||||
margin-bottom: 20px;
|
||||
background-color: #373737;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
display: flex;
|
||||
margin-top: auto;
|
||||
margin-bottom: 20px;
|
||||
background-color: #373737;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
}
|
||||
|
||||
.msgs {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.logout {
|
||||
padding: 6px;
|
||||
margin-right: 7px;
|
||||
cursor: pointer;
|
||||
font-size: 15.5px;
|
||||
padding: 6px;
|
||||
margin-right: 7px;
|
||||
cursor: pointer;
|
||||
font-size: 15.5px;
|
||||
}
|
||||
|
||||
.logout:hover {
|
||||
color: #fff;
|
||||
}
|
||||
.logout:hover {
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.msgs :first-child {
|
||||
font-size: 27px;
|
||||
margin-left: 4px;
|
||||
font-size: 27px;
|
||||
margin-left: 4px;
|
||||
}
|
||||
|
||||
.msgs > div {
|
||||
padding: 2px 6px;
|
||||
font-size: 13.5px;
|
||||
padding: 2px 6px;
|
||||
font-size: 13.5px;
|
||||
}
|
||||
|
||||
.actions {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.actions > span {
|
||||
margin: 2px 2px;
|
||||
padding: 0px 10px;
|
||||
border: 1px solid #444;
|
||||
border-radius: 6px;
|
||||
cursor: pointer;
|
||||
user-select: none;
|
||||
}
|
||||
.actions > span {
|
||||
margin: 2px 2px;
|
||||
padding: 0px 10px;
|
||||
border: 1px solid #444;
|
||||
border-radius: 6px;
|
||||
cursor: pointer;
|
||||
user-select: none;
|
||||
}
|
||||
|
||||
.actions > span:hover {
|
||||
background-color: var(--hoover-color);
|
||||
}
|
||||
.actions > span:hover {
|
||||
background-color: var(--hoover-color);
|
||||
}
|
||||
|
|
|
@ -303,7 +303,7 @@ export default function Index({ globalData }) {
|
|||
if (allQrSelector) {
|
||||
return (
|
||||
<DbSelector
|
||||
text={`Válaszd ki melyik adatbázist szeretnéd letölteni (${allQrSelector}):`}
|
||||
text={`Válaszd ki melyik adatbázist szeretnéd letölteni!`}
|
||||
showAll={allQrSelector === 'txt'}
|
||||
closeClick={() => {
|
||||
setAllQrSelector(null)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue