-
Notifications
You must be signed in to change notification settings - Fork 34
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Small style and UX tweaks to question generation modal & confirm bar
- Loading branch information
1 parent
7adf0a8
commit 38172e9
Showing
3 changed files
with
106 additions
and
100 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,95 +1,95 @@ | ||
@import './include.scss'; | ||
|
||
.generate { | ||
border-radius: 5px; | ||
margin: 10px; | ||
|
||
h1 { | ||
background: #10a37f; | ||
padding: 10px; | ||
margin: 0px; | ||
font-size: 1em; | ||
font-weight: bold; | ||
color: #ffffff; | ||
} | ||
|
||
.loading { | ||
display: flex; | ||
justify-content: center; | ||
align-items: center; | ||
height: 100vh; | ||
background-color: rgba(0, 0, 0, 0.5); | ||
|
||
backdrop-filter: blur(10px); | ||
position: absolute; | ||
top: 0; | ||
left: 0; | ||
width: 100%; | ||
z-index: 10; | ||
|
||
p { | ||
margin-bottom: 150px; | ||
font-size: 1.1em; | ||
color: white; | ||
} | ||
} | ||
|
||
#generate_form { | ||
margin: 2em; | ||
display: flex; | ||
flex-direction: column; | ||
gap: 1em; | ||
|
||
#topic-field { | ||
display: flex; | ||
flex-direction: column; | ||
gap: 0.5em; | ||
|
||
#topic { | ||
padding: 0.5em; | ||
} | ||
} | ||
|
||
#num-questions-field { | ||
display: flex; | ||
flex-direction: row; | ||
justify-content: space-between; | ||
|
||
input { | ||
max-width: 100px; | ||
} | ||
} | ||
|
||
} | ||
.actions { | ||
position: fixed; | ||
width: 80px; | ||
left: 50%; | ||
bottom: 0px; | ||
margin-left: -40px; | ||
padding-bottom: 14px; | ||
z-index: 10; | ||
|
||
text-align: center; | ||
font-size: 1.1em; | ||
|
||
a { | ||
color: #000000; | ||
} | ||
} | ||
|
||
.error { | ||
color: red; | ||
font-size: 0.8em; | ||
} | ||
|
||
.invalid { | ||
border: 2px solid red; | ||
border-radius: 3px; | ||
} | ||
|
||
.warning { | ||
color: #f1814b; | ||
font-size: 0.8em; | ||
} | ||
border-radius: 5px; | ||
margin: 10px; | ||
|
||
h1 { | ||
background: #3690E6; | ||
padding: 10px; | ||
margin: 0px; | ||
font-size: 1em; | ||
font-weight: bold; | ||
color: #ffffff; | ||
} | ||
|
||
.loading { | ||
display: flex; | ||
justify-content: center; | ||
align-items: center; | ||
height: 100vh; | ||
background-color: rgba(0, 0, 0, 0.5); | ||
|
||
backdrop-filter: blur(10px); | ||
position: absolute; | ||
top: 0; | ||
left: 0; | ||
width: 100%; | ||
z-index: 10; | ||
|
||
p { | ||
margin-bottom: 150px; | ||
font-size: 1.1em; | ||
color: white; | ||
} | ||
} | ||
|
||
#generate_form { | ||
margin: 2em; | ||
display: flex; | ||
flex-direction: column; | ||
gap: 1em; | ||
|
||
#topic-field { | ||
display: flex; | ||
flex-direction: column; | ||
gap: 0.5em; | ||
|
||
#topic { | ||
padding: 0.5em; | ||
} | ||
} | ||
|
||
#num-questions-field { | ||
display: flex; | ||
flex-direction: row; | ||
justify-content: space-between; | ||
|
||
input { | ||
max-width: 100px; | ||
} | ||
} | ||
|
||
} | ||
.actions { | ||
position: fixed; | ||
width: 80px; | ||
left: 50%; | ||
bottom: 0px; | ||
margin-left: -40px; | ||
padding-bottom: 14px; | ||
z-index: 10; | ||
|
||
text-align: center; | ||
font-size: 1.1em; | ||
|
||
a { | ||
color: #000000; | ||
} | ||
} | ||
|
||
.error { | ||
color: red; | ||
font-size: 0.8em; | ||
} | ||
|
||
.invalid { | ||
border: 2px solid red; | ||
border-radius: 3px; | ||
} | ||
|
||
.warning { | ||
color: #f1814b; | ||
font-size: 0.8em; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters