Skip to content
Permalink
Browse files

Updated colors

  • Loading branch information...
rtennys committed Apr 25, 2019
1 parent d097f2a commit 2de95d3499e2b64ae919c70bb8af2846df796062
@@ -1,4 +1,11 @@
/* auth buttons */
/* colors */
body#momo, #momo h1 a, #momo h2 a, #momo h3 a, #momo h1 a:visited, #momo h2 a:visited, #momo h3 a:visited { color: #3a3838; }
#momo a, #momo a:visited { color: #5c80b1; }
#momo .btn-primary { background-color: #5c80b1; border-color: #5c80b1; color: #fff; }
#momo .btn-primary:hover { background-color: #3066b0; border-color: #3066b0; color: #fff; }


/* auth buttons */
.login-button { margin-right: 15px; margin-bottom: 15px; width: 60px; height: 60px; background-color: transparent; background-size: 60px 60px; cursor: pointer; border: none; }
.facebook-login { background-image: url('images/facebook.png'); }
.microsoft-login { background-image: url('images/microsoft.png'); }
@@ -33,8 +40,8 @@ div.mobileAccessible { margin: 5px 0; padding: 10px 15px; border: solid 1px #bbb

.list-item-status-exists::after,
.list-item-status-new::after { color: white; font-weight: bolder; text-align: center; -ms-border-radius: 50%; -webkit-border-radius: 50%; -moz-border-radius: 50%; border-radius: 50%; display: inline; margin-left: 5px; padding: 2px 5px; }
.list-item-status-exists::after { content: '\2714'; background-color: #090; }
.list-item-status-new::after { content: 'new'; background-color: #00f; font-size: .9em; }
.list-item-status-exists::after { content: '\2714'; background-color: #9cc19c; }
.list-item-status-new::after { content: 'new'; background-color: #3066b0; font-size: .9em; }

@media (min-width: 768px) {
div.mobileAccessible { margin: 3px 0; padding: 5px 10px; }
@@ -16,7 +16,7 @@

<div class="form-group">@Html.EditorFor(m => m.Username)</div>

<button type="submit" class="btn btn-secondary">Register</button>
<button type="submit" class="btn btn-primary">Register</button>

@Html.ValidationSummary(true)
}
@@ -23,7 +23,7 @@
@Html.LabelFor(m => m.RememberMe, new { @class = "checkbox" })
</div>

<button type="submit" class="btn btn-secondary">Sign in</button>
<button type="submit" class="btn btn-primary">Sign in</button>

@Html.ValidationSummary(true)

@@ -11,7 +11,7 @@
@Html.AntiForgeryToken()
<p>
You're signed in as <strong>@User.Identity.Name</strong>.
<button type="submit" class="btn btn-sm btn-secondary">Sign Out</button>
<button type="submit" class="btn btn-sm btn-primary">Sign Out</button>
</p>
}
</div>
@@ -12,7 +12,7 @@
<div class="form-group">@Html.EditorFor(m => m.Password)</div>
<div class="form-group">@Html.EditorFor(m => m.ConfirmPassword)</div>

<button type="submit" class="btn btn-secondary">Register</button>
<button type="submit" class="btn btn-primary">Register</button>

@Html.ValidationSummary()
}
@@ -10,7 +10,7 @@
<div class="form-group">@Html.EditorFor(m => m.NewPassword)</div>
<div class="form-group">@Html.EditorFor(m => m.ConfirmPassword)</div>

<button type="submit" class="btn btn-sm btn-secondary">Change password</button>
<button type="submit" class="btn btn-sm btn-primary">Change password</button>

@Html.ValidationSummary()
}
@@ -17,7 +17,7 @@
@Html.AntiForgeryToken()
@Html.Hidden("provider", externalLogin.Provider)
@Html.Hidden("providerUserId", externalLogin.ProviderUserId)
<button type="submit" class="btn btn-sm btn-secondary" title="Remove this @externalLogin.ProviderDisplayName credential from your account">Remove</button>
<button type="submit" class="btn btn-sm btn-primary" title="Remove this @externalLogin.ProviderDisplayName credential from your account">Remove</button>
}
}
else
@@ -12,7 +12,7 @@
<div class="form-group">@Html.EditorFor(m => m.NewPassword)</div>
<div class="form-group">@Html.EditorFor(m => m.ConfirmPassword)</div>

<button type="submit" class="btn btn-sm btn-secondary">Set password</button>
<button type="submit" class="btn btn-sm btn-primary">Set password</button>

