Skip to content

Commit

Permalink
Remove the super parameter from the base html template, add the datas…
Browse files Browse the repository at this point in the history
…et resource icon and adjust the style accordingly
  • Loading branch information
ekoteva15 committed Mar 11, 2024
1 parent ae9e547 commit 1ac38d9
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 13 deletions.
15 changes: 8 additions & 7 deletions ckanext/iaea/assets/css/iaea.css
Original file line number Diff line number Diff line change
Expand Up @@ -1086,7 +1086,7 @@ body {
font-size: 14px;
line-height: 1.42857143;
color: #333333;
background-color: #fff;
background-color: #fff !important;
}
input,
button,
Expand Down Expand Up @@ -1414,7 +1414,7 @@ a.bg-danger:focus {
}
ul,
ol {
margin-top: 0px;
margin-top: 0px !important;
margin-bottom: 10px;
}
ul ul,
Expand Down Expand Up @@ -7721,7 +7721,7 @@ a.tag:hover {
top: 2px;
width: 16px;
height: 16px;
background-image: url("/base/images/sprite-ckan-icons.png");
background-image: url("../../../iaea/public/images/sprite-resource-icons.png");
background-repeat: no-repeat;
background-position: 16px 16px;
content: "";
Expand Down Expand Up @@ -7792,7 +7792,7 @@ a.tag:hover {
top: 2px;
width: 16px;
height: 16px;
background-image: url("/base/images/sprite-ckan-icons.png");
background-image: url("/images/sprite-resource-icons.png");
background-repeat: no-repeat;
background-position: 16px 16px;
width: 17px;
Expand Down Expand Up @@ -9603,11 +9603,11 @@ h4 small {
top: 2px;
width: 16px;
height: 16px;
background-image: url("/base/images/sprite-ckan-icons.png");
background-image: url("/images/sprite-resource-icons.png");
background-repeat: no-repeat;
background-position: 16px 16px;
text-indent: -900em;
background: url("/base/images/sprite-resource-icons.png") no-repeat 0 0;
background: url("/images/sprite-resource-icons.png") no-repeat 0 0;
}
.format-label {
width: 32px;
Expand Down Expand Up @@ -9782,6 +9782,7 @@ body {
/* min-height: 350px;
border: 2px solid red; */
min-height: 0px;
background-color: #fff;
}
.main:after,
[role="main"]:after {
Expand Down Expand Up @@ -9928,7 +9929,7 @@ body {
overflow: auto;
}
.context-info h1.heading {
margin: 0 0 5px 0;
margin: 15px 0 5px 0 !important;
font-size: 18px;
line-height: 1.3;
-ms-word-break: break-all;
Expand Down
13 changes: 7 additions & 6 deletions ckanext/iaea/assets/css/rtl.css
Original file line number Diff line number Diff line change
Expand Up @@ -1414,7 +1414,7 @@ a.bg-danger:focus {
}
ul,
ol {
margin-top: 0px;
margin-top: 0px !important;
margin-bottom: 10px;
}
ul ul,
Expand Down Expand Up @@ -14921,7 +14921,7 @@ a.tag:hover {
top: 2px;
width: 16px;
height: 16px;
background-image: url("/base/images/sprite-ckan-icons.png");
background-image: url("/images/sprite-resource-icons.png");
background-repeat: no-repeat;
background-position: 16px 16px;
content: "";
Expand Down Expand Up @@ -14993,7 +14993,7 @@ a.tag:hover {
top: 2px;
width: 16px;
height: 16px;
background-image: url("/base/images/sprite-ckan-icons.png");
background-image: url("/images/sprite-resource-icons.png");
background-repeat: no-repeat;
background-position: 16px 16px;
width: 17px;
Expand Down Expand Up @@ -16809,11 +16809,11 @@ h4 small {
top: 2px;
width: 16px;
height: 16px;
background-image: url("/base/images/sprite-ckan-icons.png");
background-image: url("/images/sprite-resource-icons.png");
background-repeat: no-repeat;
background-position: 16px 16px;
text-indent: -900em;
background: url("/base/images/sprite-resource-icons.png") no-repeat 0 0;
background: url("/images/sprite-resource-icons.png") no-repeat 0 0;
}
.format-label {
width: 32px;
Expand Down Expand Up @@ -16985,6 +16985,7 @@ body {
[role="main"],
.main {
min-height: 0px;
background-color: #fff;
}
.main:after,
[role="main"]:after {
Expand Down Expand Up @@ -17129,7 +17130,7 @@ body {
overflow: auto;
}
.context-info h1.heading {
margin: 0 0 5px 0;
margin: 15px 0 5px 0 !important;
font-size: 18px;
line-height: 1.3;
-ms-word-break: break-all;
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 1ac38d9

Please sign in to comment.