feat!: Drop sass support from porblem/cappa xblocks
This commit is contained in:
222
xmodule/static/css-builtin-blocks/ProblemBlockEditor.css
Normal file
222
xmodule/static/css-builtin-blocks/ProblemBlockEditor.css
Normal file
@@ -0,0 +1,222 @@
|
||||
@import url("https://fonts.googleapis.com/css?family=Open+Sans:300,400,400i,600,700");
|
||||
|
||||
.xmodule_edit.xmodule_ProblemBlock {
|
||||
}
|
||||
|
||||
.xmodule_edit.xmodule_ProblemBlock .ui-col-wide {
|
||||
width: 74.46809%;
|
||||
margin-right: 2.12766%;
|
||||
float: left;
|
||||
}
|
||||
|
||||
.xmodule_edit.xmodule_ProblemBlock .ui-col-narrow {
|
||||
width: 23.40426%;
|
||||
float: left;
|
||||
}
|
||||
|
||||
.xmodule_edit.xmodule_ProblemBlock .ui-loading {
|
||||
box-shadow: inset 0 1px 2px 1px rgba(0, 0, 0, 0.2);
|
||||
padding: 15px 20px;
|
||||
}
|
||||
|
||||
.xmodule_edit.xmodule_ProblemBlock .ui-loading {
|
||||
animation: fadeIn 0.25s linear 1;
|
||||
opacity: 0.6;
|
||||
background-color: #fff;
|
||||
padding: 30px 20px;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.xmodule_edit.xmodule_ProblemBlock .ui-loading .spin {
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
.xmodule_edit.xmodule_ProblemBlock .ui-loading .copy {
|
||||
padding-left: 5px;
|
||||
}
|
||||
|
||||
.xmodule_edit.xmodule_ProblemBlock .is-hidden {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.xmodule_edit.xmodule_ProblemBlock .editor {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.xmodule_edit.xmodule_ProblemBlock .editor .row {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.xmodule_edit.xmodule_ProblemBlock .editor .editor-bar {
|
||||
background-color: #d4dee8;
|
||||
background-image: -webkit-linear-gradient(top, #d4dee8, #c9d5e2);
|
||||
background-image: linear-gradient(to bottom, #d4dee8, #c9d5e2);
|
||||
position: relative;
|
||||
padding: calc(var(--baseline) / 4);
|
||||
border-bottom-color: #a5aaaf;
|
||||
}
|
||||
|
||||
.xmodule_edit.xmodule_ProblemBlock .editor .editor-bar:after {
|
||||
content: "";
|
||||
display: table;
|
||||
clear: both;
|
||||
}
|
||||
|
||||
.xmodule_edit.xmodule_ProblemBlock .editor .editor-bar button {
|
||||
display: inline-block;
|
||||
float: left;
|
||||
padding: 3px calc(var(--baseline) / 2) 5px;
|
||||
margin-left: 7px;
|
||||
border: 0;
|
||||
border-radius: 2px;
|
||||
background: transparent;
|
||||
}
|
||||
|
||||
.xmodule_edit.xmodule_ProblemBlock .editor .editor-bar button .icon {
|
||||
height: 21px;
|
||||
}
|
||||
|
||||
.xmodule_edit.xmodule_ProblemBlock .editor .editor-bar button:hover, .xmodule_edit.xmodule_ProblemBlock .editor .editor-bar button:focus {
|
||||
background: rgba(255, 255, 255, 0.5);
|
||||
}
|
||||
|
||||
.xmodule_edit.xmodule_ProblemBlock .editor .editor-tabs {
|
||||
position: absolute;
|
||||
top: 10px;
|
||||
right: 10px;
|
||||
text-align: left;
|
||||
direction: ltr;
|
||||
}
|
||||
|
||||
.xmodule_edit.xmodule_ProblemBlock .editor .editor-tabs li {
|
||||
float: left;
|
||||
margin-right: calc(var(--baseline) / 4);
|
||||
}
|
||||
|
||||
.xmodule_edit.xmodule_ProblemBlock .editor .editor-tabs li:last-child {
|
||||
margin-right: 0;
|
||||
}
|
||||
|
||||
.xmodule_edit.xmodule_ProblemBlock .editor .editor-tabs .tab {
|
||||
display: block;
|
||||
height: 24px;
|
||||
padding: 7px 20px 3px;
|
||||
border: 1px solid #a5aaaf;
|
||||
border-radius: 3px 3px 0 0;
|
||||
background-color: var(--transparent);
|
||||
background-image: -webkit-linear-gradient(top, var(--transparent) 87%, rgba(0, 0, 0, 0.06));
|
||||
background-image: linear-gradient(to bottom, var(--transparent) 87%, rgba(0, 0, 0, 0.06));
|
||||
background-color: #e5ecf3;
|
||||
font-size: 13px;
|
||||
color: #3c3c3c;
|
||||
box-shadow: 1px -1px 1px rgba(0, 0, 0, 0.05);
|
||||
}
|
||||
|
||||
.xmodule_edit.xmodule_ProblemBlock .editor .editor-tabs .tab.current {
|
||||
background: var(--white);
|
||||
border-bottom-color: var(--white);
|
||||
}
|
||||
|
||||
.xmodule_edit.xmodule_ProblemBlock .editor-bar .editor-tabs .advanced-toggle {
|
||||
height: auto;
|
||||
margin-top: -4px;
|
||||
padding: 3px 9px;
|
||||
font-size: 12px;
|
||||
color: var(--link-color);
|
||||
}
|
||||
|
||||
.xmodule_edit.xmodule_ProblemBlock .editor-bar .editor-tabs .advanced-toggle.current {
|
||||
border: 1px solid var(--lightGrey) !important;
|
||||
border-radius: 3px !important;
|
||||
background: var(--lightGrey) !important;
|
||||
color: var(--darkGrey) !important;
|
||||
pointer-events: none;
|
||||
cursor: none;
|
||||
}
|
||||
|
||||
.xmodule_edit.xmodule_ProblemBlock .editor-bar .editor-tabs .advanced-toggle.current:hover, .xmodule_edit.xmodule_ProblemBlock .editor-bar .editor-tabs .advanced-toggle.current:focus {
|
||||
box-shadow: 0 0 0 0 !important;
|
||||
background-color: var(--white);
|
||||
}
|
||||
|
||||
.xmodule_edit.xmodule_ProblemBlock .simple-editor-cheatsheet {
|
||||
position: absolute;
|
||||
top: 41px;
|
||||
left: 70%;
|
||||
width: 0;
|
||||
border-left: 1px solid var(--gray-l2);
|
||||
background-color: var(--lightGrey);
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.xmodule_edit.xmodule_ProblemBlock .simple-editor-cheatsheet.shown {
|
||||
width: 30%;
|
||||
height: 92%;
|
||||
overflow-y: scroll;
|
||||
}
|
||||
|
||||
.xmodule_edit.xmodule_ProblemBlock .simple-editor-cheatsheet .cheatsheet-wrapper {
|
||||
padding: 5%;
|
||||
}
|
||||
|
||||
.xmodule_edit.xmodule_ProblemBlock .simple-editor-cheatsheet h6 {
|
||||
margin-top: 4px;
|
||||
margin-bottom: 7px;
|
||||
margin-left: 4px;
|
||||
font-size: 15px;
|
||||
font-weight: 700;
|
||||
display: inline-block;
|
||||
vertical-align: top;
|
||||
}
|
||||
|
||||
.xmodule_edit.xmodule_ProblemBlock .simple-editor-cheatsheet .row {
|
||||
padding-bottom: 5px !important;
|
||||
margin-bottom: 10px !important;
|
||||
border-bottom: 1px solid #ddd !important;
|
||||
}
|
||||
|
||||
.xmodule_edit.xmodule_ProblemBlock .simple-editor-cheatsheet .row:after {
|
||||
content: "";
|
||||
display: table;
|
||||
clear: both;
|
||||
}
|
||||
|
||||
.xmodule_edit.xmodule_ProblemBlock .simple-editor-cheatsheet .row:last-child {
|
||||
border-bottom: none !important;
|
||||
margin-bottom: 0 !important;
|
||||
}
|
||||
|
||||
.xmodule_edit.xmodule_ProblemBlock .simple-editor-cheatsheet .col {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.xmodule_edit.xmodule_ProblemBlock .simple-editor-cheatsheet .col.sample {
|
||||
margin-right: 30px;
|
||||
}
|
||||
|
||||
.xmodule_edit.xmodule_ProblemBlock .simple-editor-cheatsheet .col.sample .icon {
|
||||
height: calc(var(--baseline) * 1.5);
|
||||
}
|
||||
|
||||
.xmodule_edit.xmodule_ProblemBlock .simple-editor-cheatsheet pre {
|
||||
font-size: 12px;
|
||||
line-height: 18px;
|
||||
}
|
||||
|
||||
.xmodule_edit.xmodule_ProblemBlock .simple-editor-cheatsheet code {
|
||||
padding: 0;
|
||||
background: none;
|
||||
}
|
||||
|
||||
.xmodule_edit.xmodule_ProblemBlock .problem-editor .markdown-box + .CodeMirror {
|
||||
padding: 10px;
|
||||
width: 69%;
|
||||
}
|
||||
|
||||
.xmodule_edit.xmodule_ProblemBlock .problem-editor-icon {
|
||||
display: inline-block;
|
||||
width: 26px;
|
||||
height: 21px;
|
||||
vertical-align: middle;
|
||||
color: var(--body-color);
|
||||
}
|
||||
Reference in New Issue
Block a user