Last active
August 3, 2018 09:42
-
-
Save theotherdy/78566e7b04fcee4ecaf2b87304912bcb to your computer and use it in GitHub Desktop.
A dashboard view of Modules in Canvas v2: https://learntech.imsu.ox.ac.uk/blog/a-dashboard-view-of-modules-in-canvas-v2/
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* START - Styles for cards on Modules page */ | |
.ou-ModuleCard{ | |
box-sizing: border-box; | |
box-shadow: 0 2px 5px rgba(0,0,0,0.3); | |
border-radius: 6px; | |
overflow: hidden; | |
background: #fff; | |
width: 100%; | |
display: inline-block; | |
vertical-align: top; | |
margin: 0px auto 36px auto; | |
} | |
.ou-ModuleCard__header_hero_short { | |
box-sizing: border-box; | |
height: 100px; | |
border: 1px solid rgba(0,0,0,0.1); | |
padding: 25px 20px 0px 20px; | |
background-repeat: no-repeat; | |
background-size: cover; | |
} | |
.ou-ModuleCard__header_content { | |
box-sizing: border-box; | |
padding: 0px 18px 0px 18px; | |
background: #fff; | |
text-align: left; | |
} | |
.ou-ModuleCard__header-title { | |
transition: all 0.2s ease-out; | |
-webkit-transform: translate3d(0, 0, 0); | |
transform: translate3d(0, 0, 0); | |
padding: 18px 0px 18px 0px; | |
margin: 0 35px 0 0; | |
line-height: 1.3; | |
font-size: 14px; | |
color: #fff; | |
font-weight: bold; | |
} | |
.ou-drop-down-arrow { | |
float: right; | |
padding: 14px 0px 0px 0px; | |
} | |
.icon-mini-arrow-down { | |
color: var(--ic-brand-font-color-dark); | |
} | |
.ou-ModuleCard a { | |
text-decoration: none !important; | |
} | |
.ellipsis { | |
white-space: nowrap; | |
overflow: hidden; | |
text-overflow: ellipsis; | |
} | |
.ou-top_button { | |
margin-left: 10px; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment