diff --git a/scss/import/repository.scss b/scss/import/repository.scss index 048f416..b2b8ef0 100644 --- a/scss/import/repository.scss +++ b/scss/import/repository.scss @@ -240,18 +240,33 @@ .item { &.choose.reference { .dropdown.floating.filter { - &:hover { - .menu { - display: block !important; - } + @if $nojavascript == true { + cursor: default; } .button { background: $bg60; border-radius: $border-radius; color: $white; transition: background .2s; + @if $nojavascript == true { + cursor: default; + } &:hover { - background: $bg50; + @if $nojavascript == false { + background: $bg50; + } + } + span.text { + svg { + @if $nojavascript == true { + display: none; + } + } + } + i.dropdown.icon { + @if $nojavascript == true { + display: none; + } } } .data { @@ -350,8 +365,8 @@ } } &.blue { - box-shadow: inset 0 0 0 1px $red !important; - color: $red !important; + background: $red; + color: $white !important; } } input#repo-clone-url { @@ -388,23 +403,25 @@ &:hover { background: $bg50; .menu { - background: $bg60; - border: 1px solid $bg50; - box-shadow: none; @if $nojavascript == true { display: block !important; } - .item { - color: $white !important; - &:hover { - background: $bg50; - } - } } } .download.icon { color: $white; } + .menu { + background: $bg60; + border: 1px solid $bg50; + box-shadow: none; + .item { + color: $white !important; + &:hover { + background: $bg50; + } + } + } } } } @@ -1300,8 +1317,10 @@ background: $bg50; } .text { - @if $nojavascript == true { - display: none; + svg { + @if $nojavascript == true { + display: none; + } } } }