diff --git a/docs/assets/css/style.css b/docs/assets/css/style.css
index f842a6ccd..adecb1d2c 100644
--- a/docs/assets/css/style.css
+++ b/docs/assets/css/style.css
@@ -73,6 +73,7 @@ img {
align-items: center;
margin-left: 20px;
height: 100%;
+ line-height: 1;
}
.header .menus .has-sub-menu {
@@ -118,6 +119,7 @@ img {
align-items: center;
width: 100px;
height: 100%;
+ line-height: 1;
cursor: pointer;
color: #f1fa8c;
border-left: 1px solid rgb(17, 21, 24);
@@ -138,13 +140,13 @@ img {
}
.main .part-left .libs {
- height: 50px;
+ height: 55px;
}
.main .part-left .libsInput {
height: 100%;
width: 100%;
- padding: 5px 10px;
+ padding: 10px;
outline: none;
resize: none;
border: none;
@@ -179,7 +181,7 @@ img {
height: 70%;
align-items: center;
justify-content: center;
- border-bottom: 1px solid rgb(17, 21, 24);
+ border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.part-right .video-wrap .artplayer-app {
@@ -189,7 +191,8 @@ img {
font-size: 20px;
width: 90%;
height: 65%;
- border: 1px solid rgba(255, 255, 255, 0.05);
+ background-color: rgb(0 0 0 / 20%);
+ border: 1px dashed rgba(255, 255, 255, 0.1);
}
.part-right .console {
diff --git a/docs/assets/example/index.js b/docs/assets/example/index.js
index 2758efefd..b8979e515 100644
--- a/docs/assets/example/index.js
+++ b/docs/assets/example/index.js
@@ -25,8 +25,7 @@ var art = new Artplayer({
localSubtitle: true,
mutex: true,
backdrop: true,
- log: true,
- theme: '#ffad00',
+ theme: '#23ade5',
lang: navigator.language.toLowerCase(),
moreVideoAttr: {
crossOrigin: 'anonymous',
@@ -122,8 +121,8 @@ var art = new Artplayer({
},
],
icons: {
- indicator: '
',
+ indicator: '
',
loading: '
',
- state: '
',
+ state: '
',
},
});
diff --git a/docs/assets/img/state.png b/docs/assets/img/state.png
deleted file mode 100644
index f95626e82..000000000
Binary files a/docs/assets/img/state.png and /dev/null differ
diff --git a/docs/assets/img/state.svg b/docs/assets/img/state.svg
new file mode 100644
index 000000000..8c8ab3018
--- /dev/null
+++ b/docs/assets/img/state.svg
@@ -0,0 +1 @@
+
\ No newline at end of file