77 lines
1.4 KiB
SCSS
77 lines
1.4 KiB
SCSS
// This is shared CSS between the xmodule problem editor and the xmodule HTML editor.
|
|
.editor {
|
|
position: relative;
|
|
|
|
.row {
|
|
position: relative;
|
|
}
|
|
|
|
.editor-bar {
|
|
@include clearfix();
|
|
@include linear-gradient(top, #d4dee8, #c9d5e2);
|
|
|
|
position: relative;
|
|
padding: ($baseline/4);
|
|
border-bottom-color: #a5aaaf;
|
|
|
|
button {
|
|
display: inline-block;
|
|
|
|
@include float(left);
|
|
|
|
padding: 3px ($baseline/2) 5px;
|
|
margin-left: 7px;
|
|
border: 0;
|
|
border-radius: 2px;
|
|
background: transparent;
|
|
|
|
.icon {
|
|
height: 21px;
|
|
}
|
|
|
|
&:hover,
|
|
&:focus {
|
|
background: rgba(255, 255, 255, .5);
|
|
}
|
|
}
|
|
}
|
|
|
|
.editor-tabs {
|
|
position: absolute;
|
|
top: 10px;
|
|
|
|
@include right(10px);
|
|
@include text-align(left);
|
|
@include direction();
|
|
|
|
li {
|
|
@include float(left);
|
|
@include margin-right($baseline/4);
|
|
|
|
&:last-child {
|
|
@include margin-right(0);
|
|
}
|
|
}
|
|
|
|
.tab {
|
|
display: block;
|
|
height: 24px;
|
|
padding: 7px 20px 3px;
|
|
border: 1px solid #a5aaaf;
|
|
border-radius: 3px 3px 0 0;
|
|
|
|
@include linear-gradient(top, $transparent 87%, rgba(0, 0, 0, .06));
|
|
|
|
background-color: #e5ecf3;
|
|
font-size: 13px;
|
|
color: #3c3c3c;
|
|
box-shadow: 1px -1px 1px rgba(0, 0, 0, .05);
|
|
|
|
&.current {
|
|
background: $white;
|
|
border-bottom-color: $white;
|
|
}
|
|
}
|
|
}
|
|
}
|