2023-07-20 19:32:15 +02:00
|
|
|
.regex_settings .menu_button {
|
|
|
|
width: fit-content;
|
|
|
|
display: flex;
|
|
|
|
gap: 10px;
|
|
|
|
flex-direction: row;
|
|
|
|
}
|
|
|
|
|
2023-10-26 04:48:19 +02:00
|
|
|
.regex_settings .checkbox {
|
|
|
|
align-items: center;
|
|
|
|
}
|
|
|
|
|
2023-07-20 19:32:15 +02:00
|
|
|
.regex-script-container {
|
|
|
|
margin-top: 10px;
|
|
|
|
margin-bottom: 10px;
|
|
|
|
}
|
|
|
|
|
2024-05-26 16:19:00 +02:00
|
|
|
.regex-script-container:empty::after {
|
|
|
|
content: "No scripts found";
|
|
|
|
font-size: 0.95em;
|
|
|
|
opacity: 0.7;
|
|
|
|
display: block;
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
#scoped_scripts_block {
|
|
|
|
opacity: 1;
|
|
|
|
transition: opacity 0.2s ease-in-out;
|
|
|
|
}
|
|
|
|
|
|
|
|
#scoped_scripts_block .move_to_scoped {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
#global_scripts_block .move_to_global {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
#scoped_scripts_block:not(:has(#regex_scoped_toggle:checked)) {
|
|
|
|
opacity: 0.5;
|
|
|
|
}
|
|
|
|
|
|
|
|
.enable_scoped:checked ~ .regex-toggle-on {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
|
|
|
.enable_scoped:checked ~ .regex-toggle-off {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.enable_scoped:not(:checked) ~ .regex-toggle-on {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.enable_scoped:not(:checked) ~ .regex-toggle-off {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
2023-07-20 19:32:15 +02:00
|
|
|
.regex-script-label {
|
|
|
|
align-items: center;
|
2023-09-16 08:42:26 +02:00
|
|
|
border: 1px solid var(--SmartThemeBorderColor);
|
2023-07-20 19:32:15 +02:00
|
|
|
border-radius: 10px;
|
|
|
|
padding: 0 5px;
|
|
|
|
margin-top: 1px;
|
|
|
|
margin-bottom: 1px;
|
2023-11-05 22:40:43 +01:00
|
|
|
}
|
|
|
|
|
2024-05-26 16:19:00 +02:00
|
|
|
.regex-script-label:has(.disable_regex:checked) .regex_script_name {
|
|
|
|
text-decoration: line-through;
|
|
|
|
filter: grayscale(0.5);
|
|
|
|
}
|
|
|
|
|
|
|
|
input.disable_regex,
|
|
|
|
input.enable_scoped {
|
2023-11-05 22:40:43 +01:00
|
|
|
display: none !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
.regex-toggle-off {
|
|
|
|
cursor: pointer;
|
|
|
|
opacity: 0.5;
|
|
|
|
filter: grayscale(0.5);
|
2024-05-26 16:19:00 +02:00
|
|
|
transition: opacity 0.2s ease-in-out;
|
|
|
|
}
|
|
|
|
|
|
|
|
.regex-toggle-off:hover {
|
|
|
|
opacity: 1;
|
|
|
|
filter: none;
|
2023-11-05 22:40:43 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.regex-toggle-on {
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
|
|
|
|
.disable_regex:checked ~ .regex-toggle-off {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
|
|
|
.disable_regex:checked ~ .regex-toggle-on {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.disable_regex:not(:checked) ~ .regex-toggle-off {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.disable_regex:not(:checked) ~ .regex-toggle-on {
|
|
|
|
display: block;
|
|
|
|
}
|