Skip to content

Commit 204b06b

Browse files
committed
6.2.0 최종
1 parent 3f0e6ce commit 204b06b

File tree

3 files changed

+40
-9
lines changed

3 files changed

+40
-9
lines changed

background.js

+22-4
Original file line numberDiff line numberDiff line change
@@ -71,14 +71,15 @@ function addWater (version) {
7171
if(!elementExists) {
7272
var header = document.getElementById( 'common_srch' );
7373
var str = `
74-
<div id="water_pyer" title="Pyer Github Repository로 이동하기" OnClick="window.open('https://github.com/WooyeongCho/Pyer')", '_blank');" style="float: left; position:absolute; top: 13px; left: 320px;">
75-
<img src="https://i.ibb.co/PGCf9RG/icon-128.png" alt="icon-128" border="0" style="width: 22px; height: 22px;">
76-
<span style="color:white; font-size: 16px; font-weight:bold;" id="pyer">Pyer v.${version}</span>
74+
<div class="noselect" id="water_pyer" title="PYER Github Repository로 이동하기" OnClick="window.open('https://github.com/WooyeongCho/PYER')", '_blank');" style="float: left; position:absolute; top: 13px; left: 320px;">
75+
<img src="https://i.ibb.co/PGCf9RG/icon-128.png" alt="icon-128" class="noselect" border="0" style="width: 18px; height: 18px;">
76+
<span style="color:white; font-size: 14px; font-weight:800;" class="noselect" id="pyer"> PYER</span>
77+
<span style="color:rgba(255,255,255,0.6); font-size: 8px; font-weight:400;" class="noselect" id="pyerversion">v.${version}</span>
7778
</div>
7879
7980
<style>
8081
#water_pyer {
81-
top: 7px !important;
82+
top: 10px !important;
8283
padding: 3px;
8384
padding-left: 5px;
8485
padding-right: 5px;
@@ -94,8 +95,25 @@ function addWater (version) {
9495
border: 2px solid rgba(255,255,255,0.325);
9596
box-shadow: 0px 2px 6px rgba(255,255,255,0.2);
9697
}
98+
99+
#water_pyer * {
100+
font-family: 'Montserrat', sans-serif;
101+
}
102+
103+
.noselect {
104+
-webkit-touch-callout: none;
105+
-webkit-user-select: none;
106+
-khtml-user-select: none;
107+
-moz-user-select: none;
108+
-ms-user-select: none;
109+
user-select: none;
110+
}
97111
98112
</style>
113+
114+
<link rel="preconnect" href="https://fonts.googleapis.com">
115+
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
116+
<link href="https://fonts.googleapis.com/css2?family=Montserrat:wght@400;800&display=swap" rel="stylesheet">
99117
`;
100118

101119
header.insertAdjacentHTML( 'beforeend', str );

popup/popup.css

+11
Original file line numberDiff line numberDiff line change
@@ -96,9 +96,20 @@ body {
9696
padding-left: 12px;
9797
}
9898

99+
#PYERTITLE {
100+
font-family: 'Montserrat', sans-serif !important;
101+
font-weight: 800;
102+
margin-top: 30px;
103+
}
104+
105+
.mdc-top-app-bar__title {
106+
padding-left: 16px !important;
107+
}
108+
99109
.subtitle {
100110
font-size: 15px;
101111
color: var(--more-white-gray);
112+
padding-left: 2px;
102113
}
103114

104115
.option-box {

popup/popup.html

+7-5
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,15 @@
11
<html>
22
<head>
33
<meta charset="UTF-8">
4-
4+
<link rel="preconnect" href="https://fonts.googleapis.com">
5+
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
6+
<link href="https://fonts.googleapis.com/css2?family=Montserrat:wght@400;800&display=swap" rel="stylesheet">
57
</head>
68
<body>
79
<div id="app">
810
<input id="file-input" type="file" accept=".css" name="name" style="display: none;" />
911

10-
<m-header><h3>Pyer! <span class="subtitle">엔트리 테마 확장앱</span></h3></m-header>
12+
<m-header><h3 id="PYERTITLE">PYER <span class="subtitle">엔트리 테마 확장앱</span></h3></m-header>
1113
<div id="contents">
1214
<br />
1315

@@ -47,12 +49,12 @@
4749

4850
</div>
4951
</div>
50-
<m-dialog id="github-repo-dialog">Pyer Github Repository로 이동할까요?</m-dialog>
51-
<m-dialog id="store-dialog">Pyer 크롬 웹스토어로 이동할까요?</m-dialog>
52+
<m-dialog id="github-repo-dialog">PYER Github Repository로 이동할까요?</m-dialog>
53+
<m-dialog id="store-dialog">PYER 크롬 웹스토어로 이동할까요?</m-dialog>
5254
<save-snackbar></save-snackbar>
5355

5456
<div id="footer">
55-
<p style='margin: 0; font-weight: 600;'>개발 wy24 도움 tica, jedeop | <span id="version"></span> 버전</p>
57+
<p style='margin: 0; font-weight: 600;'>개발 wy24 도움 tica, jedeop | v.<span id="version"></span></p>
5658
</div>
5759
</div>
5860

0 commit comments

Comments
 (0)