- use new dates banner template on course outline page - remove old banner from main.html - let dates tab use new dates banner template - remove dates banner completely from the courseware problem view on the web app - use new banner on the courseware problem view on the mobile app - update banner util to use get_course_blocks
54 lines
1.1 KiB
SCSS
54 lines
1.1 KiB
SCSS
.dates-banner {
|
|
border-radius: 4px;
|
|
border: solid 1px #9cd2e6;
|
|
background-color: #eff8fa;
|
|
margin-top: 20px;
|
|
margin-bottom: 20px;
|
|
padding: 24px;
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
justify-content: space-between;
|
|
max-width: $text-width-readability-max;
|
|
|
|
.dates-banner-text {
|
|
font-size: 16px;
|
|
line-height: 24px;
|
|
color: #414141;
|
|
}
|
|
|
|
&.has-button {
|
|
.dates-banner-text {
|
|
flex: 1 1 20em;
|
|
max-width: 70%;
|
|
}
|
|
}
|
|
|
|
.upgrade-button {
|
|
align-self: start;
|
|
flex: none;
|
|
|
|
a {
|
|
text-decoration: none;
|
|
}
|
|
|
|
button {
|
|
display: block;
|
|
border-radius: 2px;
|
|
border: solid 1px #0175b4;
|
|
background: white;
|
|
color: #2d323e;
|
|
font-size: 14px;
|
|
font-weight: bold;
|
|
line-height: 24px;
|
|
padding: 7px 18px;
|
|
|
|
&:hover,
|
|
&:focus,
|
|
&:active {
|
|
cursor: pointer;
|
|
box-shadow: 0 2px 1px $shadow;
|
|
}
|
|
}
|
|
}
|
|
}
|