openaire-theme/css/structure/shadow.css

37 lines
1.1 KiB
CSS
Raw Normal View History

:root {
/** Light Background */
2022-04-07 17:19:19 +02:00
--shadow-main: -15px -15px 20px rgba(255, 255, 255, 0.6), 15px 15px 20px rgba(0, 0, 0, 0.07);
--shadow-small: -5px -5px 15px rgba(255, 255, 255, 0.6), 5px 5px 15px rgba(0, 0, 0, 0.07);
--shadow-hover: -2px -2px 5px rgba(255, 255, 255, 0.6), 2px 2px 4px rgba(0, 0, 0, 0.07);
/** Dark Background*/
2022-04-07 20:26:10 +02:00
--shadow-main-dark: -15px -15px 20px rgb(255, 255, 255, 0.05), 15px 15px 20px rgba(0, 0, 0, 0.3);
--shadow-small-dark: -5px -5px 15px rgb(255, 255, 255, 0.05), 5px 5px 15px rgba(0, 0, 0, 0.3);
--shadow-hover-dark: -2px -2px 5px rgba(255, 255, 255, 0.05), 2px 2px 4px rgba(0, 0, 0, 0.3);
/** Modifiers */
2022-04-07 20:26:10 +02:00
--shadow-inset: inset -3px -3px 6px rgb(255, 255, 255, 0.9), inset 3px 3px 6px rgba(0, 0, 0, 0.1);
--shadow-default: 0 3px 6px 0 rgba(0, 0, 0, 0.1);
2022-04-15 23:51:07 +02:00
}
/***/
2022-04-15 23:51:07 +02:00
.dark {
--shadow-main: var(--shadow-main-dark);
--shadow-small: var(--shadow-small-dark);
--shadow-hover: var(--shadow-hover-dark);
}
.uk-box-shadow {
box-shadow: var(--shadow-main);
}
.uk-box-shadow-small {
box-shadow: var(--shadow-small);
}
.uk-box-shadow-inner {
box-shadow: var(--shadow-inset);
}
.uk-box-no-shadow {
box-shadow: none;
}