UNPKG

acud

Version:

acg react 组件库

918 lines (917 loc) • 34 kB
/* color */ /* 默认颜色 */ /* 通用-icon */ /* 标签 */ /* 默认颜色 */ /* 其他颜色 */ /* 通用 */ /* 水平 */ /* 垂直 */ /* 序号水平 */ /* 序号垂直 */ .acud-steps { margin: 0; padding: 0; display: flex; width: 100%; font-size: 0; text-align: initial; } .acud-steps-item { position: relative; display: inline-block; flex: 1; overflow: hidden; vertical-align: top; } .acud-steps-item-container { outline: none; } .acud-steps-item:last-child { flex: none; } .acud-steps-item:last-child > .acud-steps-item-container > .acud-steps-item-tail, .acud-steps-item:last-child > .acud-steps-item-container > .acud-steps-item-content > .acud-steps-item-title::after { display: none; } .acud-steps-item-icon, .acud-steps-item-content { display: inline-block; vertical-align: top; } .acud-steps-item-icon { width: 24px; height: 24px; margin: 0 8px 0 0; font-size: 14px; font-family: -apple-system, BlinkMacSystemFont, "SF Pro SC", "SF Pro Text", "Helvetica Neue", Helvetica, "PingFang SC", Roboto, 'Arial', 'microsoft yahei ui', "Microsoft YaHei", SimSun, sans-serif; text-align: center; border: 1px solid #84868C; border-radius: 24px; transition: background-color 0.3s, border-color 0.3s; position: relative; color: #B8BABF; background-color: #FFFFFF; border-color: #E8E9EB; } .acud-steps-item-icon .acud-steps-icon, .acud-steps-item-icon svg { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); line-height: 24px; } .acud-steps-item-icon:hover { color: #B8BABF; } .acud-steps-item-icon:focus, .acud-steps-item-icon:active { color: #FFFFFF; } .acud-steps-item-icon[disabled], .acud-steps-item-icon[aria-disabled="true"], .acud-steps-item-icon[disabled]:hover, .acud-steps-item-icon[aria-disabled="true"]:hover, .acud-steps-item-icon[disabled]:focus, .acud-steps-item-icon[aria-disabled="true"]:focus, .acud-steps-item-icon[disabled]:active, .acud-steps-item-icon[aria-disabled="true"]:active { color: transparent; } .acud-steps-item-icon:hover { background-color: #FFFFFF; } .acud-steps-item-icon:focus, .acud-steps-item-icon:active { background-color: #2468F2; } .acud-steps-item-icon[disabled], .acud-steps-item-icon[aria-disabled="true"], .acud-steps-item-icon[disabled]:hover, .acud-steps-item-icon[aria-disabled="true"]:hover, .acud-steps-item-icon[disabled]:focus, .acud-steps-item-icon[aria-disabled="true"]:focus, .acud-steps-item-icon[disabled]:active, .acud-steps-item-icon[aria-disabled="true"]:active { background-color: transparent; } .acud-steps-item-icon:hover { border-color: #E8E9EB; } .acud-steps-item-icon:focus, .acud-steps-item-icon:active { border-color: #2468F2; } .acud-steps-item-icon[disabled], .acud-steps-item-icon[aria-disabled="true"], .acud-steps-item-icon[disabled]:hover, .acud-steps-item-icon[aria-disabled="true"]:hover, .acud-steps-item-icon[disabled]:focus, .acud-steps-item-icon[aria-disabled="true"]:focus, .acud-steps-item-icon[disabled]:active, .acud-steps-item-icon[aria-disabled="true"]:active { border-color: transparent; } .acud-steps-item-tail { position: absolute; top: 12px; left: 0; width: 100%; padding: 0 10px; } .acud-steps-item-tail::after { display: inline-block; width: 100%; height: 1px; background: #E8E9EB; border-radius: 1px; transition: background 0.3s; content: ''; } .acud-steps-item-title { position: relative; display: inline-block; padding-right: 8px; font-size: 14px; line-height: 24px; font-weight: 400; color: #84868C; } .acud-steps-item-title:hover { color: #84868C; } .acud-steps-item-title:focus, .acud-steps-item-title:active { color: #151B26; } .acud-steps-item-title[disabled], .acud-steps-item-title[aria-disabled="true"], .acud-steps-item-title[disabled]:hover, .acud-steps-item-title[aria-disabled="true"]:hover, .acud-steps-item-title[disabled]:focus, .acud-steps-item-title[aria-disabled="true"]:focus, .acud-steps-item-title[disabled]:active, .acud-steps-item-title[aria-disabled="true"]:active { color: transparent; } .acud-steps-item-title::after { position: absolute; top: 12px; left: 100%; display: block; width: 9999px; height: 1px; background: #E8E9EB; content: ''; } .acud-steps-item-subtitle { display: inline; margin-left: 8px; color: #84868C; font-weight: 200; font-size: 12px; } .acud-steps-item-description { font-size: 12px; margin-top: 4px; font-weight: 400; } .acud-steps-item-process .acud-steps-item-icon { background-color: #FFFFFF; border-color: #2468F2; } .acud-steps-item-process .acud-steps-item-icon > .acud-steps-icon { color: #2468F2; } .acud-steps-item-process .acud-steps-item-icon > .acud-steps-icon .acud-steps-icon-dot { background: #2468F2; } .acud-steps-item-process > .acud-steps-item-container > .acud-steps-item-content > .acud-steps-item-title { color: #151B26; } .acud-steps-item-process > .acud-steps-item-container > .acud-steps-item-content > .acud-steps-item-title::after { background-color: #E8E9EB; } .acud-steps-item-process > .acud-steps-item-container > .acud-steps-item-content > .acud-steps-item-description { color: #84868C; } .acud-steps-item-process > .acud-steps-item-container > .acud-steps-item-tail::after { background-color: #E8E9EB; } .acud-steps-item-wait .acud-steps-item-icon { background-color: #FFFFFF; border-color: #E8E9EB; } .acud-steps-item-wait .acud-steps-item-icon > .acud-steps-icon { color: #84868C; } .acud-steps-item-wait .acud-steps-item-icon > .acud-steps-icon .acud-steps-icon-dot { background: #84868C; } .acud-steps-item-wait > .acud-steps-item-container > .acud-steps-item-content > .acud-steps-item-title { color: #84868C; } .acud-steps-item-wait > .acud-steps-item-container > .acud-steps-item-content > .acud-steps-item-title::after { background-color: #E8E9EB; } .acud-steps-item-wait > .acud-steps-item-container > .acud-steps-item-content > .acud-steps-item-description { color: #84868C; } .acud-steps-item-wait > .acud-steps-item-container > .acud-steps-item-tail::after { background-color: #E8E9EB; } .acud-steps-item-wait > .acud-steps-item-container > .acud-steps-item-icon .acud-steps-icon { color: #B8BABF; } .acud-steps-item-process > .acud-steps-item-container > .acud-steps-item-icon { background: #2468F2; } .acud-steps-item-process > .acud-steps-item-container > .acud-steps-item-icon .acud-steps-icon { color: #FFFFFF; } .acud-steps-item-process > .acud-steps-item-container > .acud-steps-item-title { font-weight: 500; } .acud-steps-item-finish > .acud-steps-item-container > .acud-steps-item-icon .acud-steps-icon { color: #2468F2; } .acud-steps-item-finish .acud-steps-item-icon { background-color: #FFFFFF; border-color: #2468F2; } .acud-steps-item-finish .acud-steps-item-icon > .acud-steps-icon { color: #2468F2; } .acud-steps-item-finish .acud-steps-item-icon > .acud-steps-icon .acud-steps-icon-dot { background: #2468F2; } .acud-steps-item-finish > .acud-steps-item-container > .acud-steps-item-content > .acud-steps-item-title { color: #151B26; } .acud-steps-item-finish > .acud-steps-item-container > .acud-steps-item-content > .acud-steps-item-title::after { background-color: #E8E9EB; } .acud-steps-item-finish > .acud-steps-item-container > .acud-steps-item-content > .acud-steps-item-description { color: #84868C; } .acud-steps-item-finish > .acud-steps-item-container > .acud-steps-item-tail::after { background-color: #E8E9EB; } .acud-steps-item-error .acud-steps-item-icon { background-color: #FFFFFF; border-color: #F33E3E; } .acud-steps-item-error .acud-steps-item-icon > .acud-steps-icon { color: #FFFFFF; } .acud-steps-item-error .acud-steps-item-icon > .acud-steps-icon .acud-steps-icon-dot { background: #FFFFFF; } .acud-steps-item-error > .acud-steps-item-container > .acud-steps-item-content > .acud-steps-item-title { color: #151B26; } .acud-steps-item-error > .acud-steps-item-container > .acud-steps-item-content > .acud-steps-item-title::after { background-color: #E8E9EB; } .acud-steps-item-error > .acud-steps-item-container > .acud-steps-item-content > .acud-steps-item-description { color: #84868C; } .acud-steps-item-error > .acud-steps-item-container > .acud-steps-item-tail::after { background-color: #E8E9EB; } .acud-steps-item.acud-steps-next-error .acud-steps-item-title::after { background: #FFFFFF; } .acud-steps-item-error > .acud-steps-item-container > .acud-steps-item-icon .acud-steps-icon { color: #F33E3E; } .acud-steps-item-disabled { cursor: not-allowed; } .acud-steps .acud-steps-item:not(.acud-steps-item-active) > .acud-steps-item-container[role='button'] { cursor: pointer; } .acud-steps .acud-steps-item:not(.acud-steps-item-active) > .acud-steps-item-container[role='button'] .acud-steps-item-title, .acud-steps .acud-steps-item:not(.acud-steps-item-active) > .acud-steps-item-container[role='button'] .acud-steps-item-subtitle, .acud-steps .acud-steps-item:not(.acud-steps-item-active) > .acud-steps-item-container[role='button'] .acud-steps-item-description, .acud-steps .acud-steps-item:not(.acud-steps-item-active) > .acud-steps-item-container[role='button'] .acud-steps-item-icon .acud-steps-icon { transition: color 0.3s; } .acud-steps .acud-steps-item:not(.acud-steps-item-active) > .acud-steps-item-container[role='button']:hover .acud-steps-item-title, .acud-steps .acud-steps-item:not(.acud-steps-item-active) > .acud-steps-item-container[role='button']:hover .acud-steps-item-subtitle { color: #84868C; } .acud-steps .acud-steps-item:not(.acud-steps-item-active) > .acud-steps-item-container[role='button']:hover .acud-steps-item-title:hover, .acud-steps .acud-steps-item:not(.acud-steps-item-active) > .acud-steps-item-container[role='button']:hover .acud-steps-item-subtitle:hover { color: #84868C; } .acud-steps .acud-steps-item:not(.acud-steps-item-active) > .acud-steps-item-container[role='button']:hover .acud-steps-item-title:focus, .acud-steps .acud-steps-item:not(.acud-steps-item-active) > .acud-steps-item-container[role='button']:hover .acud-steps-item-subtitle:focus, .acud-steps .acud-steps-item:not(.acud-steps-item-active) > .acud-steps-item-container[role='button']:hover .acud-steps-item-title:active, .acud-steps .acud-steps-item:not(.acud-steps-item-active) > .acud-steps-item-container[role='button']:hover .acud-steps-item-subtitle:active { color: #151B26; } .acud-steps .acud-steps-item:not(.acud-steps-item-active) > .acud-steps-item-container[role='button']:hover .acud-steps-item-title[disabled], .acud-steps .acud-steps-item:not(.acud-steps-item-active) > .acud-steps-item-container[role='button']:hover .acud-steps-item-subtitle[disabled], .acud-steps .acud-steps-item:not(.acud-steps-item-active) > .acud-steps-item-container[role='button']:hover .acud-steps-item-title[aria-disabled="true"], .acud-steps .acud-steps-item:not(.acud-steps-item-active) > .acud-steps-item-container[role='button']:hover .acud-steps-item-subtitle[aria-disabled="true"], .acud-steps .acud-steps-item:not(.acud-steps-item-active) > .acud-steps-item-container[role='button']:hover .acud-steps-item-title[disabled]:hover, .acud-steps .acud-steps-item:not(.acud-steps-item-active) > .acud-steps-item-container[role='button']:hover .acud-steps-item-subtitle[disabled]:hover, .acud-steps .acud-steps-item:not(.acud-steps-item-active) > .acud-steps-item-container[role='button']:hover .acud-steps-item-title[aria-disabled="true"]:hover, .acud-steps .acud-steps-item:not(.acud-steps-item-active) > .acud-steps-item-container[role='button']:hover .acud-steps-item-subtitle[aria-disabled="true"]:hover, .acud-steps .acud-steps-item:not(.acud-steps-item-active) > .acud-steps-item-container[role='button']:hover .acud-steps-item-title[disabled]:focus, .acud-steps .acud-steps-item:not(.acud-steps-item-active) > .acud-steps-item-container[role='button']:hover .acud-steps-item-subtitle[disabled]:focus, .acud-steps .acud-steps-item:not(.acud-steps-item-active) > .acud-steps-item-container[role='button']:hover .acud-steps-item-title[aria-disabled="true"]:focus, .acud-steps .acud-steps-item:not(.acud-steps-item-active) > .acud-steps-item-container[role='button']:hover .acud-steps-item-subtitle[aria-disabled="true"]:focus, .acud-steps .acud-steps-item:not(.acud-steps-item-active) > .acud-steps-item-container[role='button']:hover .acud-steps-item-title[disabled]:active, .acud-steps .acud-steps-item:not(.acud-steps-item-active) > .acud-steps-item-container[role='button']:hover .acud-steps-item-subtitle[disabled]:active, .acud-steps .acud-steps-item:not(.acud-steps-item-active) > .acud-steps-item-container[role='button']:hover .acud-steps-item-title[aria-disabled="true"]:active, .acud-steps .acud-steps-item:not(.acud-steps-item-active) > .acud-steps-item-container[role='button']:hover .acud-steps-item-subtitle[aria-disabled="true"]:active { color: transparent; } .acud-steps .acud-steps-item:not(.acud-steps-item-active) > .acud-steps-item-container[role='button']:hover .acud-steps-item-icon { background-color: #FFFFFF; border-color: #E8E9EB; } .acud-steps .acud-steps-item:not(.acud-steps-item-active) > .acud-steps-item-container[role='button']:hover .acud-steps-item-icon:hover { background-color: #FFFFFF; } .acud-steps .acud-steps-item:not(.acud-steps-item-active) > .acud-steps-item-container[role='button']:hover .acud-steps-item-icon:focus, .acud-steps .acud-steps-item:not(.acud-steps-item-active) > .acud-steps-item-container[role='button']:hover .acud-steps-item-icon:active { background-color: #2468F2; } .acud-steps .acud-steps-item:not(.acud-steps-item-active) > .acud-steps-item-container[role='button']:hover .acud-steps-item-icon[disabled], .acud-steps .acud-steps-item:not(.acud-steps-item-active) > .acud-steps-item-container[role='button']:hover .acud-steps-item-icon[aria-disabled="true"], .acud-steps .acud-steps-item:not(.acud-steps-item-active) > .acud-steps-item-container[role='button']:hover .acud-steps-item-icon[disabled]:hover, .acud-steps .acud-steps-item:not(.acud-steps-item-active) > .acud-steps-item-container[role='button']:hover .acud-steps-item-icon[aria-disabled="true"]:hover, .acud-steps .acud-steps-item:not(.acud-steps-item-active) > .acud-steps-item-container[role='button']:hover .acud-steps-item-icon[disabled]:focus, .acud-steps .acud-steps-item:not(.acud-steps-item-active) > .acud-steps-item-container[role='button']:hover .acud-steps-item-icon[aria-disabled="true"]:focus, .acud-steps .acud-steps-item:not(.acud-steps-item-active) > .acud-steps-item-container[role='button']:hover .acud-steps-item-icon[disabled]:active, .acud-steps .acud-steps-item:not(.acud-steps-item-active) > .acud-steps-item-container[role='button']:hover .acud-steps-item-icon[aria-disabled="true"]:active { background-color: transparent; } .acud-steps .acud-steps-item:not(.acud-steps-item-active) > .acud-steps-item-container[role='button']:hover .acud-steps-item-icon:hover { border-color: #E8E9EB; } .acud-steps .acud-steps-item:not(.acud-steps-item-active) > .acud-steps-item-container[role='button']:hover .acud-steps-item-icon:focus, .acud-steps .acud-steps-item:not(.acud-steps-item-active) > .acud-steps-item-container[role='button']:hover .acud-steps-item-icon:active { border-color: #2468F2; } .acud-steps .acud-steps-item:not(.acud-steps-item-active) > .acud-steps-item-container[role='button']:hover .acud-steps-item-icon[disabled], .acud-steps .acud-steps-item:not(.acud-steps-item-active) > .acud-steps-item-container[role='button']:hover .acud-steps-item-icon[aria-disabled="true"], .acud-steps .acud-steps-item:not(.acud-steps-item-active) > .acud-steps-item-container[role='button']:hover .acud-steps-item-icon[disabled]:hover, .acud-steps .acud-steps-item:not(.acud-steps-item-active) > .acud-steps-item-container[role='button']:hover .acud-steps-item-icon[aria-disabled="true"]:hover, .acud-steps .acud-steps-item:not(.acud-steps-item-active) > .acud-steps-item-container[role='button']:hover .acud-steps-item-icon[disabled]:focus, .acud-steps .acud-steps-item:not(.acud-steps-item-active) > .acud-steps-item-container[role='button']:hover .acud-steps-item-icon[aria-disabled="true"]:focus, .acud-steps .acud-steps-item:not(.acud-steps-item-active) > .acud-steps-item-container[role='button']:hover .acud-steps-item-icon[disabled]:active, .acud-steps .acud-steps-item:not(.acud-steps-item-active) > .acud-steps-item-container[role='button']:hover .acud-steps-item-icon[aria-disabled="true"]:active { border-color: transparent; } .acud-steps .acud-steps-item:not(.acud-steps-item-active) > .acud-steps-item-container[role='button']:hover .acud-steps-item-icon .acud-steps-icon { color: #B8BABF; } .acud-steps .acud-steps-item:not(.acud-steps-item-active) > .acud-steps-item-container[role='button']:hover .acud-steps-item-icon .acud-steps-icon:hover { color: #B8BABF; } .acud-steps .acud-steps-item:not(.acud-steps-item-active) > .acud-steps-item-container[role='button']:hover .acud-steps-item-icon .acud-steps-icon:focus, .acud-steps .acud-steps-item:not(.acud-steps-item-active) > .acud-steps-item-container[role='button']:hover .acud-steps-item-icon .acud-steps-icon:active { color: #FFFFFF; } .acud-steps .acud-steps-item:not(.acud-steps-item-active) > .acud-steps-item-container[role='button']:hover .acud-steps-item-icon .acud-steps-icon[disabled], .acud-steps .acud-steps-item:not(.acud-steps-item-active) > .acud-steps-item-container[role='button']:hover .acud-steps-item-icon .acud-steps-icon[aria-disabled="true"], .acud-steps .acud-steps-item:not(.acud-steps-item-active) > .acud-steps-item-container[role='button']:hover .acud-steps-item-icon .acud-steps-icon[disabled]:hover, .acud-steps .acud-steps-item:not(.acud-steps-item-active) > .acud-steps-item-container[role='button']:hover .acud-steps-item-icon .acud-steps-icon[aria-disabled="true"]:hover, .acud-steps .acud-steps-item:not(.acud-steps-item-active) > .acud-steps-item-container[role='button']:hover .acud-steps-item-icon .acud-steps-icon[disabled]:focus, .acud-steps .acud-steps-item:not(.acud-steps-item-active) > .acud-steps-item-container[role='button']:hover .acud-steps-item-icon .acud-steps-icon[aria-disabled="true"]:focus, .acud-steps .acud-steps-item:not(.acud-steps-item-active) > .acud-steps-item-container[role='button']:hover .acud-steps-item-icon .acud-steps-icon[disabled]:active, .acud-steps .acud-steps-item:not(.acud-steps-item-active) > .acud-steps-item-container[role='button']:hover .acud-steps-item-icon .acud-steps-icon[aria-disabled="true"]:active { color: transparent; } .acud-steps-horizontal:not(.acud-steps-label-vertical) .acud-steps-item { padding-left: 8px; white-space: nowrap; } .acud-steps-horizontal:not(.acud-steps-label-vertical) .acud-steps-item:first-child { padding-left: 0; } .acud-steps-horizontal:not(.acud-steps-label-vertical) .acud-steps-item:last-child .acud-steps-item-title { padding-right: 0; } .acud-steps-horizontal:not(.acud-steps-label-vertical) .acud-steps-item-tail { display: none; } .acud-steps-horizontal:not(.acud-steps-label-vertical) .acud-steps-item-description { max-width: 140px; white-space: normal; } .acud-steps-item-custom > .acud-steps-item-container > .acud-steps-item-icon { height: auto; background: none; border: 0; } .acud-steps-item-custom > .acud-steps-item-container > .acud-steps-item-icon > .acud-steps-icon { top: 0px; left: 0.5px; width: 24px; height: 24px; font-size: 24px; line-height: 24px; } .acud-steps-item-custom.acud-steps-item-process .acud-steps-item-icon > .acud-steps-icon { color: #2468F2; } .acud-steps-item-custom.acud-steps-item-finish .acud-steps-item-icon > .acud-steps-icon { color: #2468F2; } .acud-steps:not(.acud-steps-vertical) .acud-steps-item-custom .acud-steps-item-icon { width: auto; background: none; } .acud-steps-small.acud-steps-horizontal:not(.acud-steps-label-vertical) .acud-steps-item { padding-left: 12px; } .acud-steps-small.acud-steps-horizontal:not(.acud-steps-label-vertical) .acud-steps-item:first-child { padding-left: 0; } .acud-steps-small .acud-steps-item-icon { width: 20px; height: 20px; margin: 0 8px 0 0; font-size: 12px; border-radius: 20px; position: relative; } .acud-steps-small .acud-steps-item-icon .acud-steps-icon, .acud-steps-small .acud-steps-item-icon svg { line-height: 20px; } .acud-steps-small .acud-steps-item-error .acud-steps-icon { top: 0; } .acud-steps-small.acud-steps-dot .acud-steps-item-process .acud-steps-item-icon { background-color: #2468F2; } .acud-steps-small .acud-steps-item-title { padding-right: 12px; font-size: 12px; line-height: 20px; } .acud-steps-small .acud-steps-item-title::after { top: 10px; } .acud-steps-small .acud-steps-item-description { color: #B8BABF; font-size: 12px; } .acud-steps-small .acud-steps-item-tail { top: 8px; } .acud-steps-small .acud-steps-item-custom .acud-steps-item-icon { width: inherit; height: inherit; line-height: inherit; background: none; border: 0; border-radius: 0; } .acud-steps-small .acud-steps-item-custom .acud-steps-item-icon > .acud-steps-icon { font-size: 20px; line-height: 20px; transform: none; } .acud-steps-vertical { display: flex; flex-direction: column; } .acud-steps-vertical .acud-steps-item-error .acud-steps-icon { top: 0; } .acud-steps-vertical > .acud-steps-item { display: block; flex: 1 0 auto; padding-left: 0; overflow: visible; } .acud-steps-vertical > .acud-steps-item .acud-steps-item-icon { float: left; margin-right: 8px; } .acud-steps-vertical > .acud-steps-item .acud-steps-item-content { display: block; min-height: 48px; overflow: hidden; } .acud-steps-vertical > .acud-steps-item .acud-steps-item-title { line-height: 24px; } .acud-steps-vertical > .acud-steps-item .acud-steps-item-description { padding-bottom: 30px; margin-top: 8px; line-height: initial; } .acud-steps-vertical > .acud-steps-item > .acud-steps-item-container > .acud-steps-item-tail { position: absolute; top: 0; left: 12px; width: 1px; height: 100%; padding: 32px 0 8px; } .acud-steps-vertical > .acud-steps-item > .acud-steps-item-container > .acud-steps-item-tail::after { width: 1px; height: 100%; } .acud-steps-vertical > .acud-steps-item:not(:last-child) > .acud-steps-item-container > .acud-steps-item-tail { display: block; } .acud-steps-vertical > .acud-steps-item > .acud-steps-item-container > .acud-steps-item-content > .acud-steps-item-title::after { display: none; } .acud-steps-vertical.acud-steps-small .acud-steps-item-container .acud-steps-item-tail { position: absolute; top: 0; left: 10px; padding: 26px 0 6px; } .acud-steps-vertical.acud-steps-small .acud-steps-item-container .acud-steps-item-title { line-height: 20px; } .acud-steps-label-vertical .acud-steps-item { overflow: visible; } .acud-steps-label-vertical .acud-steps-item-tail { margin-left: 52px; padding: 3.5px 24px; top: 8px; } .acud-steps-label-vertical .acud-steps-item-content { display: block; width: 108px; margin-top: 8px; text-align: center; } .acud-steps-label-vertical .acud-steps-item-icon { display: inline-block; margin-left: 42px; } .acud-steps-label-vertical .acud-steps-item-title { padding-right: 0; padding-left: 0; } .acud-steps-label-vertical .acud-steps-item-title::after { display: none; } .acud-steps-label-vertical .acud-steps-item-subtitle { display: block; margin-bottom: 4px; margin-left: 0; line-height: 1.5715; } .acud-steps-label-vertical.acud-steps-small:not(.acud-steps-dot) .acud-steps-item-icon { margin-left: 46px; } .acud-steps-dot .acud-steps-item-title, .acud-steps-dot.acud-steps-small .acud-steps-item-title { line-height: 1.5715; } .acud-steps-dot .acud-steps-item-tail, .acud-steps-dot.acud-steps-small .acud-steps-item-tail { top: 3px; width: 100%; margin: 0 0 0 70px; padding: 0; } .acud-steps-dot .acud-steps-item-tail::after, .acud-steps-dot.acud-steps-small .acud-steps-item-tail::after { width: calc(100% - 20px); height: 1px; margin-left: 12px; } .acud-steps-dot .acud-steps-item:first-child .acud-steps-icon-dot, .acud-steps-dot.acud-steps-small .acud-steps-item:first-child .acud-steps-icon-dot { left: 2px; } .acud-steps-dot .acud-steps-item-icon, .acud-steps-dot.acud-steps-small .acud-steps-item-icon { width: 8px; height: 8px; margin-left: 67px; padding-right: 0; line-height: 8px; background: transparent; border: 0; } .acud-steps-dot .acud-steps-item-icon .acud-steps-icon-dot, .acud-steps-dot.acud-steps-small .acud-steps-item-icon .acud-steps-icon-dot { position: relative; float: left; width: 100%; height: 100%; border-radius: 100px; transition: all 0.3s; /* expand hover area */ } .acud-steps-dot .acud-steps-item-icon .acud-steps-icon-dot::after, .acud-steps-dot.acud-steps-small .acud-steps-item-icon .acud-steps-icon-dot::after { position: absolute; top: -12px; left: -26px; width: 60px; height: 32px; background: rgba(0, 0, 0, 0.001); content: ''; } .acud-steps-dot .acud-steps-item-content, .acud-steps-dot.acud-steps-small .acud-steps-item-content { width: 140px; } .acud-steps-dot .acud-steps-item-wait .acud-steps-item-icon, .acud-steps-dot.acud-steps-small .acud-steps-item-wait .acud-steps-item-icon { background: #E8E9EB; } .acud-steps-dot .acud-steps-item-finish .acud-steps-item-icon, .acud-steps-dot.acud-steps-small .acud-steps-item-finish .acud-steps-item-icon { border: 1px solid #2468F2; } .acud-steps-dot .acud-steps-item-error .acud-steps-item-icon, .acud-steps-dot.acud-steps-small .acud-steps-item-error .acud-steps-item-icon { background: #F33E3E; } .acud-steps-dot .acud-steps-item-process .acud-steps-item-icon, .acud-steps-dot.acud-steps-small .acud-steps-item-process .acud-steps-item-icon { position: relative; top: -1px; line-height: 10px; } .acud-steps-dot .acud-steps-item-process .acud-steps-icon:first-child .acud-steps-icon-dot, .acud-steps-dot.acud-steps-small .acud-steps-item-process .acud-steps-icon:first-child .acud-steps-icon-dot { left: 0; } .acud-steps-dot .acud-steps-item-error .acud-steps-icon .acud-steps-icon-dot, .acud-steps-dot.acud-steps-small .acud-steps-item-error .acud-steps-icon .acud-steps-icon-dot { background-color: #F33E3E; } .acud-steps-vertical.acud-steps-dot .acud-steps-item-icon { margin-top: 8px; margin-left: 0; } .acud-steps-vertical.acud-steps-dot .acud-steps-item > .acud-steps-item-container > .acud-steps-item-tail { top: 2px; left: -9px; margin: 0; padding: 22px 0 4px; } .acud-steps-vertical.acud-steps-dot .acud-steps-item:first-child .acud-steps-icon-dot { left: 0; } .acud-steps-vertical.acud-steps-dot .acud-steps-item-content { width: inherit; } .acud-steps-vertical.acud-steps-dot .acud-steps-item-process .acud-steps-item-container .acud-steps-item-icon .acud-steps-icon-dot { left: -2px; } .acud-steps-navigation { padding-top: 12px; } .acud-steps-navigation.acud-steps-small .acud-steps-item-container { margin-left: -12px; } .acud-steps-navigation .acud-steps-item { overflow: visible; text-align: center; } .acud-steps-navigation .acud-steps-item-container { display: inline-block; height: 100%; margin-left: -16px; padding-bottom: 12px; text-align: left; transition: opacity 0.3s; } .acud-steps-navigation .acud-steps-item-container .acud-steps-item-content { max-width: auto; } .acud-steps-navigation .acud-steps-item-container .acud-steps-item-title { max-width: 100%; padding-right: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; } .acud-steps-navigation .acud-steps-item-container .acud-steps-item-title::after { display: none; } .acud-steps-navigation .acud-steps-item:not(.acud-steps-item-active) .acud-steps-item-container[role='button'] { cursor: pointer; } .acud-steps-navigation .acud-steps-item:not(.acud-steps-item-active) .acud-steps-item-container[role='button']:hover { opacity: 0.85; } .acud-steps-navigation .acud-steps-item:last-child { flex: 1; } .acud-steps-navigation .acud-steps-item:last-child::after { display: none; } .acud-steps-navigation .acud-steps-item::after { position: absolute; top: 50%; left: 100%; display: inline-block; width: 12px; height: 12px; margin-top: -14px; margin-left: -2px; border-bottom: none; border-left: none; transform: rotate(45deg); content: ''; } .acud-steps-navigation .acud-steps-item::before { position: absolute; bottom: 0; left: 50%; display: inline-block; width: 0; height: 2px; background-color: #151B26; transition: width 0.3s, left 0.3s; transition-timing-function: ease-out; content: ''; } .acud-steps-navigation .acud-steps-item.acud-steps-item-active::before { left: 0; width: 100%; } .acud-steps-navigation.acud-steps-vertical > .acud-steps-item { margin-right: 0 !important; } .acud-steps-navigation.acud-steps-vertical > .acud-steps-item::before { display: none; } .acud-steps-navigation.acud-steps-vertical > .acud-steps-item.acud-steps-item-active::before { top: 0; right: 0; left: unset; display: block; width: 3px; height: calc(100% - 24px); } .acud-steps-navigation.acud-steps-vertical > .acud-steps-item::after { position: relative; top: -2px; left: 50%; display: block; width: 8px; height: 8px; margin-bottom: 8px; text-align: center; transform: rotate(135deg); } .acud-steps-navigation.acud-steps-vertical > .acud-steps-item > .acud-steps-item-container > .acud-steps-item-tail { visibility: hidden; } .acud-steps-rtl { direction: rtl; } .acud-steps.acud-steps-rtl .acud-steps-item-icon { margin-right: 0; margin-left: 8px; } .acud-steps-rtl .acud-steps-item-tail { right: 0; left: auto; } .acud-steps-rtl .acud-steps-item-title { padding-right: 0; padding-left: 16px; } .acud-steps-rtl .acud-steps-item-title::after { right: 100%; left: auto; } .acud-steps-rtl.acud-steps-horizontal:not(.acud-steps-label-vertical) .acud-steps-item { padding-right: 16px; padding-left: 0; } .acud-steps-rtl.acud-steps-horizontal:not(.acud-steps-label-vertical) .acud-steps-item:first-child { padding-right: 0; } .acud-steps-rtl.acud-steps-horizontal:not(.acud-steps-label-vertical) .acud-steps-item:last-child .acud-steps-item-title { padding-left: 0; } .acud-steps-rtl .acud-steps-item-custom .acud-steps-item-icon > .acud-steps-icon { right: 0.5px; left: auto; } .acud-steps-rtl.acud-steps-navigation.acud-steps-small .acud-steps-item-container { margin-right: -12px; margin-left: 0; } .acud-steps-rtl.acud-steps-navigation .acud-steps-item-container { margin-right: -16px; margin-left: 0; text-align: right; } .acud-steps-rtl.acud-steps-navigation .acud-steps-item-container .acud-steps-item-title { padding-left: 0; } .acud-steps-rtl.acud-steps-navigation .acud-steps-item::after { right: 100%; left: auto; margin-right: -2px; margin-left: 0; transform: rotate(225deg); } .acud-steps-rtl.acud-steps-small.acud-steps-horizontal:not(.acud-steps-label-vertical) .acud-steps-item { padding-right: 12px; padding-left: 0; } .acud-steps-rtl.acud-steps-small.acud-steps-horizontal:not(.acud-steps-label-vertical) .acud-steps-item:first-child { padding-right: 0; } .acud-steps-rtl.acud-steps-small .acud-steps-item-title { padding-right: 0; padding-left: 12px; } .acud-steps-rtl.acud-steps-vertical > .acud-steps-item .acud-steps-item-icon { float: right; margin-right: 0; margin-left: 16px; } .acud-steps-rtl.acud-steps-vertical > .acud-steps-item > .acud-steps-item-container > .acud-steps-item-tail { right: 12px; left: auto; } .acud-steps-rtl.acud-steps-vertical.acud-steps-small .acud-steps-item-container .acud-steps-item-tail { right: 10px; left: auto; } .acud-steps-rtl.acud-steps-label-vertical .acud-steps-item-title { padding-left: 0; } .acud-steps-rtl.acud-steps-dot .acud-steps-item-tail, .acud-steps-rtl.acud-steps-dot.acud-steps-small .acud-steps-item-tail { margin: 0 70px 0 0; } .acud-steps-rtl.acud-steps-dot .acud-steps-item-tail::after, .acud-steps-rtl.acud-steps-dot.acud-steps-small .acud-steps-item-tail::after { margin-right: 12px; margin-left: 0; } .acud-steps-rtl.acud-steps-dot .acud-steps-item:first-child .acud-steps-icon-dot, .acud-steps-rtl.acud-steps-dot.acud-steps-small .acud-steps-item:first-child .acud-steps-icon-dot { right: 2px; left: auto; } .acud-steps-rtl.acud-steps-dot .acud-steps-item-icon, .acud-steps-rtl.acud-steps-dot.acud-steps-small .acud-steps-item-icon { margin-right: 67px; margin-left: 0; } .acud-steps-dot .acud-steps-item-icon .acud-steps-icon-dot, .acud-steps-dot.acud-steps-small .acud-steps-item-icon .acud-steps-icon-dot { /* expand hover area */ } .acud-steps-rtl.acud-steps-dot .acud-steps-item-icon .acud-steps-icon-dot, .acud-steps-rtl.acud-steps-dot.acud-steps-small .acud-steps-item-icon .acud-steps-icon-dot { float: right; } .acud-steps-rtl.acud-steps-dot .acud-steps-item-icon .acud-steps-icon-dot::after, .acud-steps-rtl.acud-steps-dot.acud-steps-small .acud-steps-item-icon .acud-steps-icon-dot::after { right: -26px; left: auto; } .acud-steps-rtl.acud-steps-vertical.acud-steps-dot .acud-steps-item-icon { margin-right: 0; margin-left: 16px; } .acud-steps-rtl.acud-steps-vertical.acud-steps-dot .acud-steps-item > .acud-steps-item-container > .acud-steps-item-tail { right: -9px; left: auto; } .acud-steps-rtl.acud-steps-vertical.acud-steps-dot .acud-steps-item:first-child .acud-steps-icon-dot { right: 0; left: auto; } .acud-steps-rtl.acud-steps-vertical.acud-steps-dot .acud-steps-item-process .acud-steps-icon-dot { right: -2px; left: auto; } .acud-steps-with-progress .acud-steps-item { padding-top: 4px; } .acud-steps-with-progress .acud-steps-item .acud-steps-item-tail { top: 4px !important; } .acud-steps-with-progress .acud-steps-item-icon { position: relative; } .acud-steps-with-progress .acud-steps-item-icon .acud-progress { position: absolute; top: -5px; right: -5px; bottom: -5px; left: -5px; }