Skip to content

Commit

Permalink
Merge branch '5.3' into 5
Browse files Browse the repository at this point in the history
# Conflicts:
#	yarn.lock
  • Loading branch information
GuySartorelli committed Jun 20, 2024
2 parents fc507f0 + fba6110 commit da6c84e
Show file tree
Hide file tree
Showing 18 changed files with 698 additions and 1,048 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/add-prs-to-project.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Add new PRs to github project

on:
pull_request_target:
types:
- opened
- ready_for_review

permissions: {}

jobs:
addprtoproject:
name: Add PR to GitHub Project
# Only run on the silverstripe account
if: github.repository_owner == 'silverstripe'
runs-on: ubuntu-latest
steps:
- name: Add PR to github project
uses: silverstripe/gha-add-pr-to-project@v1
with:
app_id: ${{ vars.PROJECT_PERMISSIONS_APP_ID }}
private_key: ${{ secrets.PROJECT_PERMISSIONS_APP_PRIVATE_KEY }}
2 changes: 1 addition & 1 deletion client/dist/styles/realme.css

Large diffs are not rendered by default.

17 changes: 7 additions & 10 deletions client/src/styles/_base.scss
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,12 @@
*/
*zoom: 1;
}

.realme_widget:before, .realme_secondary_login:before, .realme_login_lockup:before, .realme_popup:before, .realme_widget:after, .realme_secondary_login:after, .realme_login_lockup:after, .realme_popup:after {
content: " ";
display: table;
}

.realme_widget:after, .realme_secondary_login:after, .realme_login_lockup:after, .realme_popup:after {
clear: both;
}
Expand Down Expand Up @@ -59,16 +61,6 @@
border-style: solid;
}

.realme_icon_new_window {
_overflow: hidden;
/*ie6*/
}

.realme_primary_login, .realme_alternative_login, .realme_assert {
_width: 320px;
/*ie6*/
}

/*
The base RealMe widget
-----------------------------------------------------
Expand All @@ -79,15 +71,19 @@ color: $brand-color-text;
padding: 0.76923em 1.07692em;
font-family: sans-serif;
font-size: 13px;

/* Set font-size explicitly to avoid cascade from the page. */
line-height: 1.53846;

/* Reset the line-height to something senisble inside the widget */
}

.realme_widget p {
margin-top: 0.5em;
margin-bottom: 1em;
font-family: sans-serif;
}

