消息
This commit is contained in:
39
TUIKit/components/TUISearch/style/h5.scss
Normal file
39
TUIKit/components/TUISearch/style/h5.scss
Normal file
@@ -0,0 +1,39 @@
|
||||
.tui-search-h5 {
|
||||
&-full-screen {
|
||||
position: absolute;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
overflow: hidden;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
z-index: 1000;
|
||||
background: #fff;
|
||||
}
|
||||
|
||||
&-global,
|
||||
&-conversation {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
display: flex;
|
||||
flex: 1;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
&-conversation {
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
&.tui-search-main-conversation {
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
.search-input,
|
||||
.search-container,
|
||||
.search-result {
|
||||
min-width: 0;
|
||||
box-sizing: border-box;
|
||||
display: flex;
|
||||
flex: 1;
|
||||
overflow: hidden;
|
||||
}
|
||||
}
|
||||
3
TUIKit/components/TUISearch/style/index.scss
Normal file
3
TUIKit/components/TUISearch/style/index.scss
Normal file
@@ -0,0 +1,3 @@
|
||||
@import '../../../assets/styles/common';
|
||||
@import './web';
|
||||
@import './h5';
|
||||
28
TUIKit/components/TUISearch/style/web.scss
Normal file
28
TUIKit/components/TUISearch/style/web.scss
Normal file
@@ -0,0 +1,28 @@
|
||||
.tui-search {
|
||||
&-main-global {
|
||||
width: 100%;
|
||||
height: fit-content;
|
||||
}
|
||||
|
||||
&-main-conversation {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
background: #fff;
|
||||
box-shadow: 0 1px 10px 0 rgba(2,16,43,0.15);
|
||||
}
|
||||
|
||||
.tui-search-global {
|
||||
&-header {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
}
|
||||
}
|
||||
|
||||
.tui-search-conversation {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
overflow: hidden;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user