framework7
Version:
Full featured mobile HTML framework for building iOS & Android apps
73 lines (62 loc) • 2.44 kB
text/less
:root {
--f7-notification-max-width: 568px;
--f7-notification-subtitle-text-transform: none;
--f7-notification-subtitle-line-height: 1.35;
--f7-notification-text-text-transform: none;
--f7-notification-text-font-weight: 400;
}
.ios-vars({
--f7-notification-margin: 8px;
--f7-notification-padding-horizontal: 16px;
--f7-notification-padding-vertical: 16px;
--f7-notification-border-radius: 24px;
--f7-notification-box-shadow: var(--f7-glass-shadow);
--f7-notification-icon-size: 28px;
--f7-notification-title-font-size: 14px;
--f7-notification-title-text-transform: none;
--f7-notification-title-line-height: 1.4;
--f7-notification-title-font-weight: bold;
--f7-notification-title-letter-spacing: 0.02em;
--f7-notification-title-right-font-size: 14px;
--f7-notification-subtitle-font-size: 14px;
--f7-notification-subtitle-font-weight: 600;
--f7-notification-text-font-size: 14px;
--f7-notification-text-line-height: 1.4;
--f7-notification-bg-color: var(--f7-glass-bg-color);
.light-vars({
--f7-notification-title-color: #000;
--f7-notification-title-right-color: rgba(0,0,0,0.45);
--f7-notification-subtitle-color: #000;
--f7-notification-text-color: #000;
});
.dark-vars({
--f7-notification-title-color: #fff;
--f7-notification-text-color: #fff;
--f7-notification-subtitle-color: #fff;
--f7-notification-title-right-color: rgba(255,255,255,0.55);
});
});
.md-vars({
--f7-notification-margin: 16px;
--f7-notification-padding-vertical: 20px;
--f7-notification-padding-horizontal: 16px;
--f7-notification-border-radius: 16px;
--f7-notification-box-shadow: none;
--f7-notification-icon-size: 24px;
--f7-notification-title-font-size: 16px;
--f7-notification-title-text-transform: none;
--f7-notification-title-line-height: 1.35;
--f7-notification-title-font-weight: 500;
--f7-notification-title-right-font-size: 12px;
--f7-notification-subtitle-font-size: 14px;
--f7-notification-subtitle-font-weight: 400;
--f7-notification-text-font-size: 14px;
--f7-notification-text-line-height: 1.35;
});
.md-color-vars({
--f7-notification-title-color: var(--f7-md-on-surface);
--f7-notification-bg-color: var(--f7-md-surface-5);
--f7-notification-text-color: var(--f7-md-on-surface-variant);
--f7-notification-title-right-color: var(--f7-md-on-surface-variant);
--f7-notification-subtitle-color: var(--f7-md-on-surface);
});