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

View File

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