107 lines
2.1 KiB
Plaintext
107 lines
2.1 KiB
Plaintext
.t-float-left {
|
|
float: left;
|
|
}
|
|
.t-float-right {
|
|
float: right;
|
|
}
|
|
@keyframes tdesign-fade-out {
|
|
from {
|
|
opacity: 1;
|
|
}
|
|
to {
|
|
opacity: 0;
|
|
}
|
|
}
|
|
.hotspot-expanded.relative {
|
|
position: relative;
|
|
}
|
|
.hotspot-expanded::after {
|
|
content: '';
|
|
display: block;
|
|
position: absolute;
|
|
left: 0;
|
|
top: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
transform: scale(1.5);
|
|
}
|
|
page {
|
|
--td-search-label-color: rgba(0, 0, 0, 0.9);
|
|
--td-search-text-color: rgba(0, 0, 0, 0.9);
|
|
--td-search-action-color: rgba(0, 0, 0, 0.26);
|
|
--td-search-placeholder-color: rgba(0, 0, 0, 0.26);
|
|
--td-search-icon-color: rgba(0, 0, 0, 0.26);
|
|
--td-search-bg-color: #f3f3f3;
|
|
--td-search-border-color: #f3f3f3;
|
|
--td-search-focus-border-color: #f3f3f3;
|
|
}
|
|
.t-search {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
}
|
|
.t-search__label {
|
|
padding: 8rpx;
|
|
color: var(--td-search-label-color);
|
|
}
|
|
.t-search__input-box {
|
|
flex: 1;
|
|
box-sizing: border-box;
|
|
display: flex;
|
|
height: 80rpx;
|
|
align-items: center;
|
|
border: 2rpx solid var(--td-search-border-color);
|
|
background: var(--td-search-bg-color);
|
|
padding: 16rpx 24rpx;
|
|
}
|
|
.t-search__input-box.t-is-focused {
|
|
border-color: var(--td-search-focus-border-color);
|
|
}
|
|
.t-search__input-box--round {
|
|
border-radius: 40rpx;
|
|
}
|
|
.t-search__input-box--square {
|
|
border-radius: 8rpx;
|
|
}
|
|
.t-search__input-box--center {
|
|
text-align: center;
|
|
}
|
|
.t-search__input-box .t-input__keyword {
|
|
display: inline-block;
|
|
flex: 1;
|
|
color: var(--td-search-text-color);
|
|
font-size: 32rpx;
|
|
padding-left: 16rpx;
|
|
}
|
|
.t-search__input-box .t-icon {
|
|
color: var(--td-search-icon-color);
|
|
}
|
|
.t-search__right {
|
|
position: relative;
|
|
margin-left: 10px;
|
|
}
|
|
.t-search__right.relative {
|
|
position: relative;
|
|
}
|
|
.t-search__right::after {
|
|
content: '';
|
|
display: block;
|
|
position: absolute;
|
|
left: 0;
|
|
top: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
transform: scale(1.5);
|
|
}
|
|
.t-search__search-action {
|
|
margin-left: 30rpx;
|
|
font-size: 32rpx;
|
|
color: var(--td-search-action-color);
|
|
}
|
|
.t-search__placeholder {
|
|
color: var(--td-search-placeholder-color);
|
|
}
|
|
.t-search__placeholder--center {
|
|
text-align: center;
|
|
}
|