2022-04-29 17:23:23 +08:00
|
|
|
// @import '../../style/themes/index';
|
|
|
|
// @import '../../style/mixins/index';
|
2016-10-28 14:02:55 +08:00
|
|
|
|
2022-04-29 17:23:23 +08:00
|
|
|
// @anchor-border-width: 2px;
|
2017-11-06 21:28:51 +08:00
|
|
|
|
2022-04-29 17:23:23 +08:00
|
|
|
// .@{ant-prefix}-anchor {
|
|
|
|
// .reset-component();
|
2019-04-15 10:52:00 +08:00
|
|
|
|
2022-04-29 17:23:23 +08:00
|
|
|
// position: relative;
|
|
|
|
// padding-left: @anchor-border-width;
|
2017-12-28 13:13:27 +08:00
|
|
|
|
2022-04-29 17:23:23 +08:00
|
|
|
// &-wrapper {
|
|
|
|
// margin-left: -4px;
|
|
|
|
// padding-left: 4px;
|
|
|
|
// overflow: auto;
|
|
|
|
// background-color: @anchor-bg;
|
|
|
|
// }
|
2016-11-09 20:17:02 +08:00
|
|
|
|
2022-04-29 17:23:23 +08:00
|
|
|
// &-ink {
|
|
|
|
// position: absolute;
|
|
|
|
// top: 0;
|
|
|
|
// left: 0;
|
|
|
|
// height: 100%;
|
2021-10-13 15:38:59 +08:00
|
|
|
|
2022-04-29 17:23:23 +08:00
|
|
|
// &::before {
|
|
|
|
// position: relative;
|
|
|
|
// display: block;
|
|
|
|
// width: @anchor-border-width;
|
|
|
|
// height: 100%;
|
|
|
|
// margin: 0 auto;
|
|
|
|
// background-color: @anchor-border-color;
|
|
|
|
// content: ' ';
|
|
|
|
// }
|
2021-10-13 15:38:59 +08:00
|
|
|
|
2022-04-29 17:23:23 +08:00
|
|
|
// &-ball {
|
|
|
|
// position: absolute;
|
|
|
|
// left: 50%;
|
|
|
|
// display: none;
|
|
|
|
// width: 8px;
|
|
|
|
// height: 8px;
|
|
|
|
// background-color: @component-background;
|
|
|
|
// border: 2px solid @primary-color;
|
|
|
|
// border-radius: 8px;
|
|
|
|
// transform: translateX(-50%);
|
|
|
|
// transition: top 0.3s ease-in-out;
|
2021-10-13 15:38:59 +08:00
|
|
|
|
2022-04-29 17:23:23 +08:00
|
|
|
// &.visible {
|
|
|
|
// display: inline-block;
|
|
|
|
// }
|
|
|
|
// }
|
|
|
|
// }
|
2016-11-09 20:17:02 +08:00
|
|
|
|
2022-04-29 17:23:23 +08:00
|
|
|
// &-fixed &-ink &-ink-ball {
|
|
|
|
// display: none;
|
|
|
|
// }
|
2017-09-21 14:16:01 +08:00
|
|
|
|
2022-05-21 22:14:15 +08:00
|
|
|
// &-link {
|
|
|
|
// padding: @anchor-link-padding;
|
2016-11-03 16:45:13 +08:00
|
|
|
|
2022-05-21 22:14:15 +08:00
|
|
|
// &-title {
|
|
|
|
// position: relative;
|
|
|
|
// display: block;
|
|
|
|
// margin-bottom: 3px;
|
|
|
|
// overflow: hidden;
|
|
|
|
// color: @text-color;
|
|
|
|
// white-space: nowrap;
|
|
|
|
// text-overflow: ellipsis;
|
|
|
|
// transition: all 0.3s;
|
2016-11-13 19:08:52 +08:00
|
|
|
|
2022-04-29 17:23:23 +08:00
|
|
|
// &:only-child {
|
|
|
|
// margin-bottom: 0;
|
|
|
|
// }
|
|
|
|
// }
|
2016-11-03 16:45:13 +08:00
|
|
|
|
2022-04-29 17:23:23 +08:00
|
|
|
// &-active > &-title {
|
|
|
|
// color: @primary-color;
|
|
|
|
// }
|
|
|
|
// }
|
2016-10-28 16:53:59 +08:00
|
|
|
|
2022-04-29 17:23:23 +08:00
|
|
|
// &-link &-link {
|
2022-05-21 22:14:15 +08:00
|
|
|
// padding-top: 2px;
|
|
|
|
// padding-bottom: 2px;
|
2022-04-29 17:23:23 +08:00
|
|
|
// }
|
|
|
|
// }
|
2020-04-07 10:55:36 +08:00
|
|
|
|
2022-04-29 17:23:23 +08:00
|
|
|
// @import './rtl';
|