}
.comments {
- float: right;
color: $darkgrey;
}
/* Overrides for pages that use new layout conventions */
-.users-new,
-.users-create,
-.users-terms,
-.users-confirm {
- .content-heading .content-inner {
- height: 200px;
- }
-}
-
.header-illustration {
background-position: 0 0;
background-repeat: no-repeat;
- position: absolute;
- height: 200px;
+ position: relative;
+ min-height: 200px;
width: 100%;
left: 0;
bottom: 0;
&.new-user-arm {
height: 110px;
width: 130px;
- left: 260px;
- top: 160px;
+ left: 280px;
+ top: 180px;
background-image: image-url("sign-up-illustration-arm.png");
+ position: absolute;
z-index: 100;
+ pointer-events: none;
}
}
/* Rules for the user profile page */
-#userinformation {
- min-height: 100px;
- .userinformation-inner {
- float: left;
- }
- .user-description {
- width: 100%;
- clear: both;
- }
-}
-
-.admin-user-info small {
- margin-bottom: $lineheight/2;
- display: inline;
- margin-right: $lineheight;
-}
-
.contact-activity {
margin-top: $lineheight;
width: 100%;
}
-.activity-details p {
- margin-left: 70px;
- margin-bottom: 0;
-}
-
-.users-show {
- // Silly exception; remove when user page is redesigned.
- .content-inner {
- max-width: none;
- }
- p#no_home_location {
- margin: $lineheight;
- }
- .user_thumbnail {
- margin-top: $lineheight/4;
- float: left;
- }
-}
-
/* Rules for the user map */
.content_map .leaflet-popup-content {
margin-right: $lineheight;
}
+img.user_image_no_margins {
+ max-width: 100px;
+ max-height: 100px;
+ border: 1px solid $grey;
+}
+
img.user_thumbnail {
max-width: 50px;
max-height: 50px;
margin-right: $lineheight;
}
+img.user_thumbnail_no_margins {
+ max-width: 50px;
+ max-height: 50px;
+ border: 1px solid $grey;
+}
+
img.user_thumbnail_tiny {
width: auto;
height: auto;
/* General styles for action lists / subnavs / pager navs */
-ul.secondary-actions {
- font-style: normal;
- margin-bottom: 0;
- margin-left: 0;
- padding: 0;
- &.pager {
- display: inline-block;
- margin-right: 60px;
- }
- > li {
- display: block;
- float: left;
- list-style: none;
- border-left: 1px solid $grey;
- padding-left: $lineheight/2;
- margin-right: $lineheight/2;
- &:first-child {
- border-left: 0;
- padding-left: 0;
+
+nav.secondary-actions {
+ margin-left: -11px;
+ overflow: hidden;
+ > ul {
+ display: flex;
+ flex-direction: row;
+ flex-wrap: wrap;
+ margin-bottom: 0;
+ margin-left: -1px;
+ padding: 0;
+ &.pager {
+ display: inline-block;
+ margin-right: 60px;
}
- &:last-child {
- margin-right: 0px;
+ > li {
+ flex-basis: auto;
+ list-style: none;
+ border-left: 1px solid $grey;
+ padding-left: $lineheight/2;
+ margin-right: $lineheight/2;
+ margin-bottom: $lineheight/8;
}
}
}
}
}
+/* Create a single-line dl */
+
+dl.dl-inline {
+ dt, dd {
+ display: inline-block;
+ }
+ dd {
+ margin-right: 1em;
+ }
+}
+
/* Customise the background colour of striped tables */
.table-striped > tbody > tr:nth-child(2n+1) > td,
}
}
-.comments .richtext {
- margin-left: 70px;
-}
-
/* Rules for the user notes list */
.note_list {
.byosm span {
display: inline-block;
- width: 20px;
- margin-left: -20px;
+ width: 1em;
+ margin-left: -1em;
}
}