.realme_widget a {
text-decoration: none;
font-family: sans-serif;
Expand All @@ -96,6 +92,7 @@ color: $brand-color-text;
.realme_widget .realme_login, .realme_widget .realme_create_account, .realme_widget .realme_link {
color: $brand-color-main-accessible;
}

.realme_widget .realme_login:hover, .realme_widget .realme_create_account:hover, .realme_widget .realme_link:hover, .realme_widget .realme_login:active, .realme_widget .realme_create_account:active, .realme_widget .realme_link:active {
text-decoration: underline;
border: 0;
Expand Down
5 changes: 2 additions & 3 deletions client/src/styles/_buttons.scss
Original file line number Diff line number Diff line change
@@ -1,14 +1,13 @@
.realme_button {
cursor: pointer;
line-height: 1;
margin-top: 1px;
color: $brand-color-main-contrast;
background-color: $brand-color-main-accessible;
border-radius: $btn-border-radius;
border: none;
border: 0;
-webkit-appearance: none;
-webkit-border-image: none;
font-size: 1.107692308rem;
font-size: 1.10769rem;
line-height: 1.2em;

/**
Expand Down
5 changes: 3 additions & 2 deletions client/src/styles/_components.scss
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* Used to separate elements vertically. Can be themed*/
/* Used to separate elements vertically. Can be themed */
.realme_hr {
margin: 0;
border: 0;
Expand All @@ -10,7 +10,8 @@
.realme_login_lockup {
margin-bottom: 1em;
_position: relative;
/*ie6*/

/* ie6 */
}

.realme_login_lockup form {
Expand Down
3 changes: 2 additions & 1 deletion client/src/styles/_icons.scss
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@
background-image: url('../images/icon-new-window-blue.png');
background-position: right center;
_margin-bottom: 2px;
/*ie6*/

/* ie6 */
}

.realme_icon_new_window {
Expand Down
66 changes: 39 additions & 27 deletions client/src/styles/_popup.scss
Original file line number Diff line number Diff line change
Expand Up @@ -13,46 +13,45 @@
left: -1px;
top: -22px;
}

.ie6 .realme_arrow_top_left .arrow, .realme_arrow_top_left .ie6 .arrow, .ie6 .realme_arrow_top_right .arrow, .realme_arrow_top_right .ie6 .arrow {
border-right-color: pink;
border-left-color: pink;
border-top-color: pink;
border-right-color: $color-pink;
border-left-color: $color-pink;
border-top-color: $color-pink;
border-top-width: 0;
}
.ie6 .realme_arrow_top_left .arrow, .realme_arrow_top_left .ie6 .arrow, .ie6 .realme_arrow_top_right .arrow, .realme_arrow_top_right .ie6 .arrow {
filter: chroma(color=pink);
filter: chroma(color=$color-pink);
font-size: 0;
line-height: 0;
}

.realme_arrow_top_left .arrow .front, .realme_arrow_top_right .arrow .front {
width: 0;
height: 0;
border-style: solid;
border-color: transparent;
border-width: 10px;
display: block;
border-bottom-color: white;
border-bottom-color: #fff;
position: absolute;
left: -10px;
bottom: -11px;
}

.ie6 .realme_arrow_top_left .arrow .front, .realme_arrow_top_left .ie6 .arrow .front, .ie6 .realme_arrow_top_right .arrow .front, .realme_arrow_top_right .ie6 .arrow .front {
border-right-color: pink;
border-left-color: pink;
border-top-color: pink;
border-right-color: $color-pink;
border-left-color: $color-pink;
border-top-color: $color-pink;
border-top-width: 0;
}
.ie6 .realme_arrow_top_left .arrow .front, .realme_arrow_top_left .ie6 .arrow .front, .ie6 .realme_arrow_top_right .arrow .front, .realme_arrow_top_right .ie6 .arrow .front {
filter: chroma(color=pink);
filter: chroma(color=$color-pink);
font-size: 0;
line-height: 0;
}
.ie6 .realme_arrow_top_left .arrow .front, .realme_arrow_top_left .ie6 .arrow .front, .ie6 .realme_arrow_top_right .arrow .front, .realme_arrow_top_right .ie6 .arrow .front {
top: 1px;
}

.ie6 label.radio .realme_arrow_top_left .arrow .front, .realme_arrow_top_left .ie6 label.radio .arrow .front, .ie6 label.radio .realme_arrow_top_right .arrow .front, .realme_arrow_top_right .ie6 label.radio .arrow .front {
display: none;
}

.ie6 label.radio .realme_arrow_top_left .arrow, .realme_arrow_top_left .ie6 label.radio .arrow, .ie6 label.radio .realme_arrow_top_right .arrow, .realme_arrow_top_right .ie6 label.radio .arrow {
display: none;
}
Expand All @@ -66,13 +65,15 @@
visibility: hidden;
z-index: 2;
_display: none;
/*ie6*/

/* ie6 */
}

.realme_arrow_top_left {
top: 1.6em;
left: -1.7em;
}

.realme_arrow_top_left .arrow {
left: 1.35em;
right: auto;
Expand All @@ -82,6 +83,7 @@
top: 1.6em;
right: -1.7em;
}

.realme_arrow_top_right .arrow {
left: auto;
right: 1.35em;
Expand All @@ -91,6 +93,7 @@
top: -26em;
left: calc(100% + 25px);
}

.realme_arrow_side_left .arrow {
width: 0;
height: 0;
Expand All @@ -99,33 +102,35 @@
border-width: 11px;
display: block;
border-right-color: #d0d0d0;
left: -1px;
top: -22px;
top: 1.25em;
left: -22px;
}

.ie6 .realme_arrow_side_left .arrow {
filter: chroma(color=pink);
filter: chroma(color=$color-pink);
font-size: 0;
line-height: 0;
}

.realme_arrow_side_left .arrow .front {
width: 0;
height: 0;
border-style: solid;
border-color: transparent;
border-width: 10px;
display: block;
border-right-color: white;
border-right-color: #fff;
position: absolute;
left: -9px;
top: -10px;
}

.ie6 .realme_arrow_side_left .arrow .front {
filter: chroma(color=pink);
filter: chroma(color=$color-pink);
font-size: 0;
line-height: 0;
}

.ie6 label.radio .realme_arrow_side_left .arrow {
display: none;
}
Expand All @@ -134,6 +139,7 @@
top: -1em;
right: 100%;
}

.realme_arrow_side_right .arrow {
width: 0;
height: 0;
Expand All @@ -142,40 +148,42 @@
border-width: 11px;
display: block;
border-left-color: #d0d0d0;
left: -1px;
top: -22px;
top: 1.25em;
left: auto;
right: -22px;
}

.ie6 .realme_arrow_side_right .arrow {
filter: chroma(color=pink);
filter: chroma(color=$color-pink);
font-size: 0;
line-height: 0;
}

.realme_arrow_side_right .arrow .front {
width: 0;
height: 0;
border-style: solid;
border-color: transparent;
border-width: 10px;
display: block;
border-left-color: white;
border-left-color: #fff;
position: absolute;
right: -9px;
top: -10px;
}

.ie6 .realme_arrow_side_right .arrow .front {
filter: chroma(color=pink);
filter: chroma(color=$color-pink);
font-size: 0;
line-height: 0;
}

.ie6 label.radio .realme_arrow_side_right .arrow {
display: none;
}

.realme_popup {
padding: 0.5em 1.5em 0.5em;
padding: 0.5em 1.5em;
background-color: #fff;
border: solid 1px #ddd;
-webkit-border-radius: 3px;
Expand All @@ -184,16 +192,20 @@
-o-border-radius: 3px;
border-radius: 3px;
}

.realme_popup p, .realme_popup ul, .realme_popup strong, .realme_popup b {
color: #333;
}

.realme_popup p, .realme_popup ul, .realme_popup a {
line-height: 1.35em;
}

.realme_popup ul {
padding-left: 1em;
margin-bottom: 1em;
}

.realme_popup a,
.realme_popup a:hover,
.realme_popup a:active {
Expand Down
Loading

0 comments on commit da6c84e

Please sign in to comment.