mirror of
https://github.com/moodle/moodle.git
synced 2025-04-11 19:42:35 +02:00
MDL-59800 bootstrapbase: correct CSS for BS4 card
This commit is contained in:
parent
f3625f47c5
commit
1e325797a5
@ -4,9 +4,26 @@
|
||||
|
||||
// Add support for card. We map it to well.
|
||||
// This is not meant to be perfect - but at least applies some styles to a bs4 card.
|
||||
.card:extend(.well) {
|
||||
.card {
|
||||
position: relative;
|
||||
display: block;
|
||||
margin-bottom: .75rem;
|
||||
background-color: #fff;
|
||||
border: 1px solid @wellBorder;
|
||||
border-radius: 0;
|
||||
}
|
||||
|
||||
.card-header {
|
||||
padding: .75rem 1.25rem;
|
||||
background-color: @wellBackground;
|
||||
border-bottom: 1px solid @wellBorder;
|
||||
}
|
||||
|
||||
.card-block {
|
||||
padding: 1.25rem;
|
||||
}
|
||||
|
||||
|
||||
// Due to lessphp limitations, the following classes must be declared statically without use of a loop.
|
||||
.p-l-1 {
|
||||
padding-left: 1 * @baseFontSize !important;
|
||||
|
@ -191,7 +191,6 @@
|
||||
}
|
||||
.description {
|
||||
background-color: @white;
|
||||
padding: 5px;
|
||||
clear: both;
|
||||
}
|
||||
.commands {
|
||||
|
@ -5708,7 +5708,6 @@ img.iconsmall {
|
||||
}
|
||||
.path-calendar .maincalendar .eventlist .event .description {
|
||||
background-color: #fff;
|
||||
padding: 5px;
|
||||
clear: both;
|
||||
}
|
||||
.path-calendar .maincalendar .eventlist .event .commands a {
|
||||
@ -12929,8 +12928,7 @@ table th[class*="span"],
|
||||
-moz-border-radius: 4px;
|
||||
border-radius: 4px;
|
||||
}
|
||||
.well,
|
||||
.card {
|
||||
.well {
|
||||
min-height: 20px;
|
||||
padding: 19px;
|
||||
margin-bottom: 20px;
|
||||
@ -15631,8 +15629,7 @@ legend {
|
||||
.breadcrumb {
|
||||
background-color: #f5f5f5;
|
||||
}
|
||||
.well,
|
||||
.card {
|
||||
.well {
|
||||
border-color: #e3e3e3;
|
||||
}
|
||||
sup {
|
||||
@ -21614,6 +21611,22 @@ ul.indented-list {
|
||||
margin-left: 20px;
|
||||
}
|
||||
/* stylelint-disable declaration-no-important, block-no-empty */
|
||||
.card {
|
||||
position: relative;
|
||||
display: block;
|
||||
margin-bottom: .75rem;
|
||||
background-color: #fff;
|
||||
border: 1px solid #e3e3e3;
|
||||
border-radius: 0;
|
||||
}
|
||||
.card-header {
|
||||
padding: .75rem 1.25rem;
|
||||
background-color: #f5f5f5;
|
||||
border-bottom: 1px solid #e3e3e3;
|
||||
}
|
||||
.card-block {
|
||||
padding: 1.25rem;
|
||||
}
|
||||
.p-l-1 {
|
||||
padding-left: 14px !important;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user