Created
August 15, 2012 17:48
-
-
Save quezo/3361914 to your computer and use it in GitHub Desktop.
A web page created at CodePen.io.
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="UTF-8"> | |
<!-- IF PEN IS PRIVATE --> | |
<!-- <meta name="robots" content="noindex"> --> | |
<!-- END --> | |
<title>Responsive Admin Template · CodePen</title> | |
<!-- | |
Copyright (c) 2012 Christian Naths, http://codepen.io/christiannaths | |
Permission is hereby granted, free of charge, to any person obtaining | |
a copy of this software and associated documentation files (the | |
"Software"), to deal in the Software without restriction, including | |
without limitation the rights to use, copy, modify, merge, publish, | |
distribute, sublicense, and/or sell copies of the Software, and to | |
permit persons to whom the Software is furnished to do so, subject to | |
the following conditions: | |
The above copyright notice and this permission notice shall be | |
included in all copies or substantial portions of the Software. | |
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, | |
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF | |
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND | |
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE | |
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION | |
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION | |
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. | |
--> | |
<link rel="stylesheet" href="http://codepen.io/stylesheets/css/reset.css"> | |
<style> | |
*, div{ | |
-webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */ | |
-moz-box-sizing: border-box; /* Firefox, other Gecko */ | |
box-sizing: border-box; /* Opera/IE 8+ */ | |
vertical-align: top; | |
} | |
html{ | |
height: 100%; | |
padding: 16px; | |
background-color: #252326; | |
background: | |
url('http://christiannaths.com/code/admin-interface/dots.png') center center fixed, | |
url('http://christiannaths.com/code/admin-interface/route-66.jpg') center center no-repeat fixed; | |
/*background: url(dots.png) center center fixed, url(yellow-flowers.jpg) center center no-repeat fixed;*/ | |
/*background: #252326;*/ | |
/*background: #FBFBFB;*/ | |
-webkit-background-size: auto, cover; | |
-moz-background-size: auto, cover; | |
-o-background-size: auto, cover; | |
background-size: auto, cover; | |
} | |
body{ | |
height: 100%; | |
margin: 0; | |
font: 16px/24px normal "ColaborateLightRegular", trebuchet, sans-serif; | |
color: #616161; | |
color: #252326; | |
} | |
h1, h2, h3, h4, h5{ | |
margin-top: 0; | |
font-family: "Share-Regular", trebuchet, sans-serif; | |
font-family: "ColaborateThinRegular", trebuchet, sans-serif; | |
font-weight: normal; | |
font-size: 21px; | |
} | |
a{ | |
text-decoration: none; | |
color: #fff; | |
} | |
.brick{ | |
display: inline-block; | |
width: 100%; | |
padding: 16px; | |
margin-bottom: 8px; | |
margin-right: 8px; | |
background-color: #e7e7e7;; | |
} | |
.icon{ | |
display: inline-block; | |
float: right; | |
width: 30px; | |
height: 30px; | |
font-family: "ModernPictogramsNormal"; | |
font-size: 1.5em; | |
font-weight: 100; | |
color: rgba(255, 255, 255, 0.75); | |
line-height: 1.5; | |
text-align: center; | |
/*border: 2px solid rgba(255, 255, 255, 0.75);*/ | |
/*border-radius: 60px;*/ | |
} | |
header > hgroup{ | |
margin-bottom: 32px; | |
/*padding: 16px;*/ | |
/*background: #fbfbfb;*/ | |
color: #616161; | |
color: #fff; | |
/*border-left: 3px solid #616161;*/ | |
/*border-right: 3px solid #616161;*/ | |
} | |
header h1{ | |
margin-bottom: 0; | |
font-size: 28px; | |
/*color: #252326;*/ | |
} | |
header a{ | |
color: #a93447; | |
} | |
nav{ | |
margin-bottom: 32px; | |
} | |
nav ul{ | |
margin: 0; | |
padding: 0; | |
list-style: none; | |
} | |
nav ul li{ | |
display: inline; | |
} | |
nav ul li a.brick{ | |
position: relative; | |
font-family: 'ColaborateThinRegular'; | |
color: #616161; | |
color: #252326; | |
line-height: 2; | |
/*border: 1px solid rgba(0, 0, 0, 0.2);*/ | |
background-color: #252326; | |
background-color: #F3F3F3; | |
background-color: #e7e7e7; | |
border-left: 3px solid #616161 | |
} | |
nav ul li a.brick .icon{ | |
position: absolute; | |
right: 0; | |
top: 0; | |
height: 64px; | |
width: 64px; | |
font-size: 2em; | |
color: #fff; | |
line-height: 2.25; | |
background: #616161; | |
} | |
nav ul li a.dashboard{ | |
border-color: #B93861; | |
} | |
nav ul li a.dashboard .icon{ | |
background-color: #B93861; | |
} | |
nav ul li a.pages{ | |
border-color: #34ABD7; | |
} | |
nav ul li a.pages .icon{ | |
background-color: #34ABD7; | |
} | |
nav ul li a.navigation{ | |
border-color: #158A53; | |
} | |
nav ul li a.navigation .icon{ | |
background-color: #158A53; | |
} | |
nav ul li a.users{ | |
border-color: #D95235; | |
} | |
nav ul li a.users .icon{ | |
background-color: #D95235; | |
} | |
nav ul li a.settings{ | |
/*border-color: #34ABD7;*/ | |
} | |
nav ul li a.settings .icon{ | |
/*background-color: #34ABD7;*/ | |
} | |
#content > header{ | |
position: relative; | |
padding: 0px 72px 0px 0px; | |
} | |
#content .brick{ | |
position: relative; | |
} | |
#content .brick .close{ | |
position: absolute; | |
right: 8px; | |
top: 8px; | |
color: #616161; | |
} | |
#content.pages .brick.title{ | |
height: 120px; | |
border-left: 8px solid #34ABD7; | |
} | |
#content.pages .brick.identify{ | |
display: none; | |
} | |
#content.pages .brick.save{ | |
position: absolute; | |
right: 0; | |
bottom: 0; | |
width: 64px; | |
height: 54px; | |
min-height: 54px; | |
margin-right: 0; | |
color: #fff; | |
background: #158A53; | |
} | |
#content.pages .brick.close{ | |
position: absolute; | |
right: 0; | |
top: 0; | |
width: 64px; | |
height: 54px; | |
min-height: 54px; | |
margin-right: 0; | |
color: #fff; | |
background: #616161; | |
} | |
#content.pages .brick.save .icon, #content.pages .brick.close .icon{ | |
line-height: 1; | |
} | |
#content .brick.closed{ | |
width: 120px; | |
height: 120px; | |
} | |
#content .brick.closed hgroup a{ | |
display: none; | |
} | |
#content .brick.closed form{ | |
display: none; | |
} | |
#content .brick form textarea{ | |
width: 100%; | |
max-width: 100%; | |
min-height: 200px; | |
padding: 16px; | |
border: 1px solid #666 | |
border-radius: 0px; | |
-moz-border-radius: 0px; | |
-webkit-border-radius: 0px; | |
} | |
#content .brick form input[type="text"]{ | |
width: 100%; | |
padding: 8px 16px; | |
border: 1px solid #666; | |
font-size: 1.5em; | |
border-radius: 0px; | |
-moz-border-radius: 0px; | |
-webkit-border-radius: 0px; | |
} | |
@media all and (max-width: 799px){ | |
#content.pages .brick.close .text, #content.pages .brick.save .text{ | |
display: none; | |
} | |
} | |
@media all and (min-width: 800px){ | |
header > hgroup{ | |
height: 120px; | |
/*padding: 16px;*/ | |
/*background: #fbfbfb;*/ | |
color: #616161; | |
color: #fff; | |
/*border-left: 3px solid #616161;*/ | |
/*border-right: 3px solid #616161;*/ | |
} | |
nav{ | |
position: absolute; | |
width: 250px; | |
} | |
#content{ | |
min-height: 100%; | |
margin-left: 282px; | |
/*padding-top: 128px;*/ | |
font-size: 0; | |
/*background: rgba(255,255,255, 0.5);*/ | |
} | |
#content .brick{ | |
min-height: 120px; | |
min-width: 120px; | |
background: #252326; | |
background: #a93447; | |
background: #F3F3F3; | |
background-color: #e7e7e7; | |
font-size: 16px; | |
} | |
#content .brick hgroup h2{ | |
display: inline-block; | |
width: 80%; | |
} | |
#content .brick hgroup a{ | |
float: right; | |
line-height: 1.13; | |
} | |
#content.pages .brick.controls{ | |
/*border-left: 120px solid #34ABD7;*/ | |
position: relative; | |
padding-left: 136px; | |
} | |
#content > header{ | |
position: relative; | |
padding: 0px 128px; | |
} | |
#content.pages .brick.identify{ | |
display: block; | |
position: absolute; | |
left: 0; | |
top: 0; | |
color: #fff; | |
background: #34ABD7; | |
width: 120px; | |
} | |
#content.pages .brick.identify .icon{ | |
display: block; | |
height: 60px; | |
width: 60px; | |
float: none; | |
margin: 0 auto; | |
font-size: 5em; | |
color: #fff; | |
line-height: 1.25; | |
} | |
#content.pages .brick.title{ | |
border-left: none; | |
} | |
#content.pages .brick.save{ | |
position: absolute; | |
right: 0; | |
bottom: 0; | |
margin-right: 0; | |
color: #fff; | |
background: #158A53; | |
height: 56px; | |
min-height: 56px; | |
width: 120px; | |
} | |
#content.pages .brick.close{ | |
position: absolute; | |
right: 0; | |
top: 0; | |
width: 120px; | |
height: 56px; | |
min-height: 56px; | |
margin-right: 0; | |
color: #fff; | |
background: #616161; | |
} | |
#content.pages .brick.save .icon, #content.pages .brick.close .icon{ | |
line-height: 1; | |
} | |
#content.pages .brick.controls .icon{ | |
position: absolute; | |
left: 0; | |
top: 0; | |
height: 120px; | |
width: 120px; | |
background: #34ABD7; | |
color: #fff; | |
font-size: 5em; | |
} | |
input[type='submit'][value='%']{ | |
position: absolute; | |
background: #158A53; | |
border: none; | |
left: 0px; | |
bottom: 0px; | |
width: 60px; | |
height: 60px; | |
font-family: "ModernPictogramsNormal"; | |
font-weight: 100; | |
font-size: 2em; | |
color: #fff; | |
} | |
} | |
</style> | |
<style> | |
#codepen-footer, #codepen-footer * { | |
-webkit-box-sizing: border-box !important; | |
-moz-box-sizing: border-box !important; | |
box-sizing: border-box !important; | |
} | |
#codepen-footer { | |
display: block !important; | |
position: fixed !important; | |
top: auto !important; | |
bottom: 0 !important; | |
left: 0 !important; | |
right: auto !important; | |
width: 100% !important; | |
padding: 0 10px !important; | |
margin: 0 !important; | |
height: 30px !important; | |
line-height: 30px !important; | |
font-size: 12px !important; | |
color: #eeeeee !important; | |
background-color: #505050 !important; | |
text-align: left !important; | |
background: -webkit-linear-gradient(top, #505050, #383838) !important; | |
background: -moz-linear-gradient(top, #505050, #383838) !important; | |
background: -ms-linear-gradient(top, #505050, #383838) !important; | |
background: -o-linear-gradient(top, #505050, #383838) !important; | |
border-top: 1px solid black !important; | |
border-bottom: 1px solid black !important; | |
border-radius: 0 !important; | |
border-image: none !important; | |
box-shadow: inset 0 1px 0 #6e6e6e, 0 2px 2px rgba(0, 0, 0, 0.4) !important; | |
z-index: 300 !important; | |
font-family: "Lucida Grande", "Lucida Sans Unicode", Tahoma, sans-serif !important; | |
letter-spacing: 0 !important; | |
word-spacing: normal !important; | |
word-spacing: 0 !important; | |
-webkit-transform: none !important; | |
-moz-transform: none !important; | |
-ms-transform: none !important; | |
-o-transform: none !important; | |
transform: none !important; | |
} | |
#codepen-footer a { | |
color: #a7a7a7 !important; | |
text-decoration: none !important; | |
text-shadow: none !important; | |
border: 0 !important; | |
} | |
#codepen-footer a:hover { | |
color: white !important; | |
} | |
#codepen-footer:before, | |
#codepen-footer:after { | |
display: none; | |
} | |
</style> | |
<script> | |
// Kill alerts, confirmations and prompts | |
// window.alert = function(){}; we're going to allow alerts for now | |
window.confirm = function(){}; | |
window.prompt = function(){}; | |
window.open = function(){}; | |
window.print = function(){}; | |
</script> | |
<script src="http://codepen.io/javascripts/libs/prefixfree.min.js"></script> | |
</head> | |
<body> | |
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="utf-8" /> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" /> | |
<meta name="description" content="" /> | |
<meta name="viewport" content="width=device-width,initial-scale=1" /> | |
<title></title> | |
<link rel="stylesheet" type="text/css" href="http://christiannaths.com/code/admin-interface/fonts/stylesheet.css"> | |
</head> | |
<body> | |
<header> | |
<hgroup> | |
<h1>Example Client Website Name</h1> | |
<a href="#">← visit website</a> | |
</hgroup> | |
</header> | |
<nav> | |
<ul> | |
<li><a class="brick dashboard" href="#"><span class='icon'>S</span>Dashboard</a></li> | |
<li><a class="brick pages" href="#"><span class='icon'>K</span>Pages</a></li> | |
<li><a class="brick navigation" href="#"><span class='icon'>4</span>Navigation</a></li> | |
<li><a class="brick users" href="#"><span class='icon'>f</span>Users</a></li> | |
<li><a class="brick settings" href="#"><span class='icon'>w</span>Website Settings</a></li> | |
</ul> | |
</nav> | |
<div id="content" class="pages"> | |
<header> | |
<div class="brick identify"> | |
<span class="icon page">K</span> | |
</div> | |
<div class="brick title"> | |
<h2>Home Page</h2> | |
</div> | |
<div class="brick close"> | |
<span class="text">Close</span> | |
<span class="icon page">u</span> | |
</div> | |
<div class="brick save"> | |
<span class="text">Save</span> | |
<span class="icon page">%</span> | |
</div> | |
</header> | |
<div class="brick closed"> | |
<hgroup> | |
<h2>Main Headline</h2> | |
<a href="#" class="icon close">u</a> | |
<form> | |
<input type="text" /> | |
</form> | |
</hgroup> | |
</div> | |
<div class="brick closed"> | |
<hgroup> | |
<h2>About Me</h2> | |
<a href="#" class="icon close">u</a> | |
<form> | |
<textarea></textarea> | |
</form> | |
</hgroup> | |
</div> | |
<div class="brick closed"> | |
<hgroup> | |
<h2>Gallery</h2> | |
<a href="#" class="icon close">u</a> | |
<form> | |
<textarea></textarea> | |
</form> | |
</hgroup> | |
</div> | |
<div class="brick closed"> | |
<hgroup> | |
<h2>Page Settings</h2> | |
<a href="#" class="icon close">u</a> | |
<form> | |
<textarea></textarea> | |
</form> | |
</hgroup> | |
</div> | |
</div> | |
<footer> | |
</footer> | |
</body> | |
</html> | |
<script src="http://code.jquery.com/jquery-latest.js"></script> | |
<script> | |
(function() { | |
$(function(){ | |
$(document).on('click touchstart', '.brick.closed', function(event){ | |
var _this = $(this) | |
_this.animate({'width': '100%'}, 'fast', function(){ | |
_this.removeClass('closed'); | |
_this.addClass('open'); | |
}) | |
}); | |
$(document).on('click touchstart', '.brick a.close', function(event){ | |
var _brick = $(this).closest('.brick'); | |
// console.log(_brick); | |
_brick.animate({'width': '120px'}, 'fast', function(){ | |
_brick.removeClass('open'); | |
_brick.addClass('closed'); | |
}) | |
}); | |
}); | |
})(); | |
</script> | |
<div id="codepen-footer"> | |
<a style="color: #f73535 !important;" href="https://codepen.wufoo.com/forms/m7x3r3/def/field14=" target="_blank">Report Abuse</a> | |
| |
<a href="/christiannaths/pen/yCHGa" target="_blank">Edit this Pen</a> | |
</div> | |
<script> | |
var _gaq = _gaq || []; | |
_gaq.push(['_setAccount', 'UA-30102653-1']); | |
_gaq.push(['_trackPageview']); | |
(function() { | |
var ga = document.createElement('script'); ga.async = true; | |
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; | |
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); | |
})(); | |
</script> | |
</body> | |
</html> |
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
$(function(){ | |
$(document).on('click touchstart', '.brick.closed', function(event){ | |
var _this = $(this) | |
_this.animate({'width': '100%'}, 'fast', function(){ | |
_this.removeClass('closed'); | |
_this.addClass('open'); | |
}) | |
}); | |
$(document).on('click touchstart', '.brick a.close', function(event){ | |
var _brick = $(this).closest('.brick'); | |
// console.log(_brick); | |
_brick.animate({'width': '120px'}, 'fast', function(){ | |
_brick.removeClass('open'); | |
_brick.addClass('closed'); | |
}) | |
}); | |
}); |
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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="utf-8" /> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" /> | |
<meta name="description" content="" /> | |
<meta name="viewport" content="width=device-width,initial-scale=1" /> | |
<title></title> | |
<link rel="stylesheet" type="text/css" href="http://christiannaths.com/code/admin-interface/fonts/stylesheet.css"> | |
</head> | |
<body> | |
<header> | |
<hgroup> | |
<h1>Example Client Website Name</h1> | |
<a href="#">← visit website</a> | |
</hgroup> | |
</header> | |
<nav> | |
<ul> | |
<li><a class="brick dashboard" href="#"><span class='icon'>S</span>Dashboard</a></li> | |
<li><a class="brick pages" href="#"><span class='icon'>K</span>Pages</a></li> | |
<li><a class="brick navigation" href="#"><span class='icon'>4</span>Navigation</a></li> | |
<li><a class="brick users" href="#"><span class='icon'>f</span>Users</a></li> | |
<li><a class="brick settings" href="#"><span class='icon'>w</span>Website Settings</a></li> | |
</ul> | |
</nav> | |
<div id="content" class="pages"> | |
<header> | |
<div class="brick identify"> | |
<span class="icon page">K</span> | |
</div> | |
<div class="brick title"> | |
<h2>Home Page</h2> | |
</div> | |
<div class="brick close"> | |
<span class="text">Close</span> | |
<span class="icon page">u</span> | |
</div> | |
<div class="brick save"> | |
<span class="text">Save</span> | |
<span class="icon page">%</span> | |
</div> | |
</header> | |
<div class="brick closed"> | |
<hgroup> | |
<h2>Main Headline</h2> | |
<a href="#" class="icon close">u</a> | |
<form> | |
<input type="text" /> | |
</form> | |
</hgroup> | |
</div> | |
<div class="brick closed"> | |
<hgroup> | |
<h2>About Me</h2> | |
<a href="#" class="icon close">u</a> | |
<form> | |
<textarea></textarea> | |
</form> | |
</hgroup> | |
</div> | |
<div class="brick closed"> | |
<hgroup> | |
<h2>Gallery</h2> | |
<a href="#" class="icon close">u</a> | |
<form> | |
<textarea></textarea> | |
</form> | |
</hgroup> | |
</div> | |
<div class="brick closed"> | |
<hgroup> | |
<h2>Page Settings</h2> | |
<a href="#" class="icon close">u</a> | |
<form> | |
<textarea></textarea> | |
</form> | |
</hgroup> | |
</div> | |
</div> | |
<footer> | |
</footer> | |
</body> | |
</html> |
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
*, div{ | |
-webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */ | |
-moz-box-sizing: border-box; /* Firefox, other Gecko */ | |
box-sizing: border-box; /* Opera/IE 8+ */ | |
vertical-align: top; | |
} | |
html{ | |
height: 100%; | |
padding: 16px; | |
background-color: #252326; | |
background: | |
url('http://christiannaths.com/code/admin-interface/dots.png') center center fixed, | |
url('http://christiannaths.com/code/admin-interface/route-66.jpg') center center no-repeat fixed; | |
/*background: url(dots.png) center center fixed, url(yellow-flowers.jpg) center center no-repeat fixed;*/ | |
/*background: #252326;*/ | |
/*background: #FBFBFB;*/ | |
-webkit-background-size: auto, cover; | |
-moz-background-size: auto, cover; | |
-o-background-size: auto, cover; | |
background-size: auto, cover; | |
} | |
body{ | |
height: 100%; | |
margin: 0; | |
font: 16px/24px normal "ColaborateLightRegular", trebuchet, sans-serif; | |
color: #616161; | |
color: #252326; | |
} | |
h1, h2, h3, h4, h5{ | |
margin-top: 0; | |
font-family: "Share-Regular", trebuchet, sans-serif; | |
font-family: "ColaborateThinRegular", trebuchet, sans-serif; | |
font-weight: normal; | |
font-size: 21px; | |
} | |
a{ | |
text-decoration: none; | |
color: #fff; | |
} | |
.brick{ | |
display: inline-block; | |
width: 100%; | |
padding: 16px; | |
margin-bottom: 8px; | |
margin-right: 8px; | |
background-color: #e7e7e7;; | |
} | |
.icon{ | |
display: inline-block; | |
float: right; | |
width: 30px; | |
height: 30px; | |
font-family: "ModernPictogramsNormal"; | |
font-size: 1.5em; | |
font-weight: 100; | |
color: rgba(255, 255, 255, 0.75); | |
line-height: 1.5; | |
text-align: center; | |
/*border: 2px solid rgba(255, 255, 255, 0.75);*/ | |
/*border-radius: 60px;*/ | |
} | |
header > hgroup{ | |
margin-bottom: 32px; | |
/*padding: 16px;*/ | |
/*background: #fbfbfb;*/ | |
color: #616161; | |
color: #fff; | |
/*border-left: 3px solid #616161;*/ | |
/*border-right: 3px solid #616161;*/ | |
} | |
header h1{ | |
margin-bottom: 0; | |
font-size: 28px; | |
/*color: #252326;*/ | |
} | |
header a{ | |
color: #a93447; | |
} | |
nav{ | |
margin-bottom: 32px; | |
} | |
nav ul{ | |
margin: 0; | |
padding: 0; | |
list-style: none; | |
} | |
nav ul li{ | |
display: inline; | |
} | |
nav ul li a.brick{ | |
position: relative; | |
font-family: 'ColaborateThinRegular'; | |
color: #616161; | |
color: #252326; | |
line-height: 2; | |
/*border: 1px solid rgba(0, 0, 0, 0.2);*/ | |
background-color: #252326; | |
background-color: #F3F3F3; | |
background-color: #e7e7e7; | |
border-left: 3px solid #616161 | |
} | |
nav ul li a.brick .icon{ | |
position: absolute; | |
right: 0; | |
top: 0; | |
height: 64px; | |
width: 64px; | |
font-size: 2em; | |
color: #fff; | |
line-height: 2.25; | |
background: #616161; | |
} | |
nav ul li a.dashboard{ | |
border-color: #B93861; | |
} | |
nav ul li a.dashboard .icon{ | |
background-color: #B93861; | |
} | |
nav ul li a.pages{ | |
border-color: #34ABD7; | |
} | |
nav ul li a.pages .icon{ | |
background-color: #34ABD7; | |
} | |
nav ul li a.navigation{ | |
border-color: #158A53; | |
} | |
nav ul li a.navigation .icon{ | |
background-color: #158A53; | |
} | |
nav ul li a.users{ | |
border-color: #D95235; | |
} | |
nav ul li a.users .icon{ | |
background-color: #D95235; | |
} | |
nav ul li a.settings{ | |
/*border-color: #34ABD7;*/ | |
} | |
nav ul li a.settings .icon{ | |
/*background-color: #34ABD7;*/ | |
} | |
#content > header{ | |
position: relative; | |
padding: 0px 72px 0px 0px; | |
} | |
#content .brick{ | |
position: relative; | |
} | |
#content .brick .close{ | |
position: absolute; | |
right: 8px; | |
top: 8px; | |
color: #616161; | |
} | |
#content.pages .brick.title{ | |
height: 120px; | |
border-left: 8px solid #34ABD7; | |
} | |
#content.pages .brick.identify{ | |
display: none; | |
} | |
#content.pages .brick.save{ | |
position: absolute; | |
right: 0; | |
bottom: 0; | |
width: 64px; | |
height: 54px; | |
min-height: 54px; | |
margin-right: 0; | |
color: #fff; | |
background: #158A53; | |
} | |
#content.pages .brick.close{ | |
position: absolute; | |
right: 0; | |
top: 0; | |
width: 64px; | |
height: 54px; | |
min-height: 54px; | |
margin-right: 0; | |
color: #fff; | |
background: #616161; | |
} | |
#content.pages .brick.save .icon, #content.pages .brick.close .icon{ | |
line-height: 1; | |
} | |
#content .brick.closed{ | |
width: 120px; | |
height: 120px; | |
} | |
#content .brick.closed hgroup a{ | |
display: none; | |
} | |
#content .brick.closed form{ | |
display: none; | |
} | |
#content .brick form textarea{ | |
width: 100%; | |
max-width: 100%; | |
min-height: 200px; | |
padding: 16px; | |
border: 1px solid #666 | |
border-radius: 0px; | |
-moz-border-radius: 0px; | |
-webkit-border-radius: 0px; | |
} | |
#content .brick form input[type="text"]{ | |
width: 100%; | |
padding: 8px 16px; | |
border: 1px solid #666; | |
font-size: 1.5em; | |
border-radius: 0px; | |
-moz-border-radius: 0px; | |
-webkit-border-radius: 0px; | |
} | |
@media all and (max-width: 799px){ | |
#content.pages .brick.close .text, #content.pages .brick.save .text{ | |
display: none; | |
} | |
} | |
@media all and (min-width: 800px){ | |
header > hgroup{ | |
height: 120px; | |
/*padding: 16px;*/ | |
/*background: #fbfbfb;*/ | |
color: #616161; | |
color: #fff; | |
/*border-left: 3px solid #616161;*/ | |
/*border-right: 3px solid #616161;*/ | |
} | |
nav{ | |
position: absolute; | |
width: 250px; | |
} | |
#content{ | |
min-height: 100%; | |
margin-left: 282px; | |
/*padding-top: 128px;*/ | |
font-size: 0; | |
/*background: rgba(255,255,255, 0.5);*/ | |
} | |
#content .brick{ | |
min-height: 120px; | |
min-width: 120px; | |
background: #252326; | |
background: #a93447; | |
background: #F3F3F3; | |
background-color: #e7e7e7; | |
font-size: 16px; | |
} | |
#content .brick hgroup h2{ | |
display: inline-block; | |
width: 80%; | |
} | |
#content .brick hgroup a{ | |
float: right; | |
line-height: 1.13; | |
} | |
#content.pages .brick.controls{ | |
/*border-left: 120px solid #34ABD7;*/ | |
position: relative; | |
padding-left: 136px; | |
} | |
#content > header{ | |
position: relative; | |
padding: 0px 128px; | |
} | |
#content.pages .brick.identify{ | |
display: block; | |
position: absolute; | |
left: 0; | |
top: 0; | |
color: #fff; | |
background: #34ABD7; | |
width: 120px; | |
} | |
#content.pages .brick.identify .icon{ | |
display: block; | |
height: 60px; | |
width: 60px; | |
float: none; | |
margin: 0 auto; | |
font-size: 5em; | |
color: #fff; | |
line-height: 1.25; | |
} | |
#content.pages .brick.title{ | |
border-left: none; | |
} | |
#content.pages .brick.save{ | |
position: absolute; | |
right: 0; | |
bottom: 0; | |
margin-right: 0; | |
color: #fff; | |
background: #158A53; | |
height: 56px; | |
min-height: 56px; | |
width: 120px; | |
} | |
#content.pages .brick.close{ | |
position: absolute; | |
right: 0; | |
top: 0; | |
width: 120px; | |
height: 56px; | |
min-height: 56px; | |
margin-right: 0; | |
color: #fff; | |
background: #616161; | |
} | |
#content.pages .brick.save .icon, #content.pages .brick.close .icon{ | |
line-height: 1; | |
} | |
#content.pages .brick.controls .icon{ | |
position: absolute; | |
left: 0; | |
top: 0; | |
height: 120px; | |
width: 120px; | |
background: #34ABD7; | |
color: #fff; | |
font-size: 5em; | |
} | |
input[type='submit'][value='%']{ | |
position: absolute; | |
background: #158A53; | |
border: none; | |
left: 0px; | |
bottom: 0px; | |
width: 60px; | |
height: 60px; | |
font-family: "ModernPictogramsNormal"; | |
font-weight: 100; | |
font-size: 2em; | |
color: #fff; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment