1 В избранное 0 Ответвления 0

OSCHINA-MIRROR/open-hand-choerodon-ui

Присоединиться к Gitlife
Откройте для себя и примите участие в публичных проектах с открытым исходным кодом с участием более 10 миллионов разработчиков. Приватные репозитории также полностью бесплатны :)
Присоединиться бесплатно
Клонировать/Скачать
progress-dot.less 1.8 КБ
Копировать Редактировать Исходные данные Просмотреть построчно История
LiarYe Отправлено 2 лет назад bbe0f0f
.@{steps-prefix-cls}-dot {
.@{steps-prefix-cls}-item {
&-title {
line-height: @line-height-base;
}
&-tail {
top: 0.02rem;
width: 100%;
margin: 0 0 0 calc(@steps-desciption-max-width / 2);
padding: 0;
&::after {
width: ~'calc(100% - .2rem)';
height: 0.03rem;
margin-left: 0.12rem;
}
}
&:first-child .@{steps-prefix-cls}-icon-dot {
left: 0.02rem;
}
&-icon {
width: @steps-dot-size;
height: @steps-dot-size;
margin-left: 0.67rem;
padding-right: 0;
line-height: @steps-dot-size;
background: transparent;
border: 0;
.@{steps-prefix-cls}-icon-dot {
position: relative;
float: left;
width: 100%;
height: 100%;
border-radius: 1rem;
transition: all @animation-duration-slow;
/* expand hover area */
&::after {
position: absolute;
top: -0.12rem;
left: -0.26rem;
width: 0.6rem;
height: 0.32rem;
background: rgba(0, 0, 0, 0.001);
content: '';
}
}
}
&-process .@{steps-prefix-cls}-item-icon {
width: @steps-current-dot-size;
height: @steps-current-dot-size;
line-height: @steps-current-dot-size;
.@{steps-prefix-cls}-icon-dot {
top: -0.01rem;
}
}
}
}
.@{steps-prefix-cls}-vertical.@{steps-prefix-cls}-dot {
.@{steps-prefix-cls}-item-icon {
margin-top: 0.08rem;
margin-left: 0;
}
.@{steps-prefix-cls}-item-tail {
top: 0.02rem;
left: -0.09rem;
margin: 0;
padding: 0.22rem 0 0.04rem;
}
.@{steps-prefix-cls}-item:first-child .@{steps-prefix-cls}-icon-dot {
left: 0;
}
.@{steps-prefix-cls}-item-process .@{steps-prefix-cls}-icon-dot {
left: -0.02rem;
}
}

Опубликовать ( 0 )

Вы можете оставить комментарий после Вход в систему

1
https://gitlife.ru/oschina-mirror/open-hand-choerodon-ui.git
git@gitlife.ru:oschina-mirror/open-hand-choerodon-ui.git
oschina-mirror
open-hand-choerodon-ui
open-hand-choerodon-ui
1.6.4