From 6c50648ecbd833ce21ccfa961c0e5f938289aeaa Mon Sep 17 00:00:00 2001 From: Felipe Henrique de Almeida Bormann Date: Sun, 5 Feb 2017 01:12:15 -0300 Subject: [PATCH] modified resource card header --- amadeus/static/css/base/amadeus.css | 39 ++++++++++++++++++++++++++++++++++++++- amadeus/static/css/themes/green.css | 6 +++++- subjects/templates/subjects/resource_card.html | 4 ++-- 3 files changed, 45 insertions(+), 4 deletions(-) diff --git a/amadeus/static/css/base/amadeus.css b/amadeus/static/css/base/amadeus.css index 1e8ea31..d8a283d 100755 --- a/amadeus/static/css/base/amadeus.css +++ b/amadeus/static/css/base/amadeus.css @@ -113,7 +113,7 @@ a:focus { /* category app starts */ .resource-panel > .panel-heading{ padding: 0px 0px; - background-color: #BDBDBD; + background-color: #BDBDBD !important; } .resource-panel .btn-group{ @@ -124,6 +124,41 @@ a:focus { margin-top: 8px !important; } +.resource-header > h4{ + float:left; + margin-top: 5px; + margin-bottom: 2px; +} + +.resource-header > h4.panel-title span { + margin-left: 10px; + font-weight: normal; +} + +.resource-header > h4 > a:focus { + text-decoration: none; +} + +.resource-header .dropdown-menu i { + font-size: 20px !important; + float: none; +} + +.resource-header i { + font-size: 20px; + float: right; +} + +.resource-link{ + font-size: 16px; + font-family: Roboto; + font-weight: normal; +} + +.resource-link:hover{ + text-decoration: none; +} + .category-panel > .panel-heading, .subject-panel > .panel-heading, .special-panel > .panel-heading, .topic-panel > .panel-heading, .group-panel > .panel-heading { padding: 2px 0px; } @@ -558,6 +593,8 @@ a:focus { text-decoration: none; } + + /* Menu link remove radius */ .nav-pills > li > a { border-radius: 0px; diff --git a/amadeus/static/css/themes/green.css b/amadeus/static/css/themes/green.css index 79f6d3a..f554f67 100644 --- a/amadeus/static/css/themes/green.css +++ b/amadeus/static/css/themes/green.css @@ -79,7 +79,11 @@ a, a:focus, a:hover { background-color: #FFFFFF !important; } -.group-panel .panel-title, .group-panel .category-header i, .group-panel .category-course-link { +.group-panel .panel-title, .group-panel .category-header i, .group-panel .category-course-link { + color: #000000 !important; +} + +.resource-link{ color: #000000 !important; } diff --git a/subjects/templates/subjects/resource_card.html b/subjects/templates/subjects/resource_card.html index ec8501c..ddef3bb 100644 --- a/subjects/templates/subjects/resource_card.html +++ b/subjects/templates/subjects/resource_card.html @@ -7,9 +7,9 @@
-
+

- + {{ resource }}

-- libgit2 0.21.2