Skip to content
Snippets Groups Projects
Commit 9dec013d authored by chris's avatar chris
Browse files

styling

parent e0bc0a8c
No related branches found
No related tags found
1 merge request!313Fill the gap
...@@ -96,33 +96,6 @@ export default css` ...@@ -96,33 +96,6 @@ export default css`
} }
} }
.mutiple-choice {
border: 3px solid #f5f5f7;
counter-reset: question-item-multiple;
margin: 38px;
padding: 20px;
&:before {
bottom: 45px;
content: 'Answer Group ' counter(multiple-question) '.';
counter-increment: multiple-question;
position: relative;
right: 20px;
}
.portal p {
display: block !important;
}
p:last-of-type {
display: none;
}
}
.mutiple-choice.ProseMirror-selectednode {
outline: none;
}
sup, sup,
sub { sub {
line-height: 0; line-height: 0;
...@@ -347,4 +320,40 @@ export default css` ...@@ -347,4 +320,40 @@ export default css`
.transform-icon { .transform-icon {
transform: rotate(40deg); transform: rotate(40deg);
} }
/* -- Questions ---------------------------------- */
/* -- Multiple Choice ---------------------------------- */
.mutiple-choice {
border: 3px solid #f5f5f7;
counter-reset: question-item-multiple;
margin: 38px;
padding: 20px;
&:before {
bottom: 45px;
content: 'Answer Group ' counter(multiple-question) '.';
counter-increment: multiple-question;
position: relative;
right: 20px;
}
.portal p {
display: block !important;
}
p:last-of-type {
display: none;
}
.ProseMirror {
box-shadow: none;
padding: 5px 5px 0 5px;
}
}
.mutiple-choice.ProseMirror-selectednode {
outline: none;
}
`; `;
...@@ -60,6 +60,7 @@ const TopMenu = styled.div` ...@@ -60,6 +60,7 @@ const TopMenu = styled.div`
`; `;
const EditorArea = styled.div` const EditorArea = styled.div`
background: #f4f4f7;
flex-grow: 1; flex-grow: 1;
`; `;
...@@ -68,6 +69,7 @@ const WaxSurfaceScroll = styled.div` ...@@ -68,6 +69,7 @@ const WaxSurfaceScroll = styled.div`
display: flex; display: flex;
height: 100%; height: 100%;
overflow-y: auto; overflow-y: auto;
padding: 25px 25% 0 25%;
width: 100%; width: 100%;
/* PM styles for main content*/ /* PM styles for main content*/
${EditorElements}; ${EditorElements};
...@@ -79,7 +81,7 @@ const EditorContainer = styled.div` ...@@ -79,7 +81,7 @@ const EditorContainer = styled.div`
.ProseMirror { .ProseMirror {
box-shadow: 0 0 8px #ecedf1; box-shadow: 0 0 8px #ecedf1;
min-height: 98%; min-height: 100%;
padding: ${grid(10)}; padding: ${grid(10)};
} }
`; `;
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment