Skip to content

Commit

Permalink
v2.5.0
Browse files Browse the repository at this point in the history
  • Loading branch information
jokd committed Feb 23, 2022
1 parent e86da0f commit 0b1ff89
Show file tree
Hide file tree
Showing 12 changed files with 197,377 additions and 13,209 deletions.
208 changes: 206 additions & 2 deletions build/css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,12 @@
.o-ui .dropdown li:hover {
background-color: #eee;
cursor: pointer; }
.o-ui .dropdown li:focus {
background-color: #eee;
cursor: pointer; }
.o-ui .dropdown li:focus:not(:focus-visible) {
background-color: #000;
cursor: pointer; }
.o-ui .flex {
display: flex; }
.o-ui .flex.row {
Expand Down Expand Up @@ -312,7 +318,11 @@
width: 100%;
min-width: 0; }
.o-ui input[type=range]:focus {
outline: none; }
outline: none;
border: 1px solid black; }
.o-ui input[type=range]:focus:not(:focus-visible) {
outline: none;
border: 0; }
.o-ui input[type=range]::-webkit-slider-runnable-track {
animation: 0.2s;
background: #008ff5;
Expand Down Expand Up @@ -443,15 +453,33 @@
.o-ui .button.border.active:hover,
.o-ui button.border.active:hover {
border: 2px solid #b5b5b5; }
.o-ui .button.border.active:focus,
.o-ui button.border.active:focus {
border: 2px solid #b5b5b5; }
.o-ui .button.border.active:focus:not(:focus-visible),
.o-ui button.border.active:focus:not(:focus-visible) {
border: 2px solid #b5b5b5; }
.o-ui .button.border:hover,
.o-ui button.border:hover {
border: 2px solid #dbdbdb; }
.o-ui .button.border:focus,
.o-ui button.border:focus {
border: 2px solid #dbdbdb; }
.o-ui .button.border:focus:not(:focus-visible),
.o-ui button.border:focus:not(:focus-visible) {
border: 2px solid #dbdbdb; }
.o-ui .button.border.primary,
.o-ui button.border.primary {
border: 2px solid #33aaff; }
.o-ui .button.border.primary:hover,
.o-ui button.border.primary:hover {
border: 2px solid #0080db; }
.o-ui .button.border.primary:focus,
.o-ui button.border.primary:focus {
border: 2px solid #0080db; }
.o-ui .button.border.primary:focus:not(:focus-visible),
.o-ui button.border.primary:focus:not(:focus-visible) {
border: 2px solid #0080db; }
.o-ui .button.border.primary.active,
.o-ui button.border.primary.active {
border: 2px solid #0080db; }
Expand Down Expand Up @@ -485,6 +513,76 @@
.o-ui button:hover.grey-lightest:hover,
.o-ui .button:hover.grey-lightest:hover {
background-color: #dbdbdb; }
.o-ui button:focus.light:focus,
.o-ui .button:focus.light:focus {
background-color: #b5b5b5;
border: 1px solid black; }
.o-ui button:focus.primary:focus,
.o-ui .button:focus.primary:focus {
background-color: #0080db;
border: 1px solid black; }
.o-ui button:focus.danger:focus,
.o-ui .button:focus.danger:focus {
background-color: #ae332d;
border: 1px solid black; }
.o-ui button:focus.grey-light:focus,
.o-ui .button:focus.grey-light:focus {
background-color: #7a7a7a;
border: 1px solid black; }
.o-ui button:focus.grey-lighter:focus,
.o-ui .button:focus.grey-lighter:focus {
background-color: #b5b5b5;
border: 1px solid black; }
.o-ui button:focus.grey-lightest:focus,
.o-ui .button:focus.grey-lightest:focus {
background-color: #dbdbdb;
border: 1px solid black; }
.o-ui button:focus.icon-small:focus,
.o-ui .button:focus.icon-small:focus {
border: 1px solid black; }
.o-ui button:focus.icon-smaller:focus,
.o-ui .button:focus.icon-smaller:focus {
border: 1px solid black; }
.o-ui button:focus.icon-smallest:focus,
.o-ui .button:focus.icon-smallest:focus {
border: 1px solid black; }
.o-ui button:focus:not(:focus-visible).light:focus:not(:focus-visible),
.o-ui .button:focus:not(:focus-visible).light:focus:not(:focus-visible) {
background-color: white;
border: 0; }
.o-ui button:focus:not(:focus-visible).light:focus:not([class*='icon']):not(:focus-visible),
.o-ui .button:focus:not(:focus-visible).light:focus:not([class*='icon']):not(:focus-visible) {
background-color: #dbdbdb;
border: 0; }
.o-ui button:focus:not(:focus-visible).primary:focus:not(:focus-visible),
.o-ui .button:focus:not(:focus-visible).primary:focus:not(:focus-visible) {
background-color: #008ff5;
border: 0; }
.o-ui button:focus:not(:focus-visible).danger:focus:not(:focus-visible),
.o-ui .button:focus:not(:focus-visible).danger:focus:not(:focus-visible) {
background-color: #c33932;
border: 0; }
.o-ui button:focus:not(:focus-visible).grey-light:focus:not(:focus-visible),
.o-ui .button:focus:not(:focus-visible).grey-light:focus:not(:focus-visible) {
background-color: #b5b5b5;
border: 0; }
.o-ui button:focus:not(:focus-visible).grey-lighter:focus:not(:focus-visible),
.o-ui .button:focus:not(:focus-visible).grey-lighter:focus:not(:focus-visible) {
background-color: #dbdbdb;
border: 0; }
.o-ui button:focus:not(:focus-visible).grey-lightest:focus:not(:focus-visible),
.o-ui .button:focus:not(:focus-visible).grey-lightest:focus:not(:focus-visible) {
background-color: #ebebeb;
border: 0; }
.o-ui button:focus:not(:focus-visible).icon-small:focus:not(:focus-visible),
.o-ui .button:focus:not(:focus-visible).icon-small:focus:not(:focus-visible) {
border: 0; }
.o-ui button:focus:not(:focus-visible).icon-smaller:focus:not(:focus-visible),
.o-ui .button:focus:not(:focus-visible).icon-smaller:focus:not(:focus-visible) {
border: 0; }
.o-ui button:focus:not(:focus-visible).icon-smallest:focus:not(:focus-visible),
.o-ui .button:focus:not(:focus-visible).icon-smallest:focus:not(:focus-visible) {
border: 0; }
.o-ui button.active.light:not([class*='icon']),
.o-ui .button.active.light:not([class*='icon']) {
background-color: #dbdbdb; }
Expand Down Expand Up @@ -1317,6 +1415,15 @@
.o-ui .no-group-indication {
border-left: 0 solid #008ff5;
transition: border-left 0.3s linear; }
.o-ui .popup-menu {
position: absolute;
background-color: white;
border-radius: 0.5rem;
box-shadow: 0 4px 6px 0 rgba(0, 0, 0, 0.2);
overflow-x: hidden;
overflow-y: hidden; }
.o-ui .popup-menu > ul > li {
margin: 0.5rem; }

.app {
background-color: rgba(0, 0, 0, 0.1);
Expand All @@ -1330,6 +1437,48 @@ body {
padding: 0;
width: 100%; }

.o-bookmark-button:focus {
background-color: #dbdbdb; }

.o-bookmark-button.light:focus {
background-color: #dbdbdb; }

.o-bookmark-button.primary:focus {
background-color: #0080db; }

.o-bookmark-button.danger:focus {
background-color: #ae332d; }

.o-bookmark-button.grey-light:focus {
background-color: #b5b5b5; }

.o-bookmark-button.grey-lighter:focus {
background-color: #dbdbdb; }

.o-bookmark-button.grey-lightest:focus {
background-color: #ebebeb; }

.o-bookmark-button:focus:not(:focus-visible) {
background-color: white; }

.o-bookmark-button.light:focus:not(:focus-visible) {
background-color: white; }

.o-bookmark-button.primary:focus:not(:focus-visible) {
background-color: #008ff5; }

.o-bookmark-button.danger:focus:not(:focus-visible) {
background-color: #c33932; }

.o-bookmark-button.grey-light:focus:not(:focus-visible) {
background-color: #b5b5b5; }

.o-bookmark-button.grey-lighter:focus:not(:focus-visible) {
background-color: #dbdbdb; }

.o-bookmark-button.grey-lightest:focus:not(:focus-visible) {
background-color: #ebebeb; }

.o-map {
display: flex;
flex-direction: column;
Expand Down Expand Up @@ -1558,6 +1707,12 @@ body {
right: auto; }
.o-map .ol-attribution li a {
color: #bbb; }
.o-map .ol-attribution li a:focus {
color: #fff;
text-decoration: underline; }
.o-map .ol-attribution li a:focus:not(:focus-visible) {
color: #bbb;
text-decoration: none; }
.o-map .ol-overlaycontainer-stopevent {
z-index: unset !important; }
.o-map .ol-overlaycontainer,
Expand All @@ -1582,6 +1737,7 @@ body {
transform-style: preserve-3d;
touch-action: pan-Y;
overflow: hidden;
margin: 0;
padding: 0;
white-space: nowrap;
display: flex;
Expand Down Expand Up @@ -2258,6 +2414,12 @@ body {
.o-map .o-footer a:hover {
color: white;
text-decoration: underline; }
.o-map .o-footer a:focus {
color: white;
text-decoration: underline; }
.o-map .o-footer a:focus:not(:focus-visible) {
color: white;
text-decoration: none; }
.o-map .o-footer .o-footer-middle {
float: left;
position: relative;
Expand Down Expand Up @@ -2350,6 +2512,12 @@ body {
line-height: 1.25rem;
padding: 0 15px;
position: relative; }
.o-map .o-position-button:focus {
background-color: #fff;
color: #000; }
.o-map .o-position-button:focus:not(:focus-visible) {
background-color: #000;
color: #fff; }
.o-map .o-position-center-button {
background-color: rgba(0, 0, 0, 0.8);
border-radius: 50%;
Expand All @@ -2362,6 +2530,16 @@ body {
position: relative;
vertical-align: middle;
z-index: 100; }
.o-map .o-position-center-button:focus {
background-color: rgba(255, 255, 255, 0.7);
color: #fff; }
.o-map .o-position-center-button:focus .o-icon-position {
fill: #000; }
.o-map .o-position-center-button:focus:not(:focus-visible) {
background-color: rgba(0, 0, 0, 0.8);
color: #fff; }
.o-map .o-position-center-button:focus:not(:focus-visible) .o-icon-position {
fill: #fff; }
.o-map .o-position-center-button.o-active {
background-color: rgba(255, 255, 255, 0.7);
color: #fff; }
Expand Down Expand Up @@ -2435,6 +2613,7 @@ body {
.o-map .o-measure-button-true .o-icon-minicons-square-vector,
.o-map .o-measure-button-true .o-icon-minicons-line-vector {
fill: #008ff5; }
.o-map .o-measure-snap .icon svg,
.o-map .o-measure-length .icon svg,
.o-map .o-measure-area .icon svg {
border-radius: 0;
Expand Down Expand Up @@ -2536,6 +2715,19 @@ body {
position: absolute;
top: 40px;
z-index: 1; }
.o-map .awesomplete.black > ul {
background: #000 !important;
box-sizing: border-box;
color: #fff;
left: 0px;
list-style: none;
margin: 0;
min-width: 100%;
padding: 0;
position: absolute;
top: auto;
bottom: 100%;
z-index: 9999999; }
.o-map .awesomplete > ul:empty {
display: none; }
.o-map .awesomplete > ul {
Expand Down Expand Up @@ -2587,8 +2779,12 @@ body {
.o-map .awesomplete mark {
background: none;
font-weight: bold; }
.o-map .black mark {
color: #aaa; }
.o-map .awesomplete li .suggestion:hover mark {
background-color: #eeeeee; }
.o-map .black li .suggestion:hover mark {
background-color: #fff; }
.o-map .awesomplete li[aria-selected='true'] mark {
background-color: #eeeeee; }
.o-map[class*=o-media-l-m] .awesomplete > ul {
Expand Down Expand Up @@ -2684,7 +2880,7 @@ body {
width: 240px;
word-wrap: break-word; }
.o-map #o-identify-carousel > .o-identify-content {
overflow-y: scroll; }
overflow-y: auto; }
.o-map .o-image-content {
border: 1px solid #ddd;
border-radius: 4px;
Expand Down Expand Up @@ -2893,6 +3089,14 @@ body {
border-color: #ff9500; }
.o-map .validate > input:invalid {
border-color: #ff9500; }
.o-map .validate > textarea:required:invalid {
border-color: #ff9500; }
.o-map .validate > select:required:invalid {
border-color: #ff9500; }
.o-map .validate > select:required:invalid {
border-color: #ff9500; }
.o-map input[type="searchList-input"]:required:invalid {
border-color: #ff9500; }
.o-map .o-scale {
font-family: Arial, 'Helvetica Neue', sans-serif;
font-size: .625rem;
Expand Down
3 changes: 3 additions & 0 deletions build/css/svg/fa-icons.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 2 additions & 0 deletions build/css/svg/material-icons.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 6 additions & 2 deletions build/data/origo-cities-3857.geojson
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@
{ "type": "Feature", "properties": { "id": 13, "name": "Härnösand" }, "geometry": { "type": "Point", "coordinates": [ 1996548, 9010642 ] } },
{ "type": "Feature", "properties": { "id": 14, "name": "Kramfors" }, "geometry": { "type": "Point", "coordinates": [ 1979837, 9083261 ] } },
{ "type": "Feature", "properties": { "id": 15, "name": "Sollefteå" }, "geometry": { "type": "Point", "coordinates": [ 1922083, 9141271 ] } },
{ "type": "Feature", "properties": { "id": 16, "name": "Örnsköldsvik" }, "geometry": { "type": "Point", "coordinates": [ 2082559, 9171375 ] } }
{ "type": "Feature", "properties": { "id": 16, "name": "Örnsköldsvik" }, "geometry": { "type": "Point", "coordinates": [ 2082559, 9171375 ] } },
{ "type": "Feature", "properties": { "id": 17, "name": "Norberg" }, "geometry": { "type": "Point", "coordinates": [ 1773055, 8414134 ] } },
{ "type": "Feature", "properties": { "id": 18, "name": "Avesta" }, "geometry": { "type": "Point", "coordinates": [ 1801204, 8431717 ] } },
{ "type": "Feature", "properties": { "id": 19, "name": "Fagersta" }, "geometry": { "type": "Point", "coordinates": [ 1758647, 8400343 ] } },
{ "type": "Feature", "properties": { "id": 20, "name": "Kristianstad" }, "geometry": { "type": "Point", "coordinates": [ 1575633, 7565358 ] } }
]
}
}
4 changes: 2 additions & 2 deletions build/data/origo-mask-3857.geojson

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions build/index.json
Original file line number Diff line number Diff line change
Expand Up @@ -87,10 +87,10 @@
20048966.10
],
"center": [
1770000,
8770000
1810000,
8390000
],
"zoom": 7,
"zoom": 5.7,
"resolutions": [
156543.03,
78271.52,
Expand Down
Loading

0 comments on commit 0b1ff89

Please sign in to comment.