@Html.ValidationSummary()
}
@@ -41,7 +41,7 @@
@Html.AntiForgeryToken()
<input type="hidden" name="shoppingListId" value="@Model.ShoppingListId" />
<input type="hidden" name="name" />
<button type="submit" class="btn btn-sm btn-secondary">add</button>
<button type="submit" class="btn btn-sm btn-primary">add</button>
</div>
<div class="col-2 col-lg-1">
<input type="number" name="quantity" class="form-control p-1" />
@@ -13,7 +13,7 @@

@RenderSection("head", false)
</head>
<body>
<body id="momo">

<div class="container">

@@ -13,7 +13,7 @@
@Html.Editor("Name")
</div>

<button type="submit" class="btn btn-secondary">Save</button>
<button type="submit" class="btn btn-primary">Save</button>

@Html.ValidationSummary()
}
@@ -12,7 +12,7 @@
<div class="form-group">
@Html.TextBox("shareWith", "", new { @class = "form-control", placeholder = "Username" })
</div>
<button type="submit" class="btn btn-secondary">Add</button>
<button type="submit" class="btn btn-primary">Add</button>
}

<p style="margin-top: 50px;">Currently Shared With</p>
@@ -30,7 +30,7 @@
@Html.Hidden("shoppinglist")
@Html.Hidden("shareWith", username)
<div class="mobileAccessible">
<button type="submit" class="btn btn-secondary btn-sm" style="margin-right: 25px;">Remove</button>
<button type="submit" class="btn btn-sm btn-primary" style="margin-right: 25px;">Remove</button>
@Html.ActionLink(username, "Index", "ShoppingLists", new { username }, null)
</div>
}
@@ -72,7 +72,7 @@
<input type="hidden" name="@Html.IdFor(m => m.Id)" value="@Model.Id" />
<input type="hidden" name="CheckedOnly" value="True" />
<p>
<button type="submit" class="btn btn-sm btn-secondary" onclick=" return confirm('Setting a quantity to zero removes the item from view, but doesn\'t forget it. Set checked quantities to zero?'); ">Set checked to Zero</button>
<button type="submit" class="btn btn-sm btn-primary" onclick=" return confirm('Setting a quantity to zero removes the item from view, but doesn\'t forget it. Set checked quantities to zero?'); ">Set checked to Zero</button>
</p>
}
using (Html.BeginForm("Clear", "ShoppingLists"))
@@ -81,7 +81,7 @@
<input type="hidden" name="@Html.IdFor(m => m.Id)" value="@Model.Id" />
<input type="hidden" name="CheckedOnly" value="False" />
<p>
<button type="submit" class="btn btn-sm btn-secondary" onclick=" return confirm('Setting a quantity to zero removes the item from view, but doesn\'t forget it. Set all quantities to zero?'); ">Set all to Zero</button>
<button type="submit" class="btn btn-sm btn-primary" onclick=" return confirm('Setting a quantity to zero removes the item from view, but doesn\'t forget it. Set all quantities to zero?'); ">Set all to Zero</button>
</p>
}
}
@@ -91,21 +91,21 @@
using (Html.BeginForm("Rename", "ShoppingLists", FormMethod.Get))
{
<p>
<button type="submit" class="btn btn-sm btn-secondary">Rename</button>
<button type="submit" class="btn btn-sm btn-primary">Rename</button>
</p>
}
using (Html.BeginForm("Share", "ShoppingLists", FormMethod.Get))
{
<p>
<button type="submit" class="btn btn-sm btn-secondary">Sharing</button>
<button type="submit" class="btn btn-sm btn-primary">Sharing</button>
</p>
}
using (Html.BeginForm("Delete", "ShoppingLists"))
{
@Html.AntiForgeryToken()
<input type="hidden" name="@Html.IdFor(m => m.Id)" value="@Model.Id" />
<p>
<button type="submit" class="btn btn-sm btn-secondary" onclick=" return confirm('Are you sure? All items and saved prices will be lost.'); ">Delete This List</button>
<button type="submit" class="btn btn-sm btn-primary" onclick=" return confirm('Are you sure? All items and saved prices will be lost.'); ">Delete This List</button>
</p>
}
}
@@ -19,14 +19,14 @@
@Html.TextBoxFor(m => m.Aisle, new { @class = "form-control", placeholder = "Aisle", autocomplete = "off" })
</div>

<button type="submit" class="btn btn-secondary">Done</button>
<button type="submit" class="btn btn-primary">Done</button>
@Html.ValidationSummary()
}

@using (Html.BeginForm("DeleteItem", null, FormMethod.Post, new { id = "deleteItemForm", style = "margin-top: 50px;" }))
{
@Html.AntiForgeryToken()
<input type="hidden" name="Id" value="@Model.Id" />
<button type="submit" class="btn btn-secondary">Forget this item</button>
<button type="submit" class="btn btn-primary">Forget this item</button>
}
</div>

0 comments on commit 2de95d3

Please sign in to comment.
You can’t perform that action at this time.