From 35918e63f856b400bced457eed09c64eefe5e2d8 Mon Sep 17 00:00:00 2001 From: Thomas G <62822072+Thomasluigi07@users.noreply.github.com> Date: Sun, 21 Aug 2022 23:21:41 +1000 Subject: [PATCH] update ide --- public/css/FetchCSS.css | 3 +- public/css/FetchCSS2.css | 18 +++++----- public/images/IDE/bg-header.png | Bin 0 -> 196 bytes public/images/IDE/bg-selected_thumb.png | Bin 0 -> 110 bytes public/images/Icons/img-alert.png | Bin 0 -> 2001 bytes .../StyleGuide/bg-form_btn_lg-tile.png | Bin 0 -> 1245 bytes .../StyleGuide/btn-control-large-tile.png | Bin 0 -> 994 bytes public/img/img-alert.png | Bin 0 -> 2001 bytes public/js/test.js | 2 +- resources/views/client/idelanding.blade.php | 8 ++--- resources/views/client/login_iframe.blade.php | 34 ++++-------------- 11 files changed, 22 insertions(+), 43 deletions(-) create mode 100644 public/images/IDE/bg-header.png create mode 100644 public/images/IDE/bg-selected_thumb.png create mode 100644 public/images/Icons/img-alert.png create mode 100644 public/images/buttons/StyleGuide/bg-form_btn_lg-tile.png create mode 100644 public/images/buttons/StyleGuide/btn-control-large-tile.png create mode 100644 public/img/img-alert.png diff --git a/public/css/FetchCSS.css b/public/css/FetchCSS.css index fbcfc0a..eb4d685 100644 --- a/public/css/FetchCSS.css +++ b/public/css/FetchCSS.css @@ -8565,7 +8565,8 @@ div.callout { display: inline-block; cursor: pointer; padding: 2px 2px 5px 0; - top: 33%; + border: none; + top: 50%; background-position: 0 7; position: relative; left: 83%; diff --git a/public/css/FetchCSS2.css b/public/css/FetchCSS2.css index 9b2d673..9330cd9 100644 --- a/public/css/FetchCSS2.css +++ b/public/css/FetchCSS2.css @@ -1229,7 +1229,7 @@ img.SuperSafePrivacyModeImg:hover { top: 26px; right: 0; width: 340px; - height: 128px; + height: 80px; border: 1px solid #0C3060; border-top: none; } @@ -1381,7 +1381,7 @@ a.facebook-login span.right { letter-spacing: -1px; } -#header-signup { +.header-signup { font-family: Arial; font-weight: bold; color: #fff; @@ -1782,7 +1782,7 @@ legend span { .GrayButton:link, .GrayButton:visited, .GrayButton:active { - background: url(http://web.archive.org/web/20130715023237im_/http://www.roblox.com/images/buttons/bg-form_btn_lg-tile.png) repeat-x top left; + background: url(/images/Buttons/StyleGuide/bg-form_btn_lg-tile.png) repeat-x top left; border: 1px solid #777; padding: 4px 8px 0; height: 21px; @@ -2153,7 +2153,7 @@ table.table { line-height: 24px; font-size: 13px; padding: 0 7px; - background-image: url(http://web.archive.org/web/20130715023237im_/http://www.roblox.com/images/StyleGuide/btn-control-large-tile.png); + background-image: url(/images/Buttons/StyleGuide/btn-control-large-tile.png); } a.btn-control.top-level { @@ -2245,7 +2245,7 @@ a.btn-control.top-level { .btn-neutral:visited { border-color: #0852b7; background-color: #0852b7; - background-image: url(http://web.archive.org/web/20130715023237im_/http://www.roblox.com/images/Buttons/StyleGuide/bg-btn-blue.png); + background-image: url(/images/Buttons/StyleGuide/bg-btn-blue.png); color: #00243d; } @@ -2825,7 +2825,7 @@ body#StudioWelcomeBody { .header { margin-left: -6px; height: 84px; - background: url('http://web.archive.org/web/20130715023237im_/http://www.roblox.com/images/IDE/bg-header.png') repeat-x; + background: url('/images/IDE/bg-header.png') repeat-x; } .header img { @@ -2961,13 +2961,13 @@ ul.navlist { *margin-bottom: -5px; } -#header-signup { +.header-signup { margin-right: 5px; color: black; font-weight: bold; } -#header-signup:hover, +.header-signup:hover, #logout:hover { cursor: pointer; } @@ -3138,7 +3138,7 @@ div#ButtonRow a { .template:hover, .template img:hover { position: relative; - background: url('http://web.archive.org/web/20130715023237im_/http://www.roblox.com/images/IDE/bg-selected_thumb.png') repeat-x; + background: url('/images/IDE/bg-selected_thumb.png') repeat-x; border: 1px solid; border-color: #A7A7A7; cursor: pointer; diff --git a/public/images/IDE/bg-header.png b/public/images/IDE/bg-header.png new file mode 100644 index 0000000000000000000000000000000000000000..11edec3d8c2058222d37197c364017ceedde0066 GIT binary patch literal 196 zcmV;#06YJQP)+A9H@$T;K`}_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%nF<2qg{k6mS_*gSRg)0C-CBjglW z$h<$&FNe|(+K?SfG|x!s_gIOKf3Z93=nDDhXC!a8W|5@2d{Y>DizjQWDRgm(A4=sd zU*$JXNej}dD>j9cFZ-l?`O4FMCD+!hj!Sx@vvTu-EKU1G|K1BXg=L3gGX#m`D)+vf z5wWR`J(Wi-h*clRh>zUlc=iKlFNRoBmY*Qb^?)lCJ-2_aNcq(};_)<;@+h fP7_fZShSP!>FJI0Q&WY7!TC=SZ-LJw?acohXV+&a literal 0 HcmV?d00001 diff --git a/public/images/buttons/StyleGuide/bg-form_btn_lg-tile.png b/public/images/buttons/StyleGuide/bg-form_btn_lg-tile.png new file mode 100644 index 0000000000000000000000000000000000000000..71195d844ac75ddb8da87d1ceac367b0ab231a09 GIT binary patch literal 1245 zcmbVLU2NM_6gHYb)1*m&v>_%T8Moqz*uGBU#8$JC*a?eRx+;ydJRzLqrnOqz!FHFl zyZ|p%GYJWa?G?3q-wP7j#H0Zl3=o<$P*K^SO_MdGl!lPfu1%9%ZrY^qQ0;*$+4t{! z=R4=z@5~Mly?*k zD01J#9`{iPLB%7(q-2!(o6XW$CvBLc3=jl?VL6859N5BPP3g9hbLduI&w~uDq^V|X z)zHa~MsGf=xMWOD$uNLs8BOctwQp_NQTT5dM_OC4sSISI z&@v{?Bz}){Uk{9H_hh1uA&y48V5<00lnL2LPHIrM!?KUUH*`u(i5@;6dAN{Q;ss|A z0O0p{+};4|6oi0F_DfvP$5B{b5@a_IWWnY20uTg(B=g>o6L3LU2ms*jVZ*v*D|!<4 zcvZ~X#Y#`aijoNx+c0B>G0{`N@R(s6)|inYr4cs`$cw6;GO||Zc@DCbp{ZVisgP-C z#AZF(z(}{*SMHj@#<$@cCG<-A2Eb(em>0H$S0LskFAX_IMYS%jM0@&8@Ai zT|647(P(`CGx~7}?d-GD;poIcjETV^x(AHzLUPHB7 ztx~Dnz4OCYIKuI;?2qLh^nWpP`aObp?f&SgIW9kOyn18nKxmo#9 zf@~CDIh$}?nt$H+*QvS1%hzw@KUvIw8lSy=GoGJ2e&>yk5>&eA;EVmy4`;9D@-sIs n$6bk+zn(w+5?HwK?o-6>trx2AJTr3>(-Ps}kbFJx*8BeeJmlyR86bfGJL55Vcpqos#`_qJtrJHQspebd$*u4}@lW8|@lZnZ!n^six zq$j;tP_ZC*5QN^Wf?yR2;z4@ROWRw$i>yjPq)xWGTMw>*$^7u%``-7>H+ROz&h+*i z>0ubASIesfIv=9rZ1+L>PhZ$rrc)oumB<91AvMEC%!q}j5zriC78Q_T&0qe2G7Qtj z+Qkwn>E|R9JDd?=xX|$^n_)7;p=X#CM8GtfwOyJ0`g)ZGwk5NZNge8*g35M&!ABDd zV?}eJVu}_!d>Ujzi3&J~7$9`!+&~ItwxKK0b#%QNtr$8JEkQd@SOveN$CDRfVK=Wg1G~b$$3hHPx7Tw8gnGjFn`C6^U)do52 z&+>vOiad<-@pz0PV!^yij4mt0X}cD#1r5BeOPU)H!!?nn$}CmjY}=C5L^i94>2xwDW(6S^7n2H9 zhv1+96N-=;Nwv5tHmeSDNsDXkbB8)|qgHS{8d*iYeFa&gK6XGOWy$XBCD~E0$+bFr zNp|Yn%I-=bZE!%BNH|@qpF70-owsrN`)OY$M&THyOG2Ga?_pawH>{edv z?B3XVRoT4xWNm8k(U-o&(u0+OH%kZdna$N7pRYdr_02rGa`N{2&f)s*;`^V!AHS^U rpI`fwsh_xXJ-fYGU)$AI?=oGCHt_8D{q>JeqgSWp#??CeG& literal 0 HcmV?d00001 diff --git a/public/img/img-alert.png b/public/img/img-alert.png new file mode 100644 index 0000000000000000000000000000000000000000..000552ee19a24cf9b7b0f35b3eebcf8f5e70c5a7 GIT binary patch literal 2001 zcmbVLdsI_(9G_wypm?aMVNP!|s#9)vckJPYC}VddDmHLK99hooj!nF~bGvhcJf7m1 z*r}{ekZCEStb-#2X=L({PG+ghHA_I?3_?jT*(T!+pHcG891>h6UA=XbNTRdW&A6%t3Hq7m}^jCD44e4KzTj zN}z4yq%u?WB1EIz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RoBmY*Qb^?)lCJ-2_aNcq(};_)<;@+h fP7_fZShSP!>FJI0Q&WY7!TC=SZ-LJw?acohXV+&a literal 0 HcmV?d00001 diff --git a/public/js/test.js b/public/js/test.js index a3bee2a..914b49a 100644 --- a/public/js/test.js +++ b/public/js/test.js @@ -3750,7 +3750,7 @@ if (!self.__WB_pmw) { self.__WB_pmw = function (obj) { this.__WB_source = obj; r $(function () { function n() { Roblox.GenericConfirmation.open({ titleText: Roblox.IDEWelcome.Resources.emailVerifiedTitle, bodyContent: Roblox.IDEWelcome.Resources.emailVerifiedMessage, onAccept: function () { window.location.href = "/My/Account.aspx?confirmemail=1" }, acceptColor: Roblox.GenericConfirmation.blue, acceptText: Roblox.IDEWelcome.Resources.verify, declineText: Roblox.IDEWelcome.Resources.cancel, allowHtmlContentInBody: !0 }) } function i(n) { var r = "/ide/placelist", i, t; return n && (i = $("div.place").length, t = "?startRow=" + i, r += t), r } function t(n, t) { $.ajax({ url: t, cache: !1, dataType: "html", success: function (t) { n.remove(); var i = $("#AssetList"); i.append($(t)), $(t).animate({ opacity: 1 }, "fast"), $(".place").unbind("click"), $(".place").click(function () { $(this).hasClass("place-selected") ? ($(this).removeClass("place-selected"), $("div#ButtonRow").hide()) : ($(".place.place-selected").removeClass("place-selected"), $(this).addClass("place-selected"), $("div#ButtonRow").show()) }), $(".place a").removeAttr("href") } }) } $(window).resize(function () { var n = $(".main div.welcome-content-area:visible"); $(window).height() < n.height() ? $(".navbar").height(n.height()) : $(".navbar").height($(window).height() - 124), n.height($(window).height() - 170) }), $(".navbar").height($(window).height() - 124), $("ul.filelist li a").each(function () { this.innerHTML = fitStringToWidthSafe($(this).text(), $(".navlist li p").width()) }), $("#PublishedProjects").length > 0 ? $("#MyProjects").addClass("navselected") : $(".navlist li").first().addClass("navselected"), $("ul.filelist li a").click(function () { Roblox.Client.isIDE() ? window.external.OpenRecentFile($(this).attr("js-data-file")) : Roblox.GenericModal.open(Roblox.IDEWelcome.Resources.openProject, "/images/Icons/img-alert.png", Roblox.IDEWelcome.Resources.openProjectText + " " + Roblox.IDEWelcome.Resources.robloxStudio + ".") }), $("#header-signup").click(function () { window.open("/Login/NewAge.aspx") }), $("#HeaderHome").click(function () { window.location = "/Home/Default.aspx" }), $("#MyProjects").click(function () { $("#TemplatesView").hide(), $("#MyProjectsView").show(), $(".navlist li.navselected").removeClass("navselected"), $(this).addClass("navselected") }), $("#NewProject").click(function () { $("#TemplatesView").show(), $("#MyProjectsView").hide(), $(".navlist li.navselected").removeClass("navselected"), $(this).addClass("navselected") }), $(".place").click(function () { $(this).hasClass("place-selected") ? ($(this).removeClass("place-selected"), $("div#ButtonRow").hide()) : ($(".place.place-selected").removeClass("place-selected"), $(this).addClass("place-selected"), $("div#ButtonRow").show()) }), $(".place a").removeAttr("href"), $("ul.navlist li").last().addClass("lastnav"), $("#EditButton").click(function () { var i, t; $(this).hasClass("btn-disabled-primary") || ($("#BuildButton, #EditButton").addClass("btn-disabled-primary"), $("#CollapseButton").addClass("btn-disabled-negative"), i = $(".place.place-selected"), Roblox.Client.isIDE() ? $("#verifiedEmail").data("email-verified-required") == "True" ? n() : (t = i.attr("data-placeid"), window.play_placeId = t, window.editGameInStudio(t)) : Roblox.GenericModal.open(Roblox.IDEWelcome.Resources.editPlace, "/images/Icons/img-alert.png", Roblox.IDEWelcome.Resources.toEdit + i.find("p").text() + Roblox.IDEWelcome.Resources.openPage + "" + Roblox.IDEWelcome.Resources.robloxStudio + "."), $("#BuildButton").removeClass("btn-disabled-primary"), $("#EditButton").removeClass("btn-disabled-primary"), $("#CollapseButton").removeClass("btn-disabled-negative"), $("#CollapseButton").trigger("click")) }), $("#BuildButton").click(function () { var t, r, i; $(this).hasClass("btn-disabled-primary") || ($("#BuildButton, #EditButton").addClass("btn-disabled-primary"), $("#CollapseButton").addClass("btn-disabled-negative"), t = $(".place.place-selected"), Roblox.Client.isIDE() ? $("#verifiedEmail").data("email-verified-required") == "True" ? n() : (r = t.attr("data-active") == "True", r ? (i = t.attr("data-placeid"), window.play_placeId = i, buildGameInStudio(i)) : Roblox.GenericModal.open(Roblox.IDEWelcome.Resources.placeInactive, "/images/Icons/img-alert.png", Roblox.IDEWelcome.Resources.toBuild + t.find("p").text() + Roblox.IDEWelcome.Resources.activate)) : Roblox.GenericModal.open(Roblox.IDEWelcome.Resources.buildPlace, "/images/Icons/img-alert.png", Roblox.IDEWelcome.Resources.toBuild + t.find("p").text() + Roblox.IDEWelcome.Resources.openPage + "" + Roblox.IDEWelcome.Resources.robloxStudio + "."), $("#BuildButton").removeClass("btn-disabled-primary"), $("#EditButton").removeClass("btn-disabled-primary"), $("#CollapseButton").removeClass("btn-disabled-negative"), $("#CollapseButton").trigger("click")) }), $("#CollapseButton").click(function () { $(this).hasClass("btn-disabled-negative") || ($(".place.place-selected").removeClass("place-selected"), $("div#ButtonRow").hide()) }), $("#StudioRecentFiles").length == 0 && $("ul.navlist").css("border-bottom", "none"); $("#AssetList").on("click", "#load-more-assets", function () { var r = $(this).parent(), n = i(!0); t(r, n) }) }); ;// IDE/BuildTemplates.js - function getSelectedTemplateType() { return $('div.templates[js-data-templatetype="' + $("ul.templatetypes li.selectedType").attr("js-data-templatetype") + '"]') } $(function () { var t = $("ul.templatetypes li"), n; t.click(function () { var n = getSelectedTemplateType(); n.hide(), $("ul.templatetypes li.selectedType").removeClass("selectedType"), $(this).addClass("selectedType"), n = getSelectedTemplateType(), n.show() }), n = t.first(), n.addClass("selectedType"), getSelectedTemplateType().show(), Roblox.require("Widgets.PlaceImage", function () { Roblox.Widgets.PlaceImage.populate() }), $(".template").click(function () { Roblox.Client.isIDE() ? window.editTemplateInStudio($(this).attr("placeid")) : Roblox.GenericModal.open("New Project", "/images/Icons/img-alert.png", "To build using this template, open to this page in ROBLOX Studio.") }), $(".template a").removeAttr("href") }); + function getSelectedTemplateType() { return $('div.templates[js-data-templatetype="' + $("ul.templatetypes li.selectedType").attr("js-data-templatetype") + '"]') } $(function () { var t = $("ul.templatetypes li"), n; t.click(function () { var n = getSelectedTemplateType(); n.hide(), $("ul.templatetypes li.selectedType").removeClass("selectedType"), $(this).addClass("selectedType"), n = getSelectedTemplateType(), n.show() }), n = t.first(), n.addClass("selectedType"), getSelectedTemplateType().show(), Roblox.require("Widgets.PlaceImage", function () { Roblox.Widgets.PlaceImage.populate() }), $(".template").click(function () { Roblox.Client.isIDE() ? window.editTemplateInStudio($(this).attr("placeid")) : Roblox.GenericModal.open("New Project", "/img/img-alert.png", "To build using this template, use ARCHBLOX Studio.") }), $(".template a").removeAttr("href") }); ;// StringTruncator.js function InitStringTruncator() { isInitialized || (fitStringSpan = document.createElement("span"), fitStringSpan.style.display = "inline", fitStringSpan.style.visibility = "hidden", fitStringSpan.style.padding = "0px", document.body.appendChild(fitStringSpan), isInitialized = !0) } function fitStringToWidth(n, t, i) { function s(n) { return n.replace("<", "<").replace(">", ">") } var f, r, u, e, o; if (isInitialized || InitStringTruncator(), i && (fitStringSpan.className = i), f = s(n), fitStringSpan.innerHTML = f, fitStringSpan.offsetWidth > t) { for (r = 0, e = n.length; o = e - r >> 1;)u = r + o, fitStringSpan.innerHTML = s(n.substring(0, u)) + "…", fitStringSpan.offsetWidth > t ? e = u : r = u; f = n.substring(0, r) + "…" } return f } function fitStringToWidthSafe(n, t, i) { var r = fitStringToWidth(n, t, i), u; return r.indexOf("…") != -1 && (u = r.lastIndexOf(" "), u != -1 && u + 10 <= r.length && (r = r.substring(0, u + 2) + "…")), r } function fitStringToWidthSafeText(n, t, i) { return fitStringToWidthSafe(n, t, i).replace("…", "...") } var isInitialized = !1, fitStringSpan = null; diff --git a/resources/views/client/idelanding.blade.php b/resources/views/client/idelanding.blade.php index b9456bc..9d29661 100644 --- a/resources/views/client/idelanding.blade.php +++ b/resources/views/client/idelanding.blade.php @@ -7,7 +7,7 @@ @@ -16,15 +16,15 @@