react-saasify-chrisvxd
Version:
React components for Saasify web clients.
91 lines (73 loc) • 1.23 kB
CSS
.live-service-demo {
position: relative;
width: 650px;
max-width: 100%;
box-shadow: rgba(0, 0, 0, 0.2) 0px 0px 15px;
border-top-left-radius: 8px;
border-top-right-radius: 8px;
}
.tabs {
background: #dbdbdb;
border-top-left-radius: 8px;
border-top-right-radius: 8px;
display: flex;
flex-direction: row;
color: #333;
font-size: 0.9em;
padding: 0 2em;
user-select: none;
}
.tab {
border-top-left-radius: 3px;
border-top-right-radius: 3px;
cursor: pointer;
padding: 0.3em 1em;
background: transparent;
}
.tab:hover {
background: #ebebeb;
}
.selected-tab {
background: #fff;
}
.selected-tab:hover {
background: #f5f2f0;
}
.tab-content {
position: relative;
font-size: 0.85em;
}
.tab-pane {
display: none;
cursor: text;
}
.selected-tab-pane {
display: block;
}
.code {
border-bottom-left-radius: 8px;
border-bottom-right-radius: 8px;
height: 396px;
overflow: hidden ;
}
.icons {
position: absolute;
bottom: 1em;
right: 1em;
}
.run {
margin-right: 1em;
}
.info {
margin-right: 1em;
cursor: pointer;
}
.output img {
margin: 0 24px;
max-width: 100%;
}
@media only screen and (max-width: 767px) {
.code {
height: 20em;
}
}