Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue 2141 - Adjusted the download "System Settings" notice to prevent it moving #2154

Merged
merged 1 commit into from
Sep 29, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
102 changes: 60 additions & 42 deletions assets/scss/admin/system-info.scss
Original file line number Diff line number Diff line change
Expand Up @@ -19,60 +19,78 @@
margin-bottom: 1em;

h2 {
font-size: 14px;
margin: 0;
font-size: 14px;
margin: 0;
}

tr {
&:nth-child(2n) {
th,
td {
background: #fcfcfc;
}
}
&:nth-child(2n) {
th,
td {
background: #fcfcfc;
}
}
}

th {
font-weight: 700;
padding: 9px;
font-weight: 700;
padding: 9px;
}

td:first-child {
width: 33%;
width: 33%;
}

td.help {
width: 1em;
width: 1em;
}

td {
padding: 9px;
font-size: 1.1em;
padding: 9px;
font-size: 1.1em;

mark {
background: transparent none;
}
mark {
background: transparent none;
}

mark.yes {
color: $green;
}
mark.yes {
color: $green;
}

mark.no {
color: #999;
}
mark.no {
color: #999;
}

mark.error {
color: $red;
}
mark.error {
color: $red;
}

ul {
margin: 0;
}
ul {
margin: 0;
}
}
}

/* System info download header */
.wrap div.give-debug-report-wrapper {
margin-top: 1em;
p {
font-size: 18px;
margin: 1em 0 0.7em;
padding: 0;
}

.give-debug-report-actions {
margin: 0 0 1.7em;
.js-give-debug-report-button {
margin-right:10px;
}
.dashicons {
font-size: 16px;
position: relative;
top: 4px;
left: -2px;
}
}
}

.give-debug-report {
Expand All @@ -82,17 +100,17 @@
position: relative;

textarea {
font-family: monospace;
width: 100%;
margin: 0;
height: 300px;
padding: 20px;
-moz-border-radius: 0;
-webkit-border-radius: 0;
border-radius: 0;
resize: none;
font-size: 12px;
line-height: 20px;
outline: 0;
font-family: monospace;
width: 100%;
margin: 0;
height: 300px;
padding: 20px;
-moz-border-radius: 0;
-webkit-border-radius: 0;
border-radius: 0;
resize: none;
font-size: 12px;
line-height: 20px;
outline: 0;
}
}
10 changes: 5 additions & 5 deletions includes/admin/tools/views/html-admin-page-system-info.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,12 @@
$plugins = give_get_plugins();
?>

<div class="give-debug-report-wrapper updated">
<p><?php _e( 'Please copy and paste this information in your ticket when contacting support:', 'give' ); ?> </p>
<p class="submit">
<div class="give-debug-report-wrapper">
<p class="give-debug-report-text"><?php sprintf(_e( 'Please copy and paste this information in your ticket when contacting support:', 'give' )); ?> </p>
<div class="give-debug-report-actions">
<a class="button-primary js-give-debug-report-button" href="#"><?php _e( 'Get System Report', 'give' ); ?></a>
<a class="button-secondary docs" href="http://docs.givewp.com/settings-system-info" target="_blank"><?php _e( 'Understanding the System Report', 'give' ); ?></a>
</p>
<a class="button-secondary docs" href="http://docs.givewp.com/settings-system-info" target="_blank"><?php _e( 'Understanding the System Report', 'give' ); ?> <span class="dashicons dashicons-external"></span></a>
</div>
<div class="give-debug-report js-give-debug-report">
<textarea readonly="readonly"></textarea>
</div>
Expand Down