mirror of
https://github.com/moodle/moodle.git
synced 2025-08-07 09:56:38 +02:00
MDL-63064 block_starredcourses: make starred block style consistent
This commit remove an unused template and some custom css that has been added previously and now is no longer necessary.
This commit is contained in:
parent
8730c0619c
commit
51437e5f6d
7 changed files with 23 additions and 184 deletions
|
@ -237,64 +237,3 @@ body.drawer-open-left #region-main.has-blocks {
|
|||
margin-right: 2px;
|
||||
}
|
||||
}
|
||||
$card-gutter : $card-deck-margin * 2;
|
||||
.block_starredcourses {
|
||||
[data-region="starredcoursess-view-content"] {
|
||||
overflow-x: hidden;
|
||||
}
|
||||
.card-deck {
|
||||
flex-wrap: nowrap;
|
||||
}
|
||||
.starredcoursessimg {
|
||||
height: 7rem;
|
||||
background-position: center;
|
||||
background-size: cover;
|
||||
}
|
||||
.starredcourses-info-container {
|
||||
padding: 0.8rem;
|
||||
.card-title {
|
||||
max-width: 100%;
|
||||
a {
|
||||
max-width: 100%;
|
||||
}
|
||||
}
|
||||
}
|
||||
.empty-placeholder-image-lg {
|
||||
height: 125px;
|
||||
}
|
||||
}
|
||||
|
||||
$card-gutter : $card-deck-margin * 2;
|
||||
.block_starredcourses {
|
||||
[data-region="starred-courses-view-content"] {
|
||||
overflow-x: hidden;
|
||||
}
|
||||
.starred-course-card {
|
||||
flex-basis: auto;
|
||||
height: 150px;
|
||||
width: 200px;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
.course-card-container {
|
||||
height: 150px;
|
||||
overflow: hidden;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
.starred-course-img {
|
||||
height: 7rem;
|
||||
background-position: center;
|
||||
background-size: cover;
|
||||
}
|
||||
.starred-course-info-container {
|
||||
padding: 0.8rem;
|
||||
.card-title {
|
||||
max-width: 100%;
|
||||
a {
|
||||
max-width: 100%;
|
||||
}
|
||||
}
|
||||
}
|
||||
.empty-placeholder-image-lg {
|
||||
height: 125px;
|
||||
}
|
||||
}
|
|
@ -11251,56 +11251,6 @@ div.editor_atto_toolbar button .icon {
|
|||
.block_settings .block_tree p.hasicon .icon {
|
||||
margin-right: 2px; }
|
||||
|
||||
.block_starredcourses [data-region="starredcoursess-view-content"] {
|
||||
overflow-x: hidden; }
|
||||
|
||||
.block_starredcourses .card-deck {
|
||||
flex-wrap: nowrap; }
|
||||
|
||||
.block_starredcourses .starredcoursessimg {
|
||||
height: 7rem;
|
||||
background-position: center;
|
||||
background-size: cover; }
|
||||
|
||||
.block_starredcourses .starredcourses-info-container {
|
||||
padding: 0.8rem; }
|
||||
.block_starredcourses .starredcourses-info-container .card-title {
|
||||
max-width: 100%; }
|
||||
.block_starredcourses .starredcourses-info-container .card-title a {
|
||||
max-width: 100%; }
|
||||
|
||||
.block_starredcourses .empty-placeholder-image-lg {
|
||||
height: 125px; }
|
||||
|
||||
.block_starredcourses [data-region="starred-courses-view-content"] {
|
||||
overflow-x: hidden; }
|
||||
|
||||
.block_starredcourses .starred-course-card {
|
||||
flex-basis: auto;
|
||||
height: 150px;
|
||||
width: 200px;
|
||||
flex-shrink: 0; }
|
||||
|
||||
.block_starredcourses .course-card-container {
|
||||
height: 150px;
|
||||
overflow: hidden;
|
||||
flex-wrap: wrap; }
|
||||
|
||||
.block_starredcourses .starred-course-img {
|
||||
height: 7rem;
|
||||
background-position: center;
|
||||
background-size: cover; }
|
||||
|
||||
.block_starredcourses .starred-course-info-container {
|
||||
padding: 0.8rem; }
|
||||
.block_starredcourses .starred-course-info-container .card-title {
|
||||
max-width: 100%; }
|
||||
.block_starredcourses .starred-course-info-container .card-title a {
|
||||
max-width: 100%; }
|
||||
|
||||
.block_starredcourses .empty-placeholder-image-lg {
|
||||
height: 125px; }
|
||||
|
||||
.navbar {
|
||||
max-height: 50px; }
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue