Skip to content

Commit f8bae45

Browse files
Moved common css to common.scss file
1 parent d47a72b commit f8bae45

File tree

2 files changed

+1
-77
lines changed

2 files changed

+1
-77
lines changed

LearningHub.Nhs.WebUI/Scripts/vuesrc/contribute-resource/ContributeProvideByTab.vue

Lines changed: 1 addition & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -111,13 +111,6 @@
111111
font-family: $font-stack !important;
112112
font-size: 19px !important;
113113
}
114-
/*Add a background color to the radio button when focused */
115-
.radio-button:focus {
116-
box-shadow: 0 0 0 4px $nhsuk-yellow !important;
117-
outline: 0;
118-
//box-shadow: 0 0 0 4px rgba(255, 255, 0, 0.5);
119-
}
120-
121114
.radio-button {
122115
appearance: none;
123116
-webkit-appearance: none;
@@ -132,27 +125,5 @@
132125
filter: grayscale(0) !important;
133126
}
134127
135-
/* Yellow glow on focus */
136-
.radio-button:focus {
137-
box-shadow: 0 0 0 4px $nhsuk-yellow; /* yellow circle */
138-
}
139-
140-
/* Inner black dot when selected */
141-
.radio-button:checked::before {
142-
content: "";
143-
position: absolute;
144-
top: 4px;
145-
left: 4px;
146-
width: 12px;
147-
height: 12px;
148-
background-color: black;
149-
border-radius: 50%;
150-
}
151-
152-
label {
153-
display: inline-flex;
154-
align-items: center;
155-
gap: 5px; /* space between radio and text */
156-
margin: 7px;
157-
}
128+
158129
</style>

LearningHub.Nhs.WebUI/Scripts/vuesrc/contribute/ContentCommon.vue

Lines changed: 0 additions & 47 deletions
Original file line numberDiff line numberDiff line change
@@ -602,50 +602,3 @@
602602
})
603603
604604
</script>
605-
606-
<style lang="scss" scoped>
607-
@use "../../../Styles/abstracts/all" as *;
608-
609-
/*Add a background color to the radio button when focused */
610-
.radio-button:focus {
611-
box-shadow: 0 0 0 4px $nhsuk-yellow !important;
612-
outline: 0;
613-
//box-shadow: 0 0 0 4px rgba(255, 255, 0, 0.5);
614-
}
615-
.radio-button {
616-
appearance: none;
617-
-webkit-appearance: none;
618-
width: 24px;
619-
height: 24px;
620-
border: 2px solid black;
621-
border-radius: 50%;
622-
position: relative;
623-
cursor: pointer;
624-
transition: box-shadow 0.3s;
625-
outline: none;
626-
}
627-
628-
/* Yellow glow on focus */
629-
.radio-button:focus {
630-
box-shadow: 0 0 0 4px $nhsuk-yellow; /* yellow circle */
631-
}
632-
633-
/* Inner black dot when selected */
634-
.radio-button:checked::before {
635-
content: "";
636-
position: absolute;
637-
top: 4px;
638-
left: 4px;
639-
width: 12px;
640-
height: 12px;
641-
background-color: black;
642-
border-radius: 50%;
643-
}
644-
label {
645-
display: inline-flex;
646-
align-items: center;
647-
gap: 5px; /* space between radio and text */
648-
margin: 7px;
649-
}
650-
651-
</style>

0 commit comments

Comments
 (0)