-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(list, list-picker, select, cascader): add deps style
- Loading branch information
maxin
committed
Feb 10, 2022
1 parent
181c28f
commit 6c929d5
Showing
9 changed files
with
55 additions
and
65 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,21 @@ | ||
@import '../../stylesheet/variables/index.less'; | ||
@import '~@gio-design/utils/lib/less/mixins.less'; | ||
@import (reference) '../../stylesheet/variables/index.less'; | ||
|
||
@cascader-prefix-cls: ~'@{component-prefix}-cascader'; | ||
@list-item-prefix-cls: ~'@{component-prefix}-list--item'; | ||
.@{cascader-prefix-cls} { | ||
&--content { | ||
z-index: 100; | ||
} | ||
|
||
.cascader-list-style() { | ||
box-sizing: border-box; | ||
min-width: 120px; | ||
height: auto; | ||
max-height: 520px; | ||
background: @gray-0; | ||
|
||
.border(4, @gray-2); | ||
.elevation(2); | ||
.scrollbar(@x: hidden, @y: overlay); | ||
} | ||
|
||
.@{cascader-prefix-cls} { | ||
&--list { | ||
box-sizing: border-box; | ||
min-width: 120px; | ||
height: auto; | ||
max-height: 520px; | ||
background: @gray-0; | ||
border: 1px solid #dfe4ee; | ||
border-radius: 8px; | ||
box-shadow: 0 8px 24px rgba(36, 46, 89, 0.1); | ||
.scrollbar(@x: hidden, @y: overlay); | ||
.cascader-list-style(); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,6 @@ | ||
import '../../popover/style'; | ||
import '../../button/style'; | ||
import '../../list/style'; | ||
import '../../input/style'; | ||
|
||
import './index.less'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,6 @@ | ||
import '../../tooltip/style'; | ||
import '../../popover/style'; | ||
import '../../checkbox/style'; | ||
import '../../page/style'; | ||
|
||
import './index.less'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,6 @@ | ||
import '../../popover/style'; | ||
import '../../list/style'; | ||
import '../../list-picker/style'; | ||
import '../../input/style'; | ||
|
||
import './index.less'; | ||
import '../../popover/style' | ||
import '../../list/style' | ||
import '../../input/style' |