Changeset View
Changeset View
Standalone View
Standalone View
web/e.cash/components/navbar/styles.js
// Copyright (c) 2023 The Bitcoin developers | // Copyright (c) 2023 The Bitcoin developers | ||||
// Distributed under the MIT software license, see the accompanying | // Distributed under the MIT software license, see the accompanying | ||||
// file COPYING or http://www.opensource.org/licenses/mit-license.php. | // file COPYING or http://www.opensource.org/licenses/mit-license.php. | ||||
import styled from 'styled-components'; | import styled from 'styled-components'; | ||||
import { motion } from 'framer-motion'; | |||||
import { getAnimationSettings } from '/styles/framer-motion'; | |||||
export const NavbarOuter = styled.div` | export const NavbarOuter = styled(motion.div).attrs(() => | ||||
getAnimationSettings({ | |||||
delay: 1, | |||||
animateUp: false, | |||||
onScroll: false, | |||||
}), | |||||
)` | |||||
position: fixed; | position: fixed; | ||||
top: 0; | top: 0; | ||||
width: 100%; | width: 100%; | ||||
z-index: 9999; | z-index: 9999; | ||||
.announcementbar_ctn { | .announcementbar_ctn { | ||||
width: 100%; | width: 100%; | ||||
background-color: ${props => props.theme.colors.black}; | background-color: ${props => props.theme.colors.black}; | ||||
▲ Show 20 Lines • Show All 355 Lines • Show Last 20 Lines |