Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit f7ddbf6

Browse files
authored
Merge pull request #7169 from pdelboca/fix-activity-stream-icons
Fix activity stream icons
2 parents 279081a + 95cc57a commit f7ddbf6

34 files changed

Lines changed: 538 additions & 842 deletions

changes/7169.bugfix

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Fix activity stream icon on Boostrap 5. Migrate activity CSS classes to the extension folder.

ckan/public/base/css/main-rtl.css

Lines changed: 0 additions & 195 deletions
Original file line numberDiff line numberDiff line change
@@ -14333,201 +14333,6 @@ td.diff_header {
1433314333
margin-bottom: 20px;
1433414334
}
1433514335

14336-
.activity {
14337-
padding: 0;
14338-
list-style-type: none;
14339-
background: transparent url("../../../base/images/dotted.png") 14px 0 repeat-y;
14340-
}
14341-
.activity .item {
14342-
position: relative;
14343-
margin: 0 0 15px 0;
14344-
padding: 0;
14345-
}
14346-
.activity .item::after {
14347-
display: block;
14348-
clear: both;
14349-
content: "";
14350-
}
14351-
.activity .item .icon {
14352-
display: block;
14353-
position: absolute;
14354-
top: 0;
14355-
left: 0;
14356-
width: 30px;
14357-
height: 30px;
14358-
line-height: 30px;
14359-
text-align: center;
14360-
color: #FFFFFF;
14361-
text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
14362-
font-weight: normal;
14363-
margin-right: 10px;
14364-
border-radius: 100px;
14365-
box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.2);
14366-
}
14367-
.activity .item .user-image {
14368-
border-radius: 100px;
14369-
}
14370-
.activity .item .actor .user-image {
14371-
position: absolute;
14372-
top: 0;
14373-
left: 40px;
14374-
}
14375-
.activity .item p {
14376-
font-size: 14px;
14377-
line-height: 1.5;
14378-
margin: 5px 0 0 80px;
14379-
}
14380-
.activity .item .date {
14381-
color: #999;
14382-
font-size: 12px;
14383-
white-space: nowrap;
14384-
}
14385-
.activity .item .new {
14386-
display: block;
14387-
position: absolute;
14388-
overflow: hidden;
14389-
top: -3px;
14390-
left: -3px;
14391-
width: 10px;
14392-
height: 10px;
14393-
background-color: #A35647;
14394-
border: 1px solid #FFF;
14395-
text-indent: -1000px;
14396-
border-radius: 100px;
14397-
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
14398-
}
14399-
.activity .item.no-avatar p {
14400-
margin-left: 40px;
14401-
}
14402-
.activity .load-less {
14403-
margin-bottom: 15px;
14404-
}
14405-
14406-
.popover {
14407-
width: 300px;
14408-
}
14409-
.popover .popover-title {
14410-
font-weight: bold;
14411-
margin-bottom: 0;
14412-
}
14413-
.popover p.about {
14414-
margin: 0 0 10px 0;
14415-
}
14416-
.popover .popover-close {
14417-
float: right;
14418-
text-decoration: none;
14419-
}
14420-
.popover .followee-popover {
14421-
font-size: 0.875rem;
14422-
line-height: 1.5;
14423-
color: #444;
14424-
word-break: break-all;
14425-
padding: 0;
14426-
}
14427-
.popover .followee-popover dl {
14428-
margin: 0;
14429-
}
14430-
.popover .followee-popover dl dd {
14431-
margin-left: 0;
14432-
margin-bottom: 10px;
14433-
}
14434-
.popover .empty {
14435-
padding: 10px;
14436-
color: #6e6e6e;
14437-
font-style: italic;
14438-
}
14439-
14440-
.activity .item .icon {
14441-
background-color: #999999;
14442-
}
14443-
.activity .item.failure .icon {
14444-
background-color: #B95252;
14445-
}
14446-
.activity .item.success .icon {
14447-
background-color: #69A67A;
14448-
}
14449-
.activity .item.added-tag .icon {
14450-
background-color: #6995a6;
14451-
}
14452-
.activity .item.changed-group .icon {
14453-
background-color: #767DCE;
14454-
}
14455-
.activity .item.changed-package .icon {
14456-
background-color: #8c76ce;
14457-
}
14458-
.activity .item.changed-package_extra .icon {
14459-
background-color: #769ace;
14460-
}
14461-
.activity .item.changed-resource .icon {
14462-
background-color: #aa76ce;
14463-
}
14464-
.activity .item.changed-user .icon {
14465-
background-color: #76b8ce;
14466-
}
14467-
.activity .item.changed-organization .icon {
14468-
background-color: #699fa6;
14469-
}
14470-
.activity .item.deleted-group .icon {
14471-
background-color: #B95252;
14472-
}
14473-
.activity .item.deleted-package .icon {
14474-
background-color: #b97452;
14475-
}
14476-
.activity .item.deleted-package_extra .icon {
14477-
background-color: #b95274;
14478-
}
14479-
.activity .item.deleted-resource .icon {
14480-
background-color: #b99752;
14481-
}
14482-
.activity .item.deleted-organization .icon {
14483-
background-color: #b95297;
14484-
}
14485-
.activity .item.new-group .icon {
14486-
background-color: #69A67A;
14487-
}
14488-
.activity .item.new-package .icon {
14489-
background-color: #69a68e;
14490-
}
14491-
.activity .item.new-package_extra .icon {
14492-
background-color: #6ca669;
14493-
}
14494-
.activity .item.new-resource .icon {
14495-
background-color: #81a669;
14496-
}
14497-
.activity .item.new-user .icon {
14498-
background-color: #69a6a3;
14499-
}
14500-
.activity .item.new-organization .icon {
14501-
background-color: #81a669;
14502-
}
14503-
.activity .item.removed-tag .icon {
14504-
background-color: #b95297;
14505-
}
14506-
.activity .item.deleted-related-item .icon {
14507-
background-color: #b9b952;
14508-
}
14509-
.activity .item.follow-dataset .icon {
14510-
background-color: #767DCE;
14511-
}
14512-
.activity .item.follow-user .icon {
14513-
background-color: #8c76ce;
14514-
}
14515-
.activity .item.new-related-item .icon {
14516-
background-color: #95a669;
14517-
}
14518-
.activity .item.follow-group .icon {
14519-
background-color: #8ba669;
14520-
}
14521-
14522-
.select-time {
14523-
width: 250px;
14524-
display: inline;
14525-
}
14526-
14527-
br.line-height2 {
14528-
line-height: 2;
14529-
}
14530-
1453114336
#followee-filter .btn {
1453214337
display: inline-block;
1453314338
}

0 commit comments

Comments
 (0)