Skip to content

Commit 27c0fe1

Browse files
committed
Color copy icons on hover without filling the button
1 parent f7b60e7 commit 27c0fe1

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

‎index.html‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
<link rel="canonical" href="https://agentcacheback.github.io/">
1616
<title>CacheBack | Receiver-conditioned communication</title>
1717
<link rel="icon" type="image/svg+xml" href="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Crect width='32' height='32' rx='6' fill='%231c211e'/%3E%3Cpath d='M7 7h7v7H7zm11 0h7v7h-7zM7 18h7v7H7z' fill='%230f766e'/%3E%3Cpath d='M18 18h7v7h-7z' fill='%23fff'/%3E%3C/svg%3E">
18-
<link rel="stylesheet" href="website/assets/styles.css?v=lean-2">
18+
<link rel="stylesheet" href="website/assets/styles.css?v=lean-3">
1919
<script type="module" src="website/assets/app.js"></script>
2020
</head>
2121
<body>

‎website/assets/styles.css‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -143,9 +143,9 @@ iframe { display:block; width:100%; height:815px; border:0; background:#fff; }
143143
.code-card { background:#162c2c; color:#e8f3f2; border-radius:12px; overflow:hidden; min-width:0; }
144144
.code-bar { display:flex; align-items:center; justify-content:space-between; gap:10px; border-bottom:1px solid #345151; padding:12px 24px; color:#b6cdcb; font-size:12px; }
145145
.copy-button { border:0; background:transparent; border-radius:3px; padding:5px 10px; font-size:12px; }
146-
.copy-button:hover { background:var(--accent); }
147-
.code-card .copy-button { border:0; border-radius:7px; background:#2d4c4b; color:#e8f3f2; padding:6px 11px; }
148-
.code-card .copy-button:hover { background:#e8f3f2; color:#162c2c; }
146+
.copy-button:hover { background:transparent; color:var(--rclc); }
147+
.code-card .copy-button { border:0; border-radius:7px; background:transparent; color:#e8f3f2; padding:6px 11px; }
148+
.code-card .copy-button:hover { background:transparent; color:#8bd9d1; }
149149
.code-card pre { padding:22px 24px 18px; line-height:1.65; }
150150
.code-focus { display:block; background:#214442; border-left:2px solid #8bd9d1; margin:15px -24px 0; padding:12px 22px; }
151151
pre { margin:0; padding:23px; overflow:auto; font:13px/1.85 'SFMono-Regular',Consolas,monospace; tab-size:2; }

0 commit comments

Comments
 (0)