framework7
Version:
Full featured mobile HTML framework for building iOS & Android apps
96 lines • 4.12 kB
text/less
:root {
--f7-timeline-horizontal-date-height: 34px;
--f7-timeline-year-height: 24px;
--f7-timeline-year-font-weight: inherit;
--f7-timeline-month-height: 24px;
--f7-timeline-month-font-size: inherit;
--f7-timeline-month-font-weight: inherit;
--f7-timeline-item-inner-bg-color: #fff;
--f7-timeline-item-text-font-weight: inherit;
--f7-timeline-item-subtitle-font-weight: inherit;
.theme-dark, &.theme-dark {
--f7-timeline-item-inner-bg-color: #1c1c1d;
--f7-timeline-horizontal-item-border-color: #282829;
--f7-timeline-horizontal-item-date-border-color: #282829;
}
}
.ios-vars({
--f7-timeline-padding-horizontal: 15px;
--f7-timeline-margin-vertical: 35px;
--f7-timeline-divider-margin-horizontal: 15px;
--f7-timeline-inner-block-margin-vertical: 15px;
--f7-timeline-item-inner-border-radius: 7px;
--f7-timeline-item-inner-box-shadow: none;
--f7-timeline-item-time-font-size: 13px;
--f7-timeline-item-time-text-color: #6d6d72;
--f7-timeline-item-title-font-size: 17px;
--f7-timeline-item-title-line-height: inherit;
--f7-timeline-item-title-font-weight: 600;
--f7-timeline-item-subtitle-font-size: 15px;
--f7-timeline-item-subtitle-line-height: inherit;
--f7-timeline-item-text-font-size: inherit;
--f7-timeline-item-text-color: inherit;
--f7-timeline-item-text-line-height: inherit;
--f7-timeline-year-font-size: 16px;
--f7-timeline-horizontal-item-padding: 10px;
--f7-timeline-horizontal-item-border-color: #c4c4c4;
--f7-timeline-horizontal-item-date-border-color: #c4c4c4;
--f7-timeline-horizontal-item-date-shadow-image: none;
.theme-dark, &.theme-dark {
--f7-timeline-item-time-text-color: #8E8E93;
}
});
.md-vars({
--f7-timeline-padding-horizontal: 16px;
--f7-timeline-margin-vertical: 32px;
--f7-timeline-divider-margin-horizontal: 16px;
--f7-timeline-inner-block-margin-vertical: 16px;
--f7-timeline-item-inner-border-radius: 4px;
--f7-timeline-item-inner-box-shadow: var(--f7-elevation-1);
--f7-timeline-item-time-font-size: 13px;
--f7-timeline-item-time-text-color: rgba(0, 0, 0, 0.54);
--f7-timeline-item-title-font-size: 16px;
--f7-timeline-item-title-line-height: inherit;
--f7-timeline-item-title-font-weight: 400;
--f7-timeline-item-subtitle-font-size: inherit;
--f7-timeline-item-subtitle-line-height: inherit;
--f7-timeline-item-text-font-size: inherit;
--f7-timeline-item-text-line-height: inherit;
--f7-timeline-item-text-color: inherit;
--f7-timeline-year-font-size: 16px;
--f7-timeline-horizontal-item-padding: 12px;
--f7-timeline-horizontal-item-border-color: rgba(0,0,0,.12);
--f7-timeline-horizontal-item-date-border-color: transparent;
--f7-timeline-horizontal-item-date-shadow-image: var(--f7-bars-shadow-bottom-image);
.theme-dark, &.theme-dark {
--f7-timeline-item-time-text-color: rgba(255,255,255,0.54);
}
});
.aurora-vars({
--f7-timeline-padding-horizontal: 10px;
--f7-timeline-margin-vertical: 15px;
--f7-timeline-divider-margin-horizontal: 15px;
--f7-timeline-inner-block-margin-vertical: 15px;
--f7-timeline-item-inner-border-radius: 4px;
--f7-timeline-item-inner-box-shadow: 0px 1px 2px rgba(0,0,0,0.15);
--f7-timeline-item-time-font-size: 12px;
--f7-timeline-item-time-text-color: rgba(0,0,0,0.5);
--f7-timeline-item-title-font-size: 14px;
--f7-timeline-item-title-line-height: 1.3;
--f7-timeline-item-title-font-weight: 600;
--f7-timeline-item-subtitle-font-size: 14px;
--f7-timeline-item-subtitle-line-height: 1.3;
--f7-timeline-item-text-color: rgba(0,0,0,0.6);
--f7-timeline-item-text-font-size: 12px;
--f7-timeline-item-text-line-height: 1.33;
--f7-timeline-year-font-size: 14px;
--f7-timeline-year-font-weight: 500;
--f7-timeline-horizontal-item-padding: 10px;
--f7-timeline-horizontal-item-border-color: rgba(0,0,0,0.2);
--f7-timeline-horizontal-item-date-border-color: rgba(0,0,0,0.2);
--f7-timeline-horizontal-item-date-shadow-image: none;
.theme-dark, &.theme-dark {
--f7-timeline-item-time-text-color: rgba(255,255,255,0.52);
--f7-timeline-item-text-color: rgba(255,255,255,0.52);
}
});