Commit cbdf9ea2 by Brian Talbot

studio - alerts: proofing older, but still needed in page alerts (unit drafts) styling

parent dd82ea57
......@@ -271,6 +271,7 @@
width: ($baseline*8);
right: ($baseline);
border: 4px solid $black;
border-bottom: none;
padding: ($baseline/2) $baseline;
.notification {
......@@ -305,6 +306,7 @@
width: ($baseline*14);
right: ($baseline);
border: 4px solid $black;
border-bottom: none;
padding: ($baseline/2) $baseline;
.notification {
......@@ -690,69 +692,74 @@ body.uxdesign.alerts {
}
}
// ====================
// artifact styles
// .alert {
// padding: 15px 20px;
// margin-bottom: 30px;
// border-radius: 3px;
// border: 1px solid #edbd3c;
// border-radius: 3px;
// background: #fbf6e1;
// // background: #edbd3c;
// font-size: 14px;
// @include clearfix;
// .alert-message {
// float: left;
// margin-top: 4px;
// }
// strong {
// font-weight: 700;
// }
// .alert-action {
// float: right;
// &.secondary {
// @include orange-button;
// }
// }
// }
// body.error {
// background: $darkGrey;
// color: #3c3c3c;
// .primary-header {
// display: none;
// }
// .error-prompt {
// width: 700px;
// margin: 150px auto;
// padding: 60px 50px 90px;
// border-radius: 3px;
// background: #fff;
// text-align: center;
// }
// h1 {
// float: none;
// margin: 0;
// font-size: 60px;
// font-weight: 300;
// color: #3c3c3c;
// }
// .description {
// margin-bottom: 50px;
// font-size: 21px;
// }
// .back-button {
// @include blue-button;
// padding: 14px 40px 18px;
// font-size: 18px;
// }
// }
.main-wrapper {
.alert {
padding: 15px 20px;
margin-bottom: 30px;
border-radius: 3px;
border: 1px solid #edbd3c;
border-radius: 3px;
background: #fbf6e1;
// background: #edbd3c;
font-size: 14px;
@include clearfix;
.alert-message {
float: left;
margin: 4px 0 0 0;
color: $gray-d3;
}
strong {
font-weight: 700;
}
.alert-action {
float: right;
&.secondary {
@include orange-button;
}
}
}
}
body.error {
background: $gray-d4;
color: $gray-d3;
.primary-header {
display: none;
}
.error-prompt {
width: 700px;
margin: 150px auto;
padding: 60px 50px 90px;
border-radius: 3px;
background: $white;
text-align: center;
}
h1 {
float: none;
margin: 0;
font-size: 60px;
font-weight: 300;
color: $gray-d3;
}
.description {
margin-bottom: 50px;
font-size: 21px;
}
.back-button {
@include blue-button;
padding: 14px 40px 18px;
font-size: 18px;
}
}
......@@ -33,7 +33,7 @@
<%block name="content">
<div class="main-wrapper edit-state-${unit_state}" data-id="${unit_location}">
<div class="inner-wrapper">
<div class="alert editing-draft-alert wip-box">
<div class="alert editing-draft-alert">
<p class="alert-message"><strong>You are editing a draft.</strong>
% if published_date:
This unit was originally published on ${published_date}.
......@@ -143,7 +143,7 @@
<option value="private">Private</option>
</select>
</div>
<div class="row published-alert wip-box">
<div class="row published-alert">
<p class="edit-draft-message">This unit has been published. To make changes, you must <a href="#" class="create-draft">edit a draft</a>.</p>
<p class="publish-draft-message">This is a draft of the published unit. To update the live version, you must <a href="#" class="publish-draft">replace it with this draft</a>.</p>
</div>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment