Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
glsx
/
glsx-AIot-website
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Settings
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 6c727e07
authored
Jan 29, 2021
by
liwk
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
commit
1 parent
32c296f1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
4 deletions
css/index.css
css/index.scss
index.html
css/index.css
View file @
6c727e0
.main
{
display
:
grid
;
grid-template-columns
:
minmax
(
330px
,
22.9%
)
1
fr
;
height
:
calc
(
100vh
-
42px
)}
.main
.tabs
{
overflow-y
:
scroll
;
font-size
:
16px
;
color
:
#1F1F1F
;
user-select
:
none
;
background
:
#FFFFFF
;
border
:
1px
solid
#EEEEEE
;
box-sizing
:
border-box
}
.main
.tabs-box
{
padding
:
0
20px
40px
84px
}
.main
.tabs-box
.tab-text
{
display
:
flex
;
align-items
:
center
;
padding-left
:
20px
;
height
:
40px
;
line-height
:
40px
;
color
:
#008BF4
;
font-weight
:
700
}
.main
.tabs-box
.tab-text
:hover
{
cursor
:
pointer
}
.main
.tabs-box
.tab-text
.icon
{
width
:
10px
;
height
:
28px
;
margin-right
:
8px
;
transition
:
all
.5s
}
.main
.tabs-box
.tab
.item-list
{
display
:
none
}
.main
.tabs-box
.tab
.on
.icon
{
transform
:
rotate
(
90deg
)}
.main
.tabs-box
.tab
.on
~
.item-list
{
display
:
block
}
.main
.tabs-box
.tab
.item
{
height
:
50px
;
line-height
:
50px
;
padding-left
:
40px
;
font-size
:
14px
;
white-space
:
nowrap
;
overflow
:
hidden
;
text-overflow
:
ellipsis
}
.main
.tabs-box
.tab
.item
:hover
{
cursor
:
pointer
;
background
:
#EEEEEE
;
border-radius
:
20px
}
.main
.tabs-box
.tab
.active
{
background
:
#EEEEEE
;
border-radius
:
20px
}
.main
.content
{
overflow-y
:
scroll
}
.main
{
display
:
grid
;
grid-template-columns
:
minmax
(
330px
,
22.9%
)
1
fr
;
height
:
calc
(
100vh
-
42px
)}
.main
.tabs
{
overflow-y
:
scroll
;
font-size
:
16px
;
color
:
#1F1F1F
;
user-select
:
none
;
background
:
#FFFFFF
;
border
:
1px
solid
#EEEEEE
;
box-sizing
:
border-box
}
.main
.tabs-box
{
padding
:
32px
20px
40px
84px
}
.main
.tabs-box
.tab-text
{
display
:
flex
;
align-items
:
center
;
height
:
40px
;
line-height
:
40px
;
color
:
#008BF4
;
font-weight
:
700
}
.main
.tabs-box
.tab-text
:hover
{
cursor
:
pointer
}
.main
.tabs-box
.tab-text
.icon
{
width
:
10px
;
height
:
28px
;
margin-right
:
8px
;
transition
:
all
.5s
}
.main
.tabs-box
.tab
.item-list
{
display
:
none
}
.main
.tabs-box
.tab
.on
.icon
{
transform
:
rotate
(
90deg
)}
.main
.tabs-box
.tab
.on
~
.item-list
{
display
:
block
}
.main
.tabs-box
.tab
.item
{
height
:
50px
;
line-height
:
50px
;
padding-left
:
40px
;
font-size
:
14px
;
white-space
:
nowrap
;
overflow
:
hidden
;
text-overflow
:
ellipsis
}
.main
.tabs-box
.tab
.item
:hover
{
cursor
:
pointer
;
background
:
#EEEEEE
;
border-radius
:
20px
}
.main
.tabs-box
.tab
.active
{
background
:
#EEEEEE
;
border-radius
:
20px
}
.main
.content
{
overflow-y
:
scroll
}
css/index.scss
View file @
6c727e0
...
@@ -11,12 +11,11 @@
...
@@ -11,12 +11,11 @@
border
:
1px
solid
#EEEEEE
;
border
:
1px
solid
#EEEEEE
;
box-sizing
:
border-box
;
box-sizing
:
border-box
;
&
-box
{
&
-box
{
padding
:
0
20px
40px
84px
;
padding
:
32px
20px
40px
84px
;
.tab
{
.tab
{
&
-text
{
&
-text
{
display
:
flex
;
display
:
flex
;
align-items
:
center
;
align-items
:
center
;
padding-left
:
20px
;
height
:
40px
;
height
:
40px
;
line-height
:
40px
;
line-height
:
40px
;
color
:
#008BF4
;
color
:
#008BF4
;
...
...
index.html
View file @
6c727e0
...
@@ -20,7 +20,9 @@
...
@@ -20,7 +20,9 @@
<div
class=
"header"
>
<div
class=
"header"
>
<div
class=
"wrapper"
>
<div
class=
"wrapper"
>
<div
class=
"logo"
>
<div
class=
"logo"
>
<img
src=
"./images/logo.png"
alt=
"车家物联"
>
<a
href=
"./"
>
<img
src=
"./images/logo.png"
alt=
"车家物联"
>
</a>
</div>
</div>
<div
class=
"control"
>
<div
class=
"control"
>
<div
class=
"tabs"
>
<div
class=
"tabs"
>
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment