Skip to content

Commit

Permalink
Merge pull request #295 from CybotAS/may-updates
Browse files Browse the repository at this point in the history
May updates
  • Loading branch information
UCjatamayo authored May 25, 2023
2 parents 65b40cd + 89aa205 commit b53acd8
Show file tree
Hide file tree
Showing 55 changed files with 1,016 additions and 325 deletions.
40 changes: 11 additions & 29 deletions assets/css/admin_styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -41,35 +41,17 @@ div.extra_information {
* Help Tip
*/
.help-tip {
color: #666;
display: inline-block;
font-size: 1.5em;
font-style: normal;
height: 16px;
line-height: 16px;
position: relative;
vertical-align: middle;
width: 16px
}

.help-tip::after {
font-family: Dashicons;
speak: none;
font-weight: 400;
font-variant: normal;
text-transform: none;
line-height: 1;
-webkit-font-smoothing: antialiased;
margin: 0;
text-indent: 0;
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
text-align: center;
content: "";
cursor: help
color: #ffffff;
display: inline-block;
font-size: 12px;
font-weight: 500;
font-style: normal;
line-height: 10px;
position: relative;
cursor: pointer;
background: #333333;
padding: 5px 6px;
border-radius: 5px;
}

#tiptip_holder{
Expand Down
34 changes: 8 additions & 26 deletions assets/css/backend/addons_page.css
Original file line number Diff line number Diff line change
Expand Up @@ -218,35 +218,17 @@ select.placeholder_select_language {
* Help Tip
*/
.help-tip {
color: #666;
color: #ffffff;
display: inline-block;
font-size: 1.5em;
font-size: 12px;
font-weight: 500;
font-style: normal;
height: 16px;
line-height: 16px;
line-height: 10px;
position: relative;
vertical-align: middle;
width: 16px
}

.help-tip::after {
font-family: Dashicons;
speak: none;
font-weight: 400;
font-variant: normal;
text-transform: none;
line-height: 1;
-webkit-font-smoothing: antialiased;
margin: 0;
text-indent: 0;
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
text-align: center;
content: "";
cursor: help
cursor: pointer;
background: #333333;
padding: 5px 6px;
border-radius: 5px;
}

#tiptip_holder{
Expand Down
6 changes: 6 additions & 0 deletions assets/css/backend/cookiebot_admin_main.css
Original file line number Diff line number Diff line change
Expand Up @@ -235,6 +235,11 @@ input[type=checkbox]:checked:before {
mask-size: contain;
}

.cb-settings__config__data__inner label:not(.switch-checkbox) input[type="radio"],
.cb-settings__config__data__inner label:not(.switch-checkbox) input[type="checkbox"] {
margin-left: -30px;
}

textarea {
width: 100%;
border: 2px solid #d3d3d3;
Expand All @@ -259,6 +264,7 @@ textarea {
.switch-checkbox .switcher {
cursor: pointer;
width: 70px;
min-width: 70px;
height: 40px;
margin-right: 10px;
background-color: #141414;
Expand Down
35 changes: 31 additions & 4 deletions assets/css/backend/dashboard_page.css
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,6 @@

.cb-main__success__text {
width: 100%;
max-width: 420px;
font-size: 16px;
line-height: 24px;
}
Expand Down Expand Up @@ -154,14 +153,31 @@

.cb-main__card__success {
display: grid;
grid-template-columns: 1fr 3fr;
grid-template-columns: auto 1fr;
grid-column-gap: 15px;
align-items: center;
margin-top: 15px;
}

.cb-main__card__success .cb-btn.cb-success-btn {
display: flex;
width: 40px;
height: 40px;
border-radius: 50%;
padding: 0;
margin-top: 0;
align-items: center;
justify-content: center;
}

.cb-main__card__success .cb-btn.cb-success-btn img {
width: 30px;
}

.cb-main__card__success .cb-main__success__text span{
display: block;
font-size: 18px;
font-weight: 700;
}

.cb-main__video {
Expand All @@ -170,7 +186,8 @@

.cb-main__legislation__item {
display: grid;
grid-template-columns: 1fr 0fr 3fr 2fr;
grid-template-columns: auto auto 2fr 3fr;
grid-column-gap: 10px;
background-color: #efefef;
border-radius: 6px;
padding: 20px;
Expand All @@ -180,7 +197,6 @@
.cb-main__legislation__name {
font-size: 16px;
font-weight: 700;
margin-right: 7px;
}

.cb-main__legislation__region {
Expand All @@ -190,6 +206,17 @@

.cb-link-btn.legislation-link {
margin: 0;
justify-self: right;
}

.cb-link-btn.external-icon {
display: grid;
grid-template-columns: 1fr auto;
grid-column-gap: 10px;
align-items: center;
}

.cb-link-btn.external-icon span{
text-align: right;
}

Expand Down
122 changes: 122 additions & 0 deletions assets/css/backend/global/cookiebot_admin.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,122 @@
.cookiebot-popup-container {
position: fixed;
display: none;
width: 100vw;
height: 100vh;
top: 0;
right: 0;
background: rgba(0,0,0,.5);
}

.cookiebot-popup-container.cb-opened {
display: grid;
justify-content: center;
align-items: center;
}

#cookiebot-popup {
box-sizing: border-box;
background: #ffffff;
max-width: 520px;
padding: 20px;
border-radius: 25px;
}

#cookiebot-popup *{
box-sizing: border-box;
}

.cb-review__header {
display: grid;
grid-template-columns: 50px 1fr 22px;
grid-column-gap: 5px;
}

#cb-review__close {
color: #424242;
width: 20px;
height: 20px;
text-align: center;
border-radius: 20px;
font-weight: 700;
margin-right: 0;
margin-left: auto;
cursor: pointer;
}

#cb-review__form p {
font-weight: normal;
font-size: 16px;
line-height: 24px;
color: #141414;
}

#cb-review__form > div {
padding: 0 20px;
}

.cb-review__form--item {
display: inline-block;
font-size: 15px;
margin-bottom: 15px;
}

#cb-review__other-description {
width: 100%;
}

#cb-review__form #cb-review__alert {
display: none;
padding: 15px 15px;
border-left: 5px solid #ffcc5f;
background: #f2f2f2;
margin: 15px 0;
color: #d69c20;
font-weight: bold;
}

#cb-review__form #cb-review__alert.show-alert {
display: block;
}

