Commit f871135a authored by Rafal's avatar Rafal

should work

parent 6c6a73da
@import url(//maxcdn.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css);
html{
overflow-x: hidden; body {padding-top:50px;}
}
.box {
border-radius: 3px;
body { box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12);
height: 100%; padding: 10px 25px;
text-align: right;
background-color :white; display: block;
/* The html and body elements cannot have any padding or margin. */ margin-top: 60px;
} }
.box-icon {
#wrap { background-color: #57a544;
min-height: 100%; border-radius: 50%;
height: auto; display: table;
/* Negative indent footer by its height */ height: 100px;
margin: 0 auto -60px; margin: 0 auto;
/* Pad bottom by footer height */ width: 100px;
padding: 25 0 60px; margin-top: -61px;
} }
.box-icon span {
color: #fff;
display: table-cell;
.activity-list img { text-align: center;
width: 25px; vertical-align: middle;
height: 25px; }
margin-right:6px; .info h4 {
position:relative; font-size: 26px;
top:-2px; letter-spacing: 2px;
} text-transform: uppercase;
.time-line { }
margin-left:10px; .info > p {
cursor:default; color: #717171;
} font-size: 16px;
.icon-activity { padding-top: 10px;
margin-right:8px; text-align: justify;
margin-left:6px; }
} .info > a {
background-color: #03a9f4;
border-radius: 2px;
.notice { box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12);
padding: 15px; color: #fff;
background-color: #fafafa; transition: all 0.5s ease 0s;
border-left: 6px solid #7f7f84; }
margin-bottom: 10px; .info > a:hover {
-webkit-box-shadow: 0 5px 8px -6px rgba(0,0,0,.2); background-color: #0288d1;
-moz-box-shadow: 0 5px 8px -6px rgba(0,0,0,.2); box-shadow: 0 2px 3px 0 rgba(0, 0, 0, 0.16), 0 2px 5px 0 rgba(0, 0, 0, 0.12);
box-shadow: 0 5px 8px -6px rgba(0,0,0,.2); color: #fff;
} transition: all 0.5s ease 0s;
.notice-sm {
padding: 10px;
font-size: 80%;
}
.notice-lg {
padding: 35px;
font-size: large;
}
.notice-success {
border-color: #80D651;
}
.notice-success>strong {
color: #80D651;
}
.notice-info {
border-color: #45ABCD;
}
.notice-info>strong {
color: #45ABCD;
}
.notice-warning {
border-color: #FEAF20;
}
.notice-warning>strong {
color: #FEAF20;
}
.notice-danger {
border-color: #d73814;
}
.notice-danger>strong {
color: #d73814;
} }
\ No newline at end of file
...@@ -5,19 +5,21 @@ ...@@ -5,19 +5,21 @@
<div class="container"> <div class="container">
<div class="row">
<div class="row"> <div class="col-xs-12 col-sm-6 col-md-6 col-lg-6 col-lg-offset-3" >
<div class="col-md-6"> <div class="box">
<h2>Twoje projekty</h2> <div class="box-icon">
{% for user_activity in activity_data.taken_activity %} <span class="fa fa-4x fa-html5"></span>
{% with template="user_panel/content/activity//"|add:user_activity.activity.kind|add:".html" activity=user_activity.activity %} </div>
{% include template %} <div class="info">
{% endwith %} <h4 class="text-center">Gra miejska</h4>
{% endfor %} <p>Gra miejska Juwenalia 2015</p>
<a href="" class="btn">Link</a>
</div>
</div>
</div> </div>
</div> </div>
</div> </div>
......
...@@ -12,6 +12,7 @@ ...@@ -12,6 +12,7 @@
<link rel="stylesheet" type="text/css" href="{% static 'css/footer.css' %}" /> <link rel="stylesheet" type="text/css" href="{% static 'css/footer.css' %}" />
<link rel="stylesheet" type="text/css" href="{% static 'css/left_bar.css' %}" /> <link rel="stylesheet" type="text/css" href="{% static 'css/left_bar.css' %}" />
<link rel="stylesheet" type="text/css" href="{% static 'css/font-awesome.min.css' %}" /> <link rel="stylesheet" type="text/css" href="{% static 'css/font-awesome.min.css' %}" />
<title>Activy</title> <title>Activy</title>
</head> </head>
......
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1" aria-expanded="false"> <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1" aria-expanded="false">
</button> </button>
<a class="navbar-brand" href="/">Activy</a> <a class="navbar-brand" href="/">FreeBeacon</a>
</div> </div>
......
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 to comment