reduced cassius files

This commit is contained in:
nek0 2015-01-18 02:22:33 +01:00
parent 515e94c82f
commit ee418df771
6 changed files with 64 additions and 67 deletions

View file

@ -67,6 +67,7 @@ postLoginR = do
returnJsonError msg returnJsonError msg
Right userId -> do Right userId -> do
setSession "userId" $ extractKey (fromJust userId) setSession "userId" $ extractKey (fromJust userId)
setMessage "Succesfully logged in"
welcomeLink <- ($ProfileR (fromJust userId)) <$> getUrlRender welcomeLink <- ($ProfileR (fromJust userId)) <$> getUrlRender
returnJson ["welcome" .= welcomeLink] returnJson ["welcome" .= welcomeLink]

View file

@ -33,11 +33,6 @@
-ms-transition: color 0.25s ease-in-out; -ms-transition: color 0.25s ease-in-out;
transition: color 0.25s ease-in-out; transition: color 0.25s ease-in-out;
} }
a:hover
{
color: #d64760;
}
h1,h2,h3,h4,h5,h6 h1,h2,h3,h4,h5,h6
{ {
@ -96,6 +91,8 @@
.item .item
{ {
background: #1a1f2c;
background: rgba(255,255,255,0.25);
} }
.item.thumb .item.thumb
@ -160,6 +157,8 @@
{ {
position: relative; position: relative;
z-index: 1; z-index: 1;
/*custom*/
overflow: auto;
} }
/*********************************************************************************/ /*********************************************************************************/
@ -168,6 +167,8 @@
#main #main
{ {
margin-top: 60px;
position: static;
} }
/*********************************************************************************/ /*********************************************************************************/
@ -189,3 +190,60 @@
#header .inner { #header .inner {
width: 100%; width: 100%;
} }
/*custom*/
a:hover
{
color: black;
}
.image img
{
position: relative !important;
max-width: 100%;
width: auto !important;
display: block;
margin-left: auto;
margin-right: auto;
}
nav
{
padding: 1em 2em;
}
nav li
{
display: inline-block;
}
.comment
{
border: 5px solid rgb(255, 255, 255);
padding: 2em 3em;
background: #d64760 url('/static/css/images/overlay.png');
}
.center
{
text-align: center;
}
.image
{
height: 100% !important;
}
.reply
{
background: #47d65f url('/static/css/images/overlay.png');
}
#message
{
padding: 20px;
background: lightyellow url('/static/css/images/overlay.png');
color: #d64760;
font-size: 1.5em;
}

View file

@ -1,10 +0,0 @@
.right
float:right
width:50%
.left
float:left
width:50%
footer
clear:both

View file

@ -1,23 +0,0 @@
/*templates/default-layout.cassius*/
#message
padding: 20px
background: lightyellow url('../css/images/overlay.png')
color: #d64760
font-size: 1.5em
.item
background: #1a1f2c;
background: rgba(255,255,255,0.25);
nav li
display: inline-block
.center
text-align: center
nav
padding: 1em 2em !important
a:hover
color: black !important

View file

@ -1,24 +1,5 @@
/*templates/medium.cassius*/ /*templates/medium.cassius*/
img
position: relative !important
max-width: 100% !important
width: auto !important
display: block !important
margin-left: auto !important
margin-right: auto !important
.comment
border: 5px solid rgb(255, 255, 255)
padding: 2em 3em
background: #d64760 url('/static/css/images/overlay.png')
.reply
background: #47d65f url('/static/css/images/overlay.png')
.image
width: 100% !important
#wrapper #wrapper
overflow: auto !important overflow: auto !important

View file

@ -1,10 +0,0 @@
.thumbnail
border 1px solid #ddd
border-radius: 6px
box-shadow: 0 0 3px #c4c4c4
ul
list-style: none
li
display: inline-block