Files
2025-07-26 14:36:33 +02:00

94 lines
2.3 KiB
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Word Replacer - Options</title>
<style>
body {
font-family: Arial, sans-serif;
margin: 0;
padding: 15px;
min-width: 350px;
max-width: 100%;
background-color: #f9f9fa;
}
h1 {
color: #0c0c0d;
font-size: 1.5rem;
margin-bottom: 15px;
}
.word-pair {
display: flex;
margin-bottom: 10px;
align-items: center;
}
.word-pair input {
flex: 1;
margin-right: 5px;
padding: 8px;
border: 1px solid #d7d7db;
border-radius: 2px;
}
.word-pair button {
background-color: #e74c3c;
border: none;
color: white;
padding: 8px 12px;
cursor: pointer;
border-radius: 2px;
}
.buttons {
display: flex;
justify-content: space-between;
margin-top: 15px;
}
.buttons button {
padding: 10px 15px;
border: none;
border-radius: 2px;
cursor: pointer;
}
#addPair {
background-color: #4caf50;
color: white;
}
#saveChanges {
background-color: #2196f3;
color: white;
}
.message {
margin-top: 10px;
padding: 8px;
border-radius: 2px;
display: none;
}
.success {
background-color: #d4edda;
color: #155724;
border: 1px solid #c3e6cb;
}
.error {
background-color: #f8d7da;
color: #721c24;
border: 1px solid #f5c6cb;
}
</style>
</head>
<body>
<h1>Word Replacer - Options</h1>
<div id="wordPairsContainer">
<!-- Word pairs will be added here dynamically -->
</div>
<div class="buttons">
<button id="addPair">+ Add New Pair</button>
<button id="saveChanges">Save Changes</button>
</div>
<div id="message" class="message"></div>
<script src="options.js"></script>
</body>
</html>