This repository has been archived by the owner on Feb 19, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
b5323db
commit fbb26cb
Showing
10 changed files
with
79 additions
and
64 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,40 +1,40 @@ | ||
* { | ||
box-sizing: border-box; | ||
} | ||
|
||
body { | ||
width: 200px; | ||
padding: 16px; | ||
margin: 0; | ||
background-color: #222; | ||
} | ||
.container button { | ||
width: 100%; | ||
background-color: transparent; | ||
font-size: 1.5em; | ||
color: #fff; | ||
border: none; | ||
border-radius: 8px; | ||
cursor: pointer; | ||
outline: none; | ||
padding: 16px; | ||
position: relative; | ||
} | ||
.container button:hover { | ||
background-color: rgba(255, 255, 255, 0.5); | ||
} | ||
.container button:hover::before{ | ||
content: ''; | ||
width: 8px; | ||
height: 8px; | ||
border: 0px; | ||
border-top: solid 2px #000; | ||
border-right: solid 2px #000; | ||
-ms-transform: rotate(45deg); | ||
-webkit-transform: rotate(45deg); | ||
transform: rotate(45deg); | ||
position: absolute; | ||
top: 50%; | ||
left: 8px; | ||
margin-top: -4px; | ||
* { | ||
box-sizing: border-box; | ||
} | ||
|
||
body { | ||
width: 200px; | ||
padding: 16px; | ||
margin: 0; | ||
background-color: #222; | ||
} | ||
.container button { | ||
width: 100%; | ||
background-color: transparent; | ||
font-size: 1.5em; | ||
color: #fff; | ||
border: none; | ||
border-radius: 8px; | ||
cursor: pointer; | ||
outline: none; | ||
padding: 16px; | ||
position: relative; | ||
} | ||
.container button:hover { | ||
background-color: rgba(255, 255, 255, 0.5); | ||
} | ||
.container button:hover::before{ | ||
content: ''; | ||
width: 8px; | ||
height: 8px; | ||
border: 0px; | ||
border-top: solid 2px #000; | ||
border-right: solid 2px #000; | ||
-ms-transform: rotate(45deg); | ||
-webkit-transform: rotate(45deg); | ||
transform: rotate(45deg); | ||
position: absolute; | ||
top: 50%; | ||
left: 8px; | ||
margin-top: -4px; | ||
} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
$(function() { | ||
$(".container button").click(function() { | ||
chrome.tabs.create({"url": $(this).attr("href")}, null); | ||
return false; | ||
}); | ||
$(function() { | ||
$(".container button").click(function() { | ||
chrome.tabs.create({"url": $(this).attr("href")}, null); | ||
return false; | ||
}); | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,22 @@ | ||
|
||
<!doctype html> | ||
<html lang="ja"> | ||
<head> | ||
<meta charset="utf-8"> | ||
<link rel="stylesheet" href="css/styles_popup.css"> | ||
|
||
<title>KUPlus Popup</title> | ||
</head> | ||
<body> | ||
<div class="container"> | ||
<button href="https://www.k.kyoto-u.ac.jp/student/la/top">KULASIS</button> | ||
<button href="https://panda.ecs.kyoto-u.ac.jp/portal/login">PandA</button> | ||
<button href="https://m.kulib.kyoto-u.ac.jp/webopac/ufisnd.do">MyKULINE</button> | ||
<button href="https://outlook.com/st.kyoto-u.ac.jp">KUMOI</button> | ||
</div> | ||
|
||
<script type="text/javascript" src="lib/jquery-3.3.1.min.js"></script> | ||
<script type="text/javascript" src="js/popup.js"></script> | ||
</body> | ||
|
||
<!doctype html> | ||
<html lang="ja"> | ||
<head> | ||
<meta charset="utf-8"> | ||
<link rel="stylesheet" href="css/styles_popup.css"> | ||
|
||
<title>KUPlus Popup</title> | ||
</head> | ||
<body> | ||
<div class="container"> | ||
<button href="https://www.k.kyoto-u.ac.jp/student/la/top">KULASIS</button> | ||
<button href="https://panda.ecs.kyoto-u.ac.jp/portal/login">PandA</button> | ||
<button href="https://m.kulib.kyoto-u.ac.jp/webopac/ufisnd.do">MyKULINE</button> | ||
<button href="https://outlook.com/st.kyoto-u.ac.jp">KUMOI</button> | ||
<button href="https://www.g.k.kyoto-u.ac.jp/shibboleth/index.php">GORILLA</button> | ||
</div> | ||
|
||
<script type="text/javascript" src="lib/jquery-3.3.1.min.js"></script> | ||
<script type="text/javascript" src="js/popup.js"></script> | ||
</body> | ||
</html> |