From 053458916d729fd1984d3f47676c6bfe50459401 Mon Sep 17 00:00:00 2001 From: tersiswilvin <52929976+tersiswilvin@users.noreply.github.com> Date: Fri, 12 Aug 2022 11:51:14 -0700 Subject: [PATCH] More accurate navbar hovers. Replaces the background gradient with accurate hovers roblox used at the time, also made the submenu a bit more accurate as well as fixing the text alignment. --- public/css/2018.css | 21 +++-- public/css/app.css | 82 ++++++++++++++---- public/css/classicapp.css | 12 ++- public/css/classicappdark.css | 12 ++- .../RevisedHeader/bg-main_menu_hover.png | Bin 0 -> 95 bytes public/images/RevisedHeader/bg-rbx_header.png | Bin 0 -> 137 bytes .../RevisedHeader/bg-sub_menu_hover.png | Bin 0 -> 108 bytes public/images/btn-login_dropdown.png | Bin 0 -> 1534 bytes resources/views/index.blade.php | 2 +- resources/views/layouts/app.blade.php | 10 +-- 10 files changed, 101 insertions(+), 38 deletions(-) create mode 100644 public/images/RevisedHeader/bg-main_menu_hover.png create mode 100644 public/images/RevisedHeader/bg-rbx_header.png create mode 100644 public/images/RevisedHeader/bg-sub_menu_hover.png create mode 100644 public/images/btn-login_dropdown.png diff --git a/public/css/2018.css b/public/css/2018.css index d34afb4..f7195eb 100644 --- a/public/css/2018.css +++ b/public/css/2018.css @@ -69,14 +69,13 @@ body { color: #191919; display: flex; margin: 3px; + padding: 2px 5px; + float: none; font-size: 16px; font-weight: 500; line-height: 1.92857; height: 28px; } -.Redesign .smallnavbarbutton:hover { - background: transparent; -} #alert, #success { top: 40px; @@ -165,10 +164,6 @@ body { background-position: -28px -475px; } -.navbarbuttoncontainer li:hover { - background: none; - } - .smallnavbarbutton:nth-child(6):before { content: ''; background-image: url(https://images.rbxcdn.com/f4000b6d03a0df7153556d2514045629-navigation_10022018.svg); @@ -203,7 +198,7 @@ body { margin: 0; width: 100%; } -.subbar { +.mySubmenuFixed.Redesign { top: 0; height: 0; width: 0; @@ -290,7 +285,7 @@ body { width: 30px; height: 30px; } -#logo_full img { +#logo_full .btn-logo { padding: 5px 0; max-width: 120px; height: 30px; @@ -308,12 +303,16 @@ body { height: 30px; float: left; } +.btn-logo:hover, .smallnavbarbutton:hover, .navbarbuttoncontainer li:hover { + background-image: none; + background: none; +} #NavigationRedesignBannerContainer p { color: #fff; } -#logo_full, #logo_full img { +#logo_full, #logo_full .btn-logo { height: 30px; } @@ -537,7 +536,7 @@ iframe { #smallnav_open { display: none; } - .subbar { + .mySubmenuFixed { display: block; } #logo_full img, #logo_full { diff --git a/public/css/app.css b/public/css/app.css index 40ab950..b0686f3 100644 --- a/public/css/app.css +++ b/public/css/app.css @@ -77,10 +77,6 @@ text-align: center; } -.navbarbuttoncontainer li:hover { - background: linear-gradient(180deg, rgb(255,255,255,.3), transparent); -} - #alert { background: linear-gradient(#f07575 10%, #de2323 100%); } @@ -101,7 +97,7 @@ display: inline-block; float: left; } -#logo_full, #logo_full img { +#logo_full, #logo_full .btn-logo { width: 200px; Height: 35px; } @@ -177,7 +173,7 @@ .BannerRedesign { height: 35px; background: #114081; - background: linear-gradient(#1951A5 0%, #114081); + background-image: url(/images/RevisedHeader/bg-rbx_header.png); border-bottom: 1px solid #0A2246; position: fixed; width: 100%; @@ -185,13 +181,31 @@ top: 0; display: inline-flex; } -.subbar { - display: block; - height: 25px; - width: 100%; - top: 36px; +.btn-logo:hover, .navbarbuttoncontainer li:hover { + background-image: url(/images/RevisedHeader/bg-main_menu_hover.png); + background-size: auto 35px; +} +.smallnavbarbutton:hover { + background-image: url(/images/RevisedHeader/bg-sub_menu_hover.png); +} +div.mySubmenuFixed { position: fixed; + top: 68px; + width: 100%; + z-index: 10000; +} +div.mySubmenuFixed { + top: 36px; background: linear-gradient(#000 10%, #191919 100%); + height: 25px; +} +.mySubmenuFixed.Redesign { + position: fixed; + top: 35px; +} +.mySubmenuFixed.Redesign { + position: fixed; + top: 35px; } .subMenu { background: #A3514F; @@ -248,6 +262,38 @@ align-items: center; } +#HeaderSignUp { + font-family: Arial; + font-weight: bold; + color: #fff; + font-size: 13px; + top: -8px; + position: relative; + *top: -6px; +} +#HeaderOr { + font-family: Arial; + font-weight: normal; + color: #9Ec3E7; + font-size: 13px; + top: -8px; + *top: -6px; + position: relative; + margin: 0 6px; +} +#headerLogin { + color: white; + background: url(/images/btn-login_dropdown.png) no-repeat; + display: inline-block; + height: 27px; + width: 62px; + position: relative; + cursor: pointer; +} +#headerLogin:hover { + background-position: 0 -54px; +} + iframe { width: 100%; height: 2000px; @@ -390,7 +436,7 @@ iframe { position: relative; } #navbarlogincontainer { - margin-top: 9px; + margin-top: 5px; float: right; position: relative; } @@ -416,10 +462,7 @@ iframe { .Redesign .smallnavbarbutton { font-size: 12px; padding: 5px; - line-height: 26px; -} -.Redesign .smallnavbarbutton:hover { - background: linear-gradient(0deg,#191919 10%, #474747 100%); + float: left; } .invisible, @@ -493,8 +536,13 @@ body { /* Fallback for IE 11*/ background-color: rgb(255, 255, 255); } -.content_signup a[href="https://discord.gg/nudzQ7hkWY"]{ +.content_signup .hyperlink{ display: block; + color: #0074bd; + transition: .25s all ease-in-out; +} +.content_signup .hyperlink:hover { + color: #32cfff; } .content_signup h1, .content_signup a, .content_signup p { text-align: center; diff --git a/public/css/classicapp.css b/public/css/classicapp.css index d6ea744..148c53d 100644 --- a/public/css/classicapp.css +++ b/public/css/classicapp.css @@ -40,9 +40,10 @@ html { Height: 40px; } -.navbarbuttoncontainer li:hover, .Redesign .smallnavbarbutton:hover { +.btn-logo:hover, .smallnavbarbutton:hover, .navbarbuttoncontainer li:hover { + background-image: none; background: none; - } +} .BannerRedesign { height: 40px; @@ -112,6 +113,13 @@ html { padding-right: 5px; text-align: center; font-size: 15px; + line-height: 25px; + float: none; +} +.mySubmenuFixed.Redesign { + background: none; + height: 29px; + top: 44px; } @media (min-width: 1688px) { diff --git a/public/css/classicappdark.css b/public/css/classicappdark.css index c3ff77d..6ce4aed 100644 --- a/public/css/classicappdark.css +++ b/public/css/classicappdark.css @@ -40,9 +40,10 @@ html { Height: 40px; } -.navbarbuttoncontainer li:hover, .Redesign .smallnavbarbutton:hover { +.btn-logo:hover, .smallnavbarbutton:hover, .navbarbuttoncontainer li:hover { + background-image: none; background: none; - } +} .BannerRedesign { height: 40px; @@ -112,6 +113,13 @@ html { padding-right: 5px; text-align: center; font-size: 15px; + line-height: 25px; + float: none; +} +.mySubmenuFixed.Redesign { + background: none; + height: 29px; + top: 44px; } @media (min-width: 1688px) { diff --git a/public/images/RevisedHeader/bg-main_menu_hover.png b/public/images/RevisedHeader/bg-main_menu_hover.png new file mode 100644 index 0000000000000000000000000000000000000000..f9291939252cbc9726a31ddef371703916f4de65 GIT binary patch literal 95 zcmeAS@N?(olHy`uVBq!ia0vp^tU#>9!3HF!9}~_7Qfi(qjv*T7lmGnxzn_^|Dj_i; u;fMd02liDfm&|@}UvSM_v8EDFGlsWeDlPl+w#ou^FnGH9xvX7!2~4F{Y_T{QURVWjv*T7lc(@R9cy5TkofoC z{h6`h0;XyIdH#P~nVxuHLb`&&|9+FtoHxG9JO7jSeD+uUf!(2huI1lt)=F{H) z)!_g0^YiQQ|Lg1P+vNY<=KtyG=?@PNP8S?(OaE=;-L!;{WFC|M2ke=gvkS;Gm?f zfq{X})8ORf&SO;wzvyB;4Rqou8Ue~6Wvs+pati;tOcc8F|m zca)TrkCB-=JVZV|J~1&daBy(g-}Q5Oh;DCilarH>m#W?4^*ud3)7 zSlm_QQbj$Q%A22>!=En;@|aC2f9#3HR-tz@mU66$sbZ|i%OWQ0&9^n*R1xHHn^O95 zKJJXiAHaAX^W)=5eE0x}O7q zhpiy*uqkE6%h=hS&vy)9pd-(v@*Le}nOkDgIc#v8eq{CQEzecBKHeUF z#-~^L@JWZ)|LmDlKYNusz1742!OcyopI>?9o8M4_4-cKuuTGynh)w_YN1N;6TgjgN zhyA~D;Z5pdLFCs6B0onE`DKF0uNFjpognga1(9DNh`iZWDmB-r^h#tO5JKSA(Kjm&qZNqlpBfa&6&)+Kx@=lxUnsFQ-ZW(!_ za|xDoj&QjndTc3g-fj;6p)ANFHrMsXiAZD}UU(5VbF7QFW05glj^Uu*d{pztDuO&} z^E~}H5AQ^yA7El3=0ztk5%m^E^`&0A&jNvOzpe=Kkj?Y_@n$Hr62BhBOB^dhULjP# zt!C-=1p>cWLEdijJTqR!E2|5I_BB}3Uf}Wy9IMST9r^PoE69_!QFD{}K6w-H`7=q5 z(Yx_Ya&&!iJ#I0}wEyX

Sign Up or Login


-Join our Discord! +Join our Discord! @endsection \ No newline at end of file diff --git a/resources/views/layouts/app.blade.php b/resources/views/layouts/app.blade.php index f4836a7..69e6378 100644 --- a/resources/views/layouts/app.blade.php +++ b/resources/views/layouts/app.blade.php @@ -89,14 +89,14 @@
- -