From d3f85d7d230eefc625e6ea408960457d1e80c0e5 Mon Sep 17 00:00:00 2001 From: Keyemail Date: Tue, 3 Sep 2024 06:26:39 -0700 Subject: [PATCH] Added radio options for internet setup --- src/pages/basicDashboard/InternetSetup.vue | 59 +++++++++++++++++++++- src/styles/basicDashboard.css | 54 ++++++++++++++++++++ 2 files changed, 112 insertions(+), 1 deletion(-) diff --git a/src/pages/basicDashboard/InternetSetup.vue b/src/pages/basicDashboard/InternetSetup.vue index 5f4e93c..b836f4a 100644 --- a/src/pages/basicDashboard/InternetSetup.vue +++ b/src/pages/basicDashboard/InternetSetup.vue @@ -1,6 +1,63 @@ diff --git a/src/styles/basicDashboard.css b/src/styles/basicDashboard.css index 5d71686..59d599c 100644 --- a/src/styles/basicDashboard.css +++ b/src/styles/basicDashboard.css @@ -100,4 +100,58 @@ line-height: 30px; } } +} + +#internetSetupComponent { + display: flex; + flex-direction: column; + gap: 20px; + + section { + margin-bottom: 10px; + display: flex; + flex-direction: column; + gap: 10px; + width: 400px; + } + input[type="radio"] { + appearance: none; + -webkit-appearance: none; + + width: 1.15em; + height:1.15em; + border: 0.15em solid #fff; + border-radius: 10%; + display: flex; + align-items: center; + justify-content: center; + + } + input[type="radio"]::before { + content: ""; + width: 100%; + height: 100%; + border-radius: 10%; + transform: scale(0); + transition: 0.3s transform; + background-color: var(--dark-highlight-color); + } + input[type="radio"]:checked::before { + transform: scale(1); + } + label { + margin-top: 5px; + display: flex; + align-items: center; + background-color: var(--dark-bg-alt-2-color); + height: 50px; + width: 100%; + border-radius: 5px; + padding: 10px; + + p { + margin-left: 10px; + font-size: 1.2rem; + } + } } \ No newline at end of file -- 2.39.2