From 76af5fd4f89f04e2cee4ec2d7ae4d1f7effb264f Mon Sep 17 00:00:00 2001 From: Julie Qiu Date: Tue, 28 Jul 2020 22:53:58 -0400 Subject: [PATCH] content: alphabetize classes with prefix Fetch Class names with the prefix "Fetch" are alphabetized relative to each other. No changes are made to the CSS. For golang/go#36811 For golang/go#37002 Change-Id: I662829fd50f1e1634cc891ba50c4bf1d4f9ac0bd Reviewed-on: https://go-review.googlesource.com/c/pkgsite/+/245437 Reviewed-by: Jonathan Amsterdam --- content/static/css/stylesheet.css | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/content/static/css/stylesheet.css b/content/static/css/stylesheet.css index 00e6b8fe6..3dfa30cf2 100644 --- a/content/static/css/stylesheet.css +++ b/content/static/css/stylesheet.css @@ -546,6 +546,17 @@ code { .SearchResults-emptyContentMessage { text-align: center; } +.Fetch-button { + background-color: var(--gray-10); + border-radius: 0.5rem; + border: 0.0625rem solid var(--gray-8); + color: var(--turq-dark); + font-size: 1rem; + height: 2.5rem; + margin: 1rem 0; + padding: 0rem 1rem; + width: 5rem; +} .Fetch-container { align-items: center; display: flex; @@ -562,9 +573,6 @@ code { opacity: 0.2; } } -.Fetch-loading { - display: none; -} .Fetch-dot { animation-duration: 1.4s; animation-fill-mode: both; @@ -576,23 +584,15 @@ code { height: 0.5rem; width: 0.5rem; } +.Fetch-loading { + display: none; +} .Fetch-loading:nth-child(2) { animation-delay: 0.2s; } .Fetch-loading:nth-child(3) { animation-delay: 0.4s; } -.Fetch-button { - background-color: var(--gray-10); - border-radius: 0.5rem; - border: 0.0625rem solid var(--gray-8); - color: var(--turq-dark); - font-size: 1rem; - height: 2.5rem; - margin: 1rem 0; - padding: 0rem 1rem; - width: 5rem; -} .SearchResults { margin: 0 auto;