Gems/Metastream/Files/metastream_sample.css (46 lines of code) (raw):
/*
*
* Copyright 2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in
* compliance with the License. A copy of the License is located at
*
* http://aws.amazon.com/apache2.0/
*
* or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
* specific language governing permissions and limitations under the License.
*
*/
html, body {
height: 100%;
}
body {
margin: 0 auto;
overflow: hidden;
display: flex;
justify-content: center;
align-items: center;
font-family: 'Roboto Condensed', sans-serif;
font-size: 16px;
}
.container {
height: 100%;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}
.map {
width: 512px;
height: 512px;
position: relative;
background-color: rgba(0, 0, 0, 0.5);
}
.position {
width: 32px;
height: 32px;
position: absolute;
bottom: calc(50% - 16px);
left: calc(50% - 16px);
border-radius: 50%;
background-color: #ffff44;
border: 3px solid #000000;
transform: rotate(45deg);
}
.arrow {
width: calc(50% + 3px);
height: calc(50% + 3px);
position: absolute;
top: -3px;
left: -3px;
background-color: #ffff44;
border-left: 3px solid #000000;
border-top: 3px solid #000000;
}