1
0
Fork 0

Adapt stylings.

This commit is contained in:
Nicolas Perriault 2017-04-30 11:20:57 +02:00
parent 8bb9adb307
commit b341f31b50
No known key found for this signature in database
GPG Key ID: DA5E4C83904F7A2A
2 changed files with 12 additions and 12 deletions

View File

@ -10,12 +10,12 @@ body {
max-height: calc(100vh - 60px);
}
.panel > a {
.panel a {
text-decoration: none;
color: #c8c8c8;
}
.panel > a:hover {
.panel a:hover {
text-decoration: none;
}
@ -80,7 +80,7 @@ body {
font-weight: bold;
}
.panel-heading > .glyphicon,
.panel-heading > .row > .heading > .glyphicon {
.panel-heading > .row .heading > .glyphicon {
margin-right: 8px;
}

View File

@ -32,16 +32,16 @@ visibilities =
]
closeablePanelheading : String -> String -> Msg -> Html Msg
closeablePanelheading iconName label onClose =
closeablePanelheading : String -> String -> String -> Msg -> Html Msg
closeablePanelheading context iconName label onClose =
div [ class "panel-heading" ]
[ div [ class "row" ]
[ div [ class "col-xs-9 heading" ] [ icon iconName, text label ]
[ a
[ href "", onClickWithPreventAndStop <| ScrollColumn ScrollTop context ]
[ div [ class "col-xs-9 heading" ] [ icon iconName, text label ] ]
, div [ class "col-xs-3 text-right" ]
[ a
[ href ""
, onClickWithPreventAndStop onClose
]
[ href "", onClickWithPreventAndStop onClose ]
[ icon "remove" ]
]
]
@ -284,8 +284,8 @@ accountView currentUser account relationship panelContent =
in
div [ class "col-md-3 column" ]
[ div [ class "panel panel-default" ]
[ closeablePanelheading "user" "Account" CloseAccount
, div [ class "timeline" ]
[ closeablePanelheading "account" "user" "Account" CloseAccount
, div [ id "account", class "timeline" ]
[ div
[ class "account-detail"
, style [ ( "background-image", "url('" ++ account.header ++ "')" ) ]
@ -687,7 +687,7 @@ threadView currentUser thread =
in
div [ class "col-md-3 column" ]
[ div [ class "panel panel-default" ]
[ closeablePanelheading "list" "Thread" CloseThread
[ closeablePanelheading "thread" "list" "Thread" CloseThread
, ul [ id "thread", class "list-group timeline" ] <|
List.map threadEntry statuses
]