Skip to content

Commit

Permalink
Merge pull request #13 from devgateway/SEEDS-357
Browse files Browse the repository at this point in the history
SEEDS-357
  • Loading branch information
lilitk authored Aug 27, 2020
2 parents faa14f3 + 8479f75 commit 35d1229
Show file tree
Hide file tree
Showing 2 changed files with 46 additions and 0 deletions.
45 changes: 45 additions & 0 deletions app/views/styles/theme-grid/theme-grid.scss
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,8 @@ $border-color: #eeeeee;
$border-color-dark: #cccccc;
$body-bg: #ffffff;
$text-color: #4e514e;
$offline-red: #A30000;
$offline-red-hover: #AD0000;

$checkbox-size: 17px;
$base-unit: 20px;
Expand Down Expand Up @@ -552,3 +554,46 @@ i.icon.icon-minus{
width: 95px;
}
}
// offline mode
.offline-enabled{
margin-top: $base-unit + 10;
}
.offline-enabled__queue-length{
background-color: $offline-red;
color: $body-bg;
font-weight: bold;
}
.offline-enabled__queue-length:hover{
backgrond-color: $offline-red-hover;
color: $body-bg;
}
.offline-enabled__icon{
background-image: url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDI0LjIuMSwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMSIgaWQ9IkxheWVyXzEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHg9IjBweCIgeT0iMHB4IgoJIHZpZXdCb3g9IjAgMCA1MDAgNTAwIiBzdHlsZT0iZW5hYmxlLWJhY2tncm91bmQ6bmV3IDAgMCA1MDAgNTAwOyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxzdHlsZSB0eXBlPSJ0ZXh0L2NzcyI+Cgk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dGg9IjUzLjciIGhlaWdodD0iMTEzLjYiLz4KCTxyZWN0IHg9Ijk4LjUiIHk9IjM2Mi4zIiBjbGFzcz0ic3QzIiB3aWR0aD0iNTMuNyIgaGVpZ2h0PSI3Ni42Ii8+CjwvZz4KPC9zdmc+Cg==") !important;
background-size: $extend $extend;
}
.side-slider__toggle.open{
width: 0px;
height: 0px;
border-top: 10px solid transparent;
border-bottom: 10px solid transparent;
border-left: 10px solid $theme-green;
border-right: 1px solid transparent;
outline:none;
&:hover{
border-top: 10px solid transparent;
border-bottom: 10px solid transparent;
border-left: 10px solid $text-color;
border-right: 1px solid transparent;
}
}

.show-side-slider .side-slider__toggle.close{
width: 0px;
height: 0px;
border-top: 10px solid transparent;
border-bottom: 10px solid transparent;
border-left: 10px solid $body-bg;
border-right: 1px solid transparent;
left: -15px;
outline:none;
}
1 change: 1 addition & 0 deletions public/Malawi_Government_V4.xml

Large diffs are not rendered by default.

0 comments on commit 35d1229

Please sign in to comment.