Files
edx-platform/lms/static/sass/course/layout/_dates_banner.scss
Nicholas D'Alfonso b454f9be1d AA-151 dates banner on course outline and refactor
- 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
2020-05-21 13:23:05 -04:00

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;
}
}
}
}