mirror of https://github.com/papercss/papercss
v1.8.3
This commit is contained in:
commit
abe378d3ba
|
@ -1282,6 +1282,10 @@ table.table-alternating tbody tr:nth-of-type(even) {
|
|||
box-shadow: 15px 28px 25px -18px rgba(0, 0, 0, 0.2);
|
||||
}
|
||||
|
||||
.child-shadows .shadow-none {
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
.child-shadows-hover > * {
|
||||
transition: all 235ms ease 0s;
|
||||
box-shadow: 15px 28px 25px -18px rgba(0, 0, 0, 0.2);
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -136,7 +136,7 @@ Use this if you want all children to have a shadow.
|
|||
<div class="row flex-spaces child-borders child-shadows">
|
||||
<div class="sm-3 col">Shadow</div>
|
||||
<div class="sm-3 col">Shadow</div>
|
||||
<div class="sm-3 col">Shadow</div>
|
||||
<div class="sm-3 col shadow-none">No Shadow</div>
|
||||
</div>
|
||||
|
||||
#### Code:
|
||||
|
@ -145,7 +145,7 @@ Use this if you want all children to have a shadow.
|
|||
<div class="row flex-spaces child-borders child-shadows">
|
||||
<div class="sm-3 col">Shadow</div>
|
||||
<div class="sm-3 col">Shadow</div>
|
||||
<div class="sm-3 col">Shadow</div>
|
||||
<div class="sm-3 col shadow-none">No Shadow</div>
|
||||
</div>
|
||||
```
|
||||
|
||||
|
|
|
@ -20,6 +20,12 @@
|
|||
@include shadow();
|
||||
}
|
||||
|
||||
.child-shadows {
|
||||
.shadow-none {
|
||||
box-shadow: none;
|
||||
}
|
||||
}
|
||||
|
||||
.child-shadows-hover > * {
|
||||
@include shadow();
|
||||
|
||||
|
|
Loading…
Reference in New Issue