Skip to content

Commit

Permalink
Fix Navbar Items Responsiveness for Mobile View (sugarlabs#4197)
Browse files Browse the repository at this point in the history
* formatted all css files, fixed minor spelling errors previously made

* added: media queries to handle navbar resizing

* fixed: icons visible between 360 and 400 px as well
  • Loading branch information
M-DEV-1 authored Dec 30, 2024
1 parent a65a865 commit d121f38
Show file tree
Hide file tree
Showing 6 changed files with 1,426 additions and 45 deletions.
38 changes: 19 additions & 19 deletions css/style.css
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
input[type=range] {
input[type="range"] {
height: 4px;
appearance: none;
-webkit-appearance: none;
width: 250px;
}

input[type=range]:focus {
input[type="range"]:focus {
outline: none;
}

input[type=range]:not(.pitchSlider)::-webkit-slider-runnable-track {
input[type="range"]:not(.pitchSlider)::-webkit-slider-runnable-track {
width: 10px;
height: 11px;
cursor: pointer;
Expand All @@ -20,9 +20,9 @@ input[type=range]:not(.pitchSlider)::-webkit-slider-runnable-track {
border: 0px solid #010101;
}

input[type=range]:not(.pitchSlider)::-webkit-slider-thumb {
input[type="range"]:not(.pitchSlider)::-webkit-slider-thumb {
box-shadow: 1px 1px 1px #000031;
border: 1px solid #00001E;
border: 1px solid #00001e;
height: 26px;
width: 26px;
border-radius: 15px;
Expand All @@ -32,11 +32,11 @@ input[type=range]:not(.pitchSlider)::-webkit-slider-thumb {
margin-top: -8px;
}

input[type=range]:not(.pitchSlider):focus::-webkit-slider-runnable-track {
input[type="range"]:not(.pitchSlider):focus::-webkit-slider-runnable-track {
background: #90c100;
}

input[type=range]:not(.pitchSlider)::-moz-range-track {
input[type="range"]:not(.pitchSlider)::-moz-range-track {
width: 100%;
height: 4px;
cursor: pointer;
Expand All @@ -47,17 +47,17 @@ input[type=range]:not(.pitchSlider)::-moz-range-track {
border: 0px solid #010101;
}

input[type=range]:not(.pitchSlider)::-moz-range-thumb {
input[type="range"]:not(.pitchSlider)::-moz-range-thumb {
box-shadow: 1px 1px 1px #000031;
border: 1px solid #00001E;
border: 1px solid #00001e;
height: 26px;
width: 26px;
border-radius: 15px;
background: #FFFFFF;
background: #ffffff;
cursor: pointer;
}

input[type=range]::-ms-track {
input[type="range"]::-ms-track {
width: 100%;
height: 11px;
cursor: pointer;
Expand All @@ -67,35 +67,35 @@ input[type=range]::-ms-track {
color: transparent;
}

input[type=range]::-ms-fill-lower {
input[type="range"]::-ms-fill-lower {
background: #90c100;
border: 0px solid #010101;
border-radius: 2px;
box-shadow: 1px 1px 1px #000000;
}

input[type=range]::-ms-fill-upper {
input[type="range"]::-ms-fill-upper {
background: #90c100;
border: 0px solid #010101;
border-radius: 2px;
box-shadow: 1px 1px 1px #000000;
}

input[type=range]::-ms-thumb {
input[type="range"]::-ms-thumb {
margin-top: 1px;
box-shadow: 1px 1px 1px #000031;
border: 1px solid #00001E;
border: 1px solid #00001e;
height: 26px;
width: 26px;
border-radius: 15px;
background: #FFFFFF;
background: #ffffff;
cursor: pointer;
}

input[type=range]:focus::-ms-fill-lower {
input[type="range"]:focus::-ms-fill-lower {
background: #90c100;
}

input[type=range]:focus::-ms-fill-upper {
input[type="range"]:focus::-ms-fill-upper {
background: #90c100;
}
}
Loading

0 comments on commit d121f38

Please sign in to comment.