1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-23 22:50:09 +03:00

B #4794: Add scroll hints to confirm dialogs

This commit is contained in:
Carlos Martín 2016-09-21 12:52:26 +02:00
parent c2e6902ada
commit b78f7066c2

View File

@ -108,9 +108,23 @@
opacity: 0.25;
}
// Source: http://lea.verou.me/more-css-secrets
.scroll-shadows {
background:
linear-gradient(white 30%, hsla(0,0%,100%,0)),
linear-gradient(hsla(0,0%,100%,0), white 70%) bottom,
radial-gradient(at top, rgba(0,0,0,.2), transparent 70%),
radial-gradient(at bottom, rgba(0,0,0,.2), transparent 70%) bottom;
background-repeat: no-repeat;
background-size: 100% 40px, 100% 40px, 100% 14px, 100% 14px;
background-attachment: local, local, scroll, scroll;
}
// Dialogs
.confirm-resources-header {
@extend .scroll-shadows;
overflow-y: auto;
max-height: 6em;
}