这是indexloc提供的服务,不要输入任何密码
Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
92 changes: 75 additions & 17 deletions css/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
}

*[class*="gitzip-"]{
transition:all 0.5s ease;
-webkit-transition:all 0.5s ease; /* Safari and Chrome */
transition:all 0.3s ease;
-webkit-transition:all 0.3s ease; /* Safari and Chrome */
}

.gitzip-show{
Expand All @@ -34,15 +34,43 @@
border-bottom: 1px solid #222;
}

.gitzip-close{
float: right;
font-weight: 800;
cursor: pointer;
visibility: hidden;
}

.gitzip-fail .gitzip-close{
visibility: visible;
}

.gitzip-body{
margin: 15px;
padding: 0px;
margin: 10px 0;
height: 246px;
overflow: auto;
}

.gitzip-dark .gitzip-body{
color: #b3b3b3;
.gitzip-body p{
margin: 0;
padding: 0 15px;
color: #333;
}

.gitzip-dark .gitzip-body p{
color: #f0f6fc;
}

.gitzip-body p.warn{
background-color: #fffbe7;
color: #624115;
border: 1px solid #fff4c7;
}

.gitzip-body p.error{
background-color: #fff0f0;
color: #ff081e;
border: 1px solid #ffd6d6;
}

.gitzip-dark .gitzip-body p.warn, .gitzip-dark .gitzip-body p.error{
Expand All @@ -63,30 +91,60 @@

.gitzip-check-mark{
position: absolute;
left: -10px;
left: -10px;
top: 0px;
font-size: 18px;
margin:0 !important;
visibility: hidden;
opacity: 0;
color: #333;
}

.gitzip-dark.gitzip-check-mark{
color: #f0f6fc;
}

.gitzip-check-wrap{
position: absolute;
left: -5px;
top: 0px;
height: 100%;
display: none;
align-items: center;
}

.gitzip-collect-wrap{
position: fixed;
right: 28px;
bottom: 28px;
z-index: 1000;
}

.gitzip-collect-arrow{
position: absolute;
right: 0px;
bottom: 0px;
visibility: hidden;
opacity: 0;
z-index: 1000;
width: 56px;
height: 56px;
color: #333;
}

.gitzip-collect-wrap:hover{
.gitzip-dark .gitzip-collect-arrow{
color: #f0f6fc;
}

.gitzip-collect-arrow:hover{
width: 270px;
height: 65px;
border-radius: 8px;
background-color: black;
color: #f0f6fc;
background-color: #333;
}

.gitzip-dark .gitzip-collect-arrow:hover{
background-color: transparent;
}

.gitzip-collect-down{
Expand All @@ -101,18 +159,18 @@
bottom: 4px;
}

.gitzip-collect-wrap:hover .gitzip-collect-down{
color: #fff;
}

.gitzip-collect-dash{
box-shadow: 1px 1px 10px 0px #d0d0d0;
background-color: #fff;
border-radius: 4px;
border: 1px solid #ddd;
display: none;
visibility: hidden;
opacity: 0;
position: absolute;
right: 0;
bottom: 0;
width: 0px;
height: 0px;
}

.gitzip-dark .gitzip-collect-dash {
Expand All @@ -122,6 +180,7 @@
}

.gitzip-downloading .gitzip-collect-dash{
width: 100%;
height: 100%;
display: block;
visibility: visible;
Expand All @@ -142,9 +201,8 @@
padding-left:10px;
}

.gitzip-collect-wrap:hover .gitzip-collect-tip{
.gitzip-collect-arrow:hover .gitzip-collect-tip{
visibility: visible; opacity: 1;
color: #fff;
left: 0px;
}

Expand Down
31 changes: 30 additions & 1 deletion css/popup.css
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,14 @@ body{
font-size: 14px;
line-height: 1.42857143;
color: #333;
margin: 5px;
background-color: #f5f5f5;
}

.panel{
width: 400px;
height: 130px;
background-color: #fff;
border: 1px solid transparent;
border-radius: 4px;
}

Expand Down Expand Up @@ -70,3 +71,31 @@ body{
padding: 4px 5px 0px;
display: none;
}

body.dark-theme {
color: #f0f6fc;
background-color: #1e2126;
}

.dark-theme .panel-heading {
color: #f0f6fc;
background-color: #1e2126;
border-color: #222;
}

.dark-theme .panel{
background-color: #000;
}

.dark-theme .form-control{
outline: none !important;
color: #aaa;
background-color: #000;
border: 1px solid #222;
-webkit-box-shadow: inset 0 1px 1px rgba(255,255,255,.075);
box-shadow: inset 0 1px 1px rgba(255,255,255,.075);
}

.dark-theme .form-control:focus{
border: 1px solid #555;
}
Binary file modified images/icon-128px.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed images/icon-empty.png
Binary file not shown.
Loading