Playing with the "plus" containers. It looks a bit futuristic and stealthy while also keeping it simple.
Created
January 17, 2021 07:44
-
-
Save vineeth-pappu/50cfe6b233b8e5ffbaf2aef7bc5f1fdf to your computer and use it in GitHub Desktop.
Field Agents UI Design
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<link href='https://fonts.googleapis.com/css?family=Josefin+Sans' rel='stylesheet' type='text/css'> | |
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.6/css/bootstrap-theme.css" /> | |
<div class="content-container"> | |
<div class="plus plus-tl">+</div> | |
<div class="plus plus-tr">+</div> | |
<div class="plus plus-bl">+</div> | |
<div class="plus plus-br">+</div> | |
<div class="content-box-container"> | |
<section class="content-box"> | |
<h3>Field Agents</h3> | |
<section class="row data-row"> | |
<div class="col-xs-6">Will Baker</div> | |
<div class="col-xs-3">Berlin, DE</div> | |
<div class="col-xs-3">ACTIVE</div> | |
</section> | |
<section class="row data-row"> | |
<div class="col-xs-6">Uri Menzikov</div> | |
<div class="col-xs-3">Paris, FR</div> | |
<div class="col-xs-3">ACTIVE</div> | |
</section> | |
<section class="row data-row selected"> | |
<div class="col-xs-6">Daisy Santos</div> | |
<div class="col-xs-3">Milan, IT</div> | |
<div class="col-xs-3">INACTIVE</div> | |
</section> | |
<div class="action-bar"> | |
<button>Activate Agent</button> | |
<button>Add Agent</button> | |
</div> | |
</section> | |
</div> | |
</div> | |
<div class="text-box-container"> | |
<section class="text-box"> | |
<p>Run: START</p><br/> | |
<p>.content:before {<br/> | |
content: "";<br/> | |
position: fixed;<br/> | |
left: 0;<br/> | |
right: 0;<br/> | |
z-index: -1;<br/> | |
<br/> | |
display: block;<br/> | |
background-image: url('img-here');<br/> | |
background-size:cover;<br/> | |
width: 100%;<br/> | |
height: 100%;<br/> | |
<br/> | |
-webkit-filter: blur(5px);<br/> | |
-moz-filter: blur(5px);<br/> | |
-o-filter: blur(5px);<br/> | |
-ms-filter: blur(5px);<br/> | |
filter: blur(5px);<br/> | |
}</p> | |
</section> | |
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
body | |
background-color: #141414 | |
font-family: "Josefin Sans", sans-serif | |
.content-container | |
color: rgba(255,255,255,0.5) | |
width: 400px | |
min-height: 230px | |
position: relative | |
margin: 10em auto 0 | |
.plus | |
font-size: 22px | |
line-height: 15px | |
display: block | |
position: absolute | |
width: 15px | |
height: 15px | |
text-align: center | |
&.plus-tl | |
top: 0 | |
left: 0 | |
&.plus-tr | |
top: 0 | |
right: 0 | |
&.plus-bl | |
bottom: 0 | |
left: 0 | |
&.plus-br | |
bottom: 0 | |
right: 0 | |
.content-box-container | |
width: 100% | |
height: 100% | |
position: absolute | |
.content-box | |
margin: 15px | |
h3 | |
font-variant: small-caps | |
border-bottom: 1px solid rgba(255,255,255,0.1) | |
padding: 5px 0 | |
.data-row | |
padding: 3px | |
display: block | |
p | |
display: inline | |
&.selected | |
color: rgba(255,255,255,0.75) | |
.action-bar | |
margin: 25px 0 | |
button | |
background: rgba(0,0,0,0) | |
border: 1px solid rgba(255,255,255,0.25) | |
color: rgba(255,255,255,0.75) | |
float: right | |
font-variant: small-caps | |
margin: 0 0 0 10px | |
outline: none | |
padding: 5px 10px | |
transition: border 150ms ease-in-out | |
&:hover | |
border: 1px solid rgba(255,255,255,0.35) | |
outline: none | |
&:active | |
border: 1px solid rgba(255,255,255,0.5) | |
.text-box-container | |
color: rgba(255,255,255,0.15) | |
filter: blur(3px) | |
left: 2% | |
position: absolute | |
top: 3% | |
z-index: 10 | |
user-select: none | |
pointer: cursor | |
p | |
max-width: 250px |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css" rel="stylesheet" /> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment