diff --git a/css/popup.css b/css/popup.css index 263def55..8afefb99 100644 --- a/css/popup.css +++ b/css/popup.css @@ -30,6 +30,14 @@ body { border: 0px } +.settingsbut:focus { + outline: 0; +} + +ul{ + margin-bottom: 20px; +} + .settings { position: absolute; bottom: 0; @@ -37,7 +45,10 @@ body { float: right; display: flex; vertical-align: middle; - margin-right: 5px; + box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12); + transition: 0.3s; + padding: 7px 7px 5px 7px; + border-radius: 7px; } .matbut { border: none; @@ -154,7 +165,7 @@ body { input{ width: 80px; - font-weight: bold; + border-radius: 5px; } input[type=number]::-webkit-inner-spin-button, input[type=number]::-webkit-outer-spin-button { @@ -162,4 +173,33 @@ input[type=number]::-webkit-outer-spin-button { -moz-appearance: none; appearance: none; margin: 0; +} + +::placeholder{ + color:#ff691a; +} + +.select-style { + border: 1.5px solid #ff691a; + width: 60px; + margin-right: 5px; + border-radius: 5px; + overflow: hidden; + display: none; + background: transparent no-repeat 90% 50%; +} + +.select-style select { + padding: 5px 8px; + width: 130%; + border: none; + color:#ff691a; + box-shadow: none; + background: transparent; + background-image: none; + -webkit-appearance: none; +} + +.select-style select:focus { + outline: none; } \ No newline at end of file diff --git a/js/popup.js b/js/popup.js index e67a33aa..5ec42efc 100644 --- a/js/popup.js +++ b/js/popup.js @@ -165,9 +165,11 @@ $(document).ready(function () { if($("#impexp>i").text() == 'close'){ $('#import').hide(); $('#export').hide(); + $("#impexp>i").css('font-size', ''); $("#impexp>i").text('import_export'); } else{ $("#impexp>i").text('close'); + $("#impexp>i").css('font-size', '17px'); $('#import').show(); $('#export').show(); } @@ -175,12 +177,16 @@ $(document).ready(function () { $("#search").click(function(){ if($("#search>i").text() == 'close') { $("#search>i").text('search'); + $("#search>i").css('font-size', ''); $("#class_id").hide(); + $("#semcon").hide(); $("#semesters").hide(); } else{ $("#search>i").text('close'); $("#class_id").show(); $("#semesters").show(); + $("#search>i").css('font-size', '17px'); + $("#semcon").show(); } }); $('#import').click(function () { diff --git a/popup.html b/popup.html index 36f308fb..d0932b6e 100644 --- a/popup.html +++ b/popup.html @@ -27,10 +27,12 @@