Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: moved global css of HexBinDec to component scope #288

Merged
merged 4 commits into from
Mar 24, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 34 additions & 0 deletions src/components/DialogBox/HexBinDec.vue
Original file line number Diff line number Diff line change
Expand Up @@ -217,3 +217,37 @@ function hexConverter(input: string) {
setBaseValues(x)
}
</script>

<style scoped>
#bitconverterprompt {
color: var(--text-lite);
}

#bitconverterprompt input {
color: var(--text-lite);
}

#bitconverterprompt label {
color: var(--text-lite) !important;
}

#bitconverterprompt {
text-align: center;
font: inherit;
border: none;
margin-top: 5px;
padding: 0;
}

#bitconverterprompt input {
background: transparent;
border: none;
outline: none;
text-align: center;
font: inherit;
}

#bitconverterprompt input:focus {
border: none;
}
</style>
17 changes: 0 additions & 17 deletions src/styles/color_theme.scss
Original file line number Diff line number Diff line change
Expand Up @@ -494,23 +494,6 @@ select {
background: var(--disable);
}

#bitconverterprompt {
color: var(--text-lite);
}

#bitconverterprompt input {
/* border-bottom: 1px solid var(--br-primary); */
color: var(--text-lite);
}

#bitconverterprompt input:focus {
/* border-bottom: 1px solid var(--br-primary); */
}

#bitconverterprompt label {
color: var(--text-lite) !important;
}

.radio-green {
background: #42b983;
}
Expand Down
20 changes: 0 additions & 20 deletions src/styles/css/main.stylesheet.css
Original file line number Diff line number Diff line change
Expand Up @@ -1534,26 +1534,6 @@ input:checked + .slider:before {
left: 0;
}

#bitconverterprompt {
text-align: center;
font: inherit;
border: none;
margin-top: 5px;
padding: 0;
}

#bitconverterprompt input {
background: transparent;
border: none;
outline: none;
text-align: center;
font: inherit;
}

#bitconverterprompt input:focus {
border: none;
}

.ui-dialog .ui-dialog-buttonpane button {
margin-left: 0.4em;
}
Expand Down
Loading