mirror of
https://github.com/GoogleChrome/chrome-extensions-samples.git
synced 2026-03-27 13:29:34 +07:00
* init * Add README * Add popup * Fix regex typo * Remove console * Update README * Set manager.html as the options page * Remove activeTab permission * Update code * Set ruleItem as a constant * Use `existingRules` instead of `_rules` * Wrapper input elements with label * Fix viewRuleButton * Move to functional-sample * Update README.md Co-authored-by: Joe Medley <jmedley@google.com> * Update README.md Co-authored-by: Joe Medley <jmedley@google.com> * Update README.md Co-authored-by: Joe Medley <jmedley@google.com> * Update README.md Co-authored-by: Joe Medley <jmedley@google.com> * Update README.md Co-authored-by: Joe Medley <jmedley@google.com> * Update functional-samples/sample.dnr-rule-manager/README.md Co-authored-by: Oliver Dunk <oliver@oliverdunk.com> * Remove setSaveButtonDisabled * Update description * Remove document.write * Remove nested function * Update functional-samples/sample.dnr-rule-manager/manifest.json --------- Co-authored-by: Joe Medley <jmedley@google.com> Co-authored-by: Oliver Dunk <oliver@oliverdunk.com>
33 lines
417 B
CSS
33 lines
417 B
CSS
* {
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
#rulesList {
|
|
margin-top: 20px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 10px;
|
|
}
|
|
|
|
.rule-item {
|
|
padding: 5px;
|
|
border: 1px solid #ccc;
|
|
border-radius: 10px;
|
|
position: relative;
|
|
}
|
|
|
|
.rule-id {
|
|
width: 4em;
|
|
}
|
|
|
|
.condition-value {
|
|
width: 50em;
|
|
max-width: calc(100vw - 26px);
|
|
}
|
|
|
|
.actions {
|
|
position: absolute;
|
|
top: 5px;
|
|
right: 5px;
|
|
}
|