Commit 03fbd626 by Dányi Bence

style.css refactoring

parent 69615f92
*{margin:0;padding:0;}
.clear{
clear: both;
}
a{
text-decoration: none;
}
abbr{
border-bottom: 1px dotted #666;
}
a:link,a:visited{
color:black;
}
.contentblock
{
background-color:#ccc;
border-radius:4px;
border:1px solid #aaa;
box-shadow:0 0 30px rgba(0,0,0,0.3);
margin:20px;
}
.contentblock p,dl
{
margin:0;
padding:5px;
}
.contentblock{
list-style: none;
}
.wm-list{
list-style: none;
}
.contentblock h2
{
background-color:#000;
background-image:url(hexabar.png);
background-position:right center;
background-repeat:no-repeat;
border-radius:4px;
border-bottom-left-radius: 0px;
border-bottom-right-radius: 0px;
color:#eee;
font-size:1.5em;
margin-top:0;
padding:10px;
}
#modal-container .container{
max-height: 400px;
overflow: auto;
}
#new-wm-tooltip{
position: relative;
}
#new-wm-tooltip-container{
margin: 10px 10px 5px 150px;
border-radius: 4px;
border: 1px solid #888;
background: #FFFF66;
box-shadow: 0 0 20px rgba(0,0,0,0.2);
}
#new-wm-tooltip #new-wm-tooltip-container p{
text-align: left;
font-size: 0.8em;
word-spacing: 2px;
}
#new-wm-tooltip-container:after{
content: "";
position: absolute;
left: 300px;
border-width: 15px;
border-style: solid;
border-color: #FFFF66 transparent transparent transparent;
}
#template .wm .summary .name{
background-image: url(icons/document-template.png)
}
#new-template-button .name{
background-image: url(icons/document--plus.png) !important
}
#modal-container ul{
list-style: none;
}
#modal-container .wizard li{
border-bottom: 1px dotted #999;
}
#modal-container .wizard label{
float: left;
padding: 5px;
margin: 10px 5px;
}
.wizard h2{
margin: 10px 0;
}
.wizard .progress .bar-container{
border: 1px solid #666;
box-shadow: 0 0 20px rgba(0,0,0,0.2);
border-radius: 4px;
height: 20px;
position: absolute;
z-index: -1;
width: 500px;
}
.wizard .progress .bar{
height: 20px;
background-color: rgb(102, 196, 0);
}
.wizard .progress{
text-align: center;
}
.wizard input[type=text] {
display: block;
float: right;
padding: 5px;
margin: 10px 5px;
width: 200px;
text-align: right;
box-shadow: 0 0 10px rgba(0,0,0,0.3);
border: none;
border-radius: 4px;
}
.wizard input:focus{
box-shadow: 0 0 12px rgb(128,128,255);
outline: none;
}
.wizard textarea{
float: right;
padding: 5px;
margin: 10px 5px;
width: 300px;
height: 100px;
font-family:'Metrophobic',sans-serif;
font-size: 12px;
text-align: right;
box-shadow: 0 0 10px rgba(0,0,0,0.3);
border: none;
}
.wizard ul.radio{
float: right;
}
.wizard .radio li{
float: left;
padding: 5px;
margin: 10px 5px;
border-bottom: none !important;
}
.wizard .radio label{
float: none !important;
}
.wizard nav a{
text-decoration: underline;
display: block;
}
.wizard nav .prev{
float: left;
}
.wizard nav .next{
float: right;
}
.wm .summary{
padding: 15px 5px;
border-top: 1px solid #888;
cursor: pointer;
background-color: #c1c1c1;
}
.wm .details{
border-top: 1px solid #888;
background-color: #d1d1d1;
padding: 15px 5px;
display: none;
}
.wm.opened .details{
display: block;
}
.wm .details h3{
font-weight: normal;
}
.wm .details ul{
list-style: none;
margin: 10px 3px;
}
.wm .details li{
margin: 12px 0px;
padding: 3px 0px 3px 20px;
border-bottom: 1px dotted #aaa;
background-repeat: no-repeat;
background-position: 0px 4px;
}
.wm .details .name{
float: none;
background-image: url(icons/computer.png);
}
.wm .details .os-win{
background-image: url(icons/windows.png)
}
.wm .details .os-linux{
background-image: url(icons/animal-penguin.png)
}
.wm .details .type{
background-image: url(icons/box-share.png)
}
.wm .details .date{
background-image: url(icons/calendar-day.png)
}
.wm .details .cpu{
background-image: url(icons/processor.png)
}
.wm .details .memory{
background-image: url(icons/memory.png)
}
.wm .details .count{
background-image: url(icons/documents-stack.png)
}
.wm .details .value{
float: right;
width: 200px;
text-align: right;
}
.wm .summary.unfinished{
background-color: #FFFF66;
}
.wm .details .description{
font-size: inherit;
background-image: url(icons/document-snippet.png)
}
.wm .details .description .value{
font-size: 0.8em;
}
.wm .details a{
text-decoration: underline;
}
.wm .summary:hover{
background-color: #b1b1b1;
}
.wm .name{
float: left;
}
.wm .status{
text-align: right;
float: right;
width: 60px;
}
.wm .id{
float: right;
width: 30px;
}
.file-list{
list-style: none;
}
.file-list .name{
float: left;
}
.file-list .info{
float: right;
width: 60px;
text-align: right;
}
.wm .actions{
float: right;
margin-left: 5px;
display: none;
}
.wm:hover .actions, .wm.opened .actions{
display: block;
}
.wm .actions a{
height: 16px;
width: 16px;
display: block;
float: left;
margin-left: 2px;
}
.wm .actions a:hover{
box-shadow: 0 0 10px rgba(0,0,0,0.4);
background-color: rgba(0,0,0,0.4);
}
.wm .name{
padding-left: 25px;
background-repeat: no-repeat;
background-position: 0 0;
}
.filetype-c {
background-image: url(icons/document-visual-studio.png);
}
.filetype-text {
background-image: url(icons/document.png);
}
.filetype-image {
background-image: url(icons/document-image.png);
}
.filetype-zip {
background-image: url(icons/folder-zipper.png);
}
.filetype-folder {
background-image: url(icons/folder-horizontal.png);
}
.filetype-more {
background-image: url(icons/arrow-circle-double.png);
}
.filetype-up {
background-image: url(icons/upload-cloud.png);
}
.wm.new .name{
background-image: url(icons/computer--plus.png);
}
.wm-on{
background-image: url(icons/computer-cloud.png);
}
.wm-off{
background-image: url(icons/computer-off.png);
}
.wm-list.modal{
border-radius: 4px;
border: 1px solid #666;
}
.wm-list.modal input{
padding: 2px 10px;
}
.wm-list.modal .wm:nth-child(1) .summary{
border-top: none;
}
p.rightbuttons p.rightbuttons
{ {
float:right; float:right;
...@@ -351,112 +25,6 @@ th.fieldset ...@@ -351,112 +25,6 @@ th.fieldset
padding:10px; padding:10px;
} }
html
{
min-height:100%;
margin:0;
padding:0;
}
body
{
min-height:100%;
font-family:'Metrophobic',sans-serif;
font-size:.9em;
background:#dadada url(site_bgr.png) repeat-x;
background-position:80px 0;
margin:0;
padding:0;
overflow: scroll;
}
#header
{
height:80px;
background-color:#072c61;
background-image:url(bme_feher2.png);
background-repeat:no-repeat;
background-position:20px 18px;
border-bottom:3px solid #0B4599;
box-shadow:0 0 30px rgba(0,0,0,0.4);
margin:0;
padding:0 0 0 200px;
}
div#header #loginblock
{
position:absolute;
right:0;
top:0;
background-color:#000;
background-image:url(hexabar.png);
background-position:center center;
border-radius:0 0 0 10px;
color:#fff;
font-weight:700;
margin:0;
padding:7px;
}
div#header #loginblock p
{
margin:0;
}
div#header h1
{
font-size:2em;
line-height:80px;
float:left;
color:#fff;
margin:0;
padding:0 1em;
}
div#content
{
width:970px;
text-align:left;
margin:0 auto;
}
div.boxes
{
width:480px;
float:left;
}
div.box
{
background-color:#000;
background-image:url(hexa.png);
background-position:center 30%;
background-repeat:no-repeat;
color:#fff;
font-weight:700;
line-height:1.5em;
width:400px;
border-radius:10px;
border-top-width:30px;
margin:10px 420px 10px 10px;
padding:2px;
}
div.box h3
{
color:#fff;
text-align:center;
margin:0;
padding:3px;
}
div.box .content
{
min-height:100px;
margin:0;
padding:5px;
}
ul.messagelist ul.messagelist
{ {
text-align:left; text-align:left;
...@@ -588,29 +156,3 @@ ul.errorlist,td ul.errorlist ...@@ -588,29 +156,3 @@ ul.errorlist,td ul.errorlist
margin:0!important; margin:0!important;
padding:0!important; padding:0!important;
} }
#modal{
position: absolute;
width: 100%;
height: 100%;
}
#shadow{
position: absolute;
height: 100%;
width: 100%;
background-color: rgba(0,0,0,0.6);
}
#modal-container{
width: 500px;
position: fixed;
left:50%;
top:50%;
margin-left: -270px;
margin-top: -200px;
min-height: 200px;
background-color: #fff;
border-radius: 4px;
padding: 20px;
box-shadow: 0 0 30px rgba(0,0,0,0.4);
border: 1px solid #333;
}
...@@ -7,10 +7,10 @@ ...@@ -7,10 +7,10 @@
<link href='http://fonts.googleapis.com/css?family=Metrophobic' rel='stylesheet' type='text/css'> <link href='http://fonts.googleapis.com/css?family=Metrophobic' rel='stylesheet' type='text/css'>
<link rel="icon" type="image/png" href="/static/favicon.png" /> <link rel="icon" type="image/png" href="/static/favicon.png" />
<link rel="icon" type="image/png" href="one/static/favicon.png"> <link rel="icon" type="image/png" href="one/static/favicon.png">
<link rel="stylesheet/less" href="/static/style.less" />
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<script src="/static/jquery.min.js"></script> <script src="/static/jquery.min.js"></script>
<script src="/static/less.min.js"></script> <script src="/static/less.min.js"></script>
<link rel="stylesheet" href="/static/style.css" />
<script type="text/javascript"> <script type="text/javascript">
$(function(){ $(function(){
$('.wm .summary').each(function(){ $('.wm .summary').each(function(){
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment