Commit 6c50648ecbd833ce21ccfa961c0e5f938289aeaa
1 parent
8a92f2b3
Exists in
master
and in
3 other branches
modified resource card header
Showing
3 changed files
with
45 additions
and
4 deletions
Show diff stats
amadeus/static/css/base/amadeus.css
... | ... | @@ -113,7 +113,7 @@ a:focus { |
113 | 113 | /* category app starts */ |
114 | 114 | .resource-panel > .panel-heading{ |
115 | 115 | padding: 0px 0px; |
116 | - background-color: #BDBDBD; | |
116 | + background-color: #BDBDBD !important; | |
117 | 117 | } |
118 | 118 | |
119 | 119 | .resource-panel .btn-group{ |
... | ... | @@ -124,6 +124,41 @@ a:focus { |
124 | 124 | margin-top: 8px !important; |
125 | 125 | } |
126 | 126 | |
127 | +.resource-header > h4{ | |
128 | + float:left; | |
129 | + margin-top: 5px; | |
130 | + margin-bottom: 2px; | |
131 | +} | |
132 | + | |
133 | +.resource-header > h4.panel-title span { | |
134 | + margin-left: 10px; | |
135 | + font-weight: normal; | |
136 | +} | |
137 | + | |
138 | +.resource-header > h4 > a:focus { | |
139 | + text-decoration: none; | |
140 | +} | |
141 | + | |
142 | +.resource-header .dropdown-menu i { | |
143 | + font-size: 20px !important; | |
144 | + float: none; | |
145 | +} | |
146 | + | |
147 | +.resource-header i { | |
148 | + font-size: 20px; | |
149 | + float: right; | |
150 | +} | |
151 | + | |
152 | +.resource-link{ | |
153 | + font-size: 16px; | |
154 | + font-family: Roboto; | |
155 | + font-weight: normal; | |
156 | +} | |
157 | + | |
158 | +.resource-link:hover{ | |
159 | + text-decoration: none; | |
160 | +} | |
161 | + | |
127 | 162 | .category-panel > .panel-heading, .subject-panel > .panel-heading, .special-panel > .panel-heading, .topic-panel > .panel-heading, .group-panel > .panel-heading { |
128 | 163 | padding: 2px 0px; |
129 | 164 | } |
... | ... | @@ -558,6 +593,8 @@ a:focus { |
558 | 593 | text-decoration: none; |
559 | 594 | } |
560 | 595 | |
596 | + | |
597 | + | |
561 | 598 | /* Menu link remove radius */ |
562 | 599 | .nav-pills > li > a { |
563 | 600 | border-radius: 0px; | ... | ... |
amadeus/static/css/themes/green.css
... | ... | @@ -79,7 +79,11 @@ a, a:focus, a:hover { |
79 | 79 | background-color: #FFFFFF !important; |
80 | 80 | } |
81 | 81 | |
82 | -.group-panel .panel-title, .group-panel .category-header i, .group-panel .category-course-link { | |
82 | +.group-panel .panel-title, .group-panel .category-header i, .group-panel .category-course-link { | |
83 | + color: #000000 !important; | |
84 | +} | |
85 | + | |
86 | +.resource-link{ | |
83 | 87 | color: #000000 !important; |
84 | 88 | } |
85 | 89 | ... | ... |
subjects/templates/subjects/resource_card.html
... | ... | @@ -7,9 +7,9 @@ |
7 | 7 | <div class="panel-heading"> |
8 | 8 | |
9 | 9 | <div class="row"> |
10 | - <div class="col-md-12 category-header"> | |
10 | + <div class="col-md-12 resource-header"> | |
11 | 11 | <h4 class="panel-title"> |
12 | - <a class="category-course-link pull-left" data-parent="#{% if accordion_id %}{{ accordion_id }}{% else %}{{ subject.category.slug }}-accordion{% endif %}" data-toggle="collapse" href="#{{resource.slug}}"> | |
12 | + <a class="resource-link pull-left" data-parent="#{% if accordion_id %}{{ accordion_id }}{% else %}{{ subject.category.slug }}-accordion{% endif %}" data-toggle="collapse" href="#{{resource.slug}}"> | |
13 | 13 | <button class="btn btn-default btn-xs text-center cat-selector"><i class="fa fa-angle-right fa-2x" aria-hidden="true"></i></button> {{ resource }} |
14 | 14 | </a> |
15 | 15 | </h4> | ... | ... |