#cb-review__form .cb-review__actions {
display: grid;
padding: 15px;
grid-template-columns: 1fr 1fr;
grid-column-gap: 25px;
}

#cb-review__skip {
background-color: rgba(0, 0, 0, 0.16);
color: #333;
padding: 10px 20px;
font-size: 16px;
border: none;
border-radius: 7px;
text-decoration: none;
text-align: center;
}

#cb-review__submit {
padding: 10px 20px;
font-size: 16px;
font-weight: 500;
border-radius: 7px;
border: none;
cursor: pointer;
background-color: #1032cf;
color: #ffffff;
text-align: center;
}

#cb-review__form .cb-review__policy {
font-size: 14px;
text-align: right;
margin: 5px 0;
padding-right: 20px;
}

#cb-review__form .cb-review__policy a {
color: blue;
text-decoration: none;
}
17 changes: 16 additions & 1 deletion assets/css/backend/multiple_page.css
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,12 @@
grid-column-gap: 15px;
background-color: #f2f2f2;
border-radius: 4px;
padding: 8px 24px;
padding: 8px 60px 8px 24px;
}

.cb-region__table__item.cb-region__secondary__banner {
grid-template-columns: 1fr 1fr auto;
padding: 8px 24px 8px 24px;
}

.cb-region__item__region--primary {
Expand Down Expand Up @@ -60,6 +65,11 @@
right: 12px;
}

.cb-region__table__item:nth-child(2) .cb-region__region__selector,
.cb-region__table__item:nth-child(2) .cb-region__region__selector:after{
display: none;
}

.selected-regions-item {
display: inline-block;
padding: 1px 5px;
Expand Down Expand Up @@ -139,4 +149,9 @@
right: 0;
left: 0;
z-index: 0;
}

.cb-region__remove__banner {
cursor: pointer;
align-self: center;
}
17 changes: 15 additions & 2 deletions assets/css/backend/settings-page.css
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,10 @@
color: #141414;
}

.cb-settings__config__data__inner label:not(.switch-checkbox) {
padding-left: 30px;
}

.cb-settings__config__data__inner label.switch-checkbox {
display: flex;
}
Expand All @@ -148,8 +152,7 @@
margin-top: 20px;
}

.recommended-item:after {
content: 'Recommended';
.recommended-tag {
font-size: 13px;
background-color: #0e1848;
color: #ffffff;
Expand Down Expand Up @@ -219,4 +222,14 @@

.cb-prior__tab__content__item.active-item {
display: block;
}

@media (max-width: 1414px) {
.recommended-tag {
display: block;
width: -webkit-fit-content;
width: fit-content;
margin-top: 5px;
margin-bottom: 10px;
}
}
4 changes: 4 additions & 0 deletions assets/img/icons/info.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit b53acd8

Please sign in to comment.