CSS adjustments to dropdowns, cards, responsive
This commit is contained in:
@@ -157,7 +157,6 @@ $tooltip-font-size: 0.83rem
|
|||||||
$tooltip-max-width: auto
|
$tooltip-max-width: auto
|
||||||
$tooltip-opacity: 1
|
$tooltip-opacity: 1
|
||||||
|
|
||||||
$nav-link-height: 37px
|
|
||||||
$navbar-padding-x: 0
|
$navbar-padding-x: 0
|
||||||
$navbar-padding-y: 0
|
$navbar-padding-y: 0
|
||||||
|
|
||||||
|
@@ -515,6 +515,25 @@
|
|||||||
.ribbon
|
.ribbon
|
||||||
+ribbon
|
+ribbon
|
||||||
|
|
||||||
|
=label-tiny
|
||||||
|
position: relative
|
||||||
|
|
||||||
|
&:before
|
||||||
|
color: $color-danger
|
||||||
|
display: block
|
||||||
|
font-size: 8px
|
||||||
|
font-weight: bold
|
||||||
|
left: 100%
|
||||||
|
position: absolute
|
||||||
|
top: -4px
|
||||||
|
|
||||||
|
.new
|
||||||
|
+label-tiny
|
||||||
|
|
||||||
|
&:before
|
||||||
|
content: 'NEW'
|
||||||
|
|
||||||
|
|
||||||
@mixin text-background($text-color, $background-color, $roundness, $padding)
|
@mixin text-background($text-color, $background-color, $roundness, $padding)
|
||||||
border-radius: $roundness
|
border-radius: $roundness
|
||||||
padding: $padding
|
padding: $padding
|
||||||
|
@@ -11,17 +11,6 @@ body
|
|||||||
max-width: 100%
|
max-width: 100%
|
||||||
min-width: auto
|
min-width: auto
|
||||||
|
|
||||||
.container
|
|
||||||
+media-xs
|
|
||||||
max-width: 100%
|
|
||||||
min-width: auto
|
|
||||||
padding:
|
|
||||||
left: 0
|
|
||||||
right: 0
|
|
||||||
|
|
||||||
&.box
|
|
||||||
+container-box
|
|
||||||
|
|
||||||
.page-content
|
.page-content
|
||||||
background-color: $white
|
background-color: $white
|
||||||
|
|
||||||
|
@@ -33,6 +33,7 @@
|
|||||||
|
|
||||||
&.card-deck-vertical
|
&.card-deck-vertical
|
||||||
@extend .flex-column
|
@extend .flex-column
|
||||||
|
@extend .text-truncate
|
||||||
flex-wrap: initial
|
flex-wrap: initial
|
||||||
|
|
||||||
.card
|
.card
|
||||||
@@ -51,6 +52,9 @@
|
|||||||
@extend .mr-2
|
@extend .mr-2
|
||||||
max-width: 120px
|
max-width: 120px
|
||||||
|
|
||||||
|
.card-title
|
||||||
|
@extend .text-truncate
|
||||||
|
|
||||||
&.asset
|
&.asset
|
||||||
&.free
|
&.free
|
||||||
&:after
|
&:after
|
||||||
@@ -64,6 +68,7 @@
|
|||||||
|
|
||||||
.card-body
|
.card-body
|
||||||
@extend .overflow-hidden
|
@extend .overflow-hidden
|
||||||
|
@extend .text-truncate
|
||||||
flex-basis: 0
|
flex-basis: 0
|
||||||
|
|
||||||
.card-padless
|
.card-padless
|
||||||
@@ -102,9 +107,9 @@
|
|||||||
|
|
||||||
.card-img-top
|
.card-img-top
|
||||||
background-color: $color-background
|
background-color: $color-background
|
||||||
background-size: cover
|
|
||||||
background-position: center
|
background-position: center
|
||||||
|
background-size: cover
|
||||||
|
object-fit: cover
|
||||||
|
|
||||||
$card-progress-height: 5px
|
$card-progress-height: 5px
|
||||||
.progress
|
.progress
|
||||||
|
@@ -1,7 +1,6 @@
|
|||||||
// Global, we want all menus to look like this.
|
// Global, we want all menus to look like this.
|
||||||
ul.dropdown-menu
|
ul.dropdown-menu
|
||||||
box-shadow: $dropdown-box-shadow
|
box-shadow: $dropdown-box-shadow
|
||||||
top: 95% // So there is less gap between the dropdown and the item.
|
|
||||||
|
|
||||||
> li
|
> li
|
||||||
&:first-child > a
|
&:first-child > a
|
||||||
|
@@ -8,9 +8,12 @@
|
|||||||
repeat: no-repeat
|
repeat: no-repeat
|
||||||
size: cover
|
size: cover
|
||||||
margin-bottom: 0
|
margin-bottom: 0
|
||||||
|
position: relative
|
||||||
|
word-break: break-word
|
||||||
|
|
||||||
|
+media-sm
|
||||||
padding-top: 10em
|
padding-top: 10em
|
||||||
padding-bottom: 10em
|
padding-bottom: 10em
|
||||||
position: relative
|
|
||||||
|
|
||||||
&:after
|
&:after
|
||||||
background-color: rgba(black, .5)
|
background-color: rgba(black, .5)
|
||||||
@@ -45,3 +48,9 @@
|
|||||||
|
|
||||||
&:hover
|
&:hover
|
||||||
text-decoration: none
|
text-decoration: none
|
||||||
|
|
||||||
|
.display-4
|
||||||
|
font-size: $h2-font-size
|
||||||
|
|
||||||
|
+media-sm
|
||||||
|
font-size: $display4-size
|
||||||
|
@@ -179,6 +179,8 @@ $nav-secondary-bar-size: -2px
|
|||||||
&:hover,
|
&:hover,
|
||||||
&.active
|
&.active
|
||||||
color: $primary
|
color: $primary
|
||||||
|
font-weight: initial
|
||||||
|
|
||||||
@extend .bg-white
|
@extend .bg-white
|
||||||
|
|
||||||
&:after
|
&:after
|
||||||
|
Reference in New Issue
Block a user