Commit 73722c47 by Muhammad Shoaib

Merge pull request #9375 from edx/muhhshoaib/PHX-118-timer-bar-scroll-out-view-css

PHX-118 added the css for the timer bar visibility when the page scrolls
parents 887a3af4 e8b399aa
...@@ -47,47 +47,57 @@ ...@@ -47,47 +47,57 @@
font-size: 90%; font-size: 90%;
} }
} }
.exam-timer { .proctored_exam_status {
line-height: 56px; // STATE: Fixed to viewport (used for scrolling)
background-color: #e5eaec; &.is-fixed {
padding-left: 42px; @extend %ui-depth4;
padding-right: 32px; box-shadow: 0 3px 3px $shadow-d1;
border-left: 4px solid #14a6ea; position: fixed;
margin: 0 auto; top: 0;
color: #4e575b; width: 100%;
font-size: 14px;
a {
color: #0979ba;
} }
span.pull-right { .exam-timer {
color: #646161; @include line-height(39);
line-height: 56px; background-color: rgb(229, 234, 236);
b { padding-left: 42px;
color: #414040; padding-right: 32px;
} border-left: 4px solid $m-blue-l1;
} margin: 0 auto;
&.low-time { color: $gray-d2;
color: #cdd7db; @include font-size(14);
background-color: #4F585C;
a { a {
color: #fff; color: rgb(9, 121, 186);
text-decoration: underline;
} }
span.pull-right { span.pull-right {
color: #cdd7db; color: $gray-d1;
@include line-height(39);
b { b {
color: #fff; color: $gray-d3;
} }
} }
&.low-time {
color: $gray-l3;
background-color: rgb(79, 88, 92);
a {
color: $white;
text-decoration: underline;
}
span.pull-right {
color: $gray-l3;
b {
color: $white;
}
}
}
&.warning {
border-left-color: $warning-color;
}
&.critical {
border-left-color: $alert-color;
color: $white;
}
.exam-button-turn-in-exam {
margin-right: $baseline;
}
} }
&.warning { }
border-left-color: #feb93e; \ No newline at end of file
}
&.critical {
border-left-color: #b30101;
color: #fff;
}
.exam-button-turn-in-exam {
margin-right: 20px;
}
}
Markdown is supported
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