Noitidart / Homepage-New-Tab

ff-addon:Makes new tab page show the search and toolbar fields from the defualt Firefox homepage. Sets the current home page to use the new tab page.
https://addons.mozilla.org/en-US/firefox/addon/new-tab-homepage/?src=github
0 stars 1 forks source link

Firefox Developer Edition #6

Open PimpUigi opened 8 years ago

PimpUigi commented 8 years ago

I still use this add on, and I know you kinda stopped working on it because the NewTab page forced a certain URL. Firefox Classic Theme Restorer fixed that, about right away...so my newtab page is still about:home

But it doesn't work on Firefox Developer Edition for whatever reason. The tabs do not appear.

http://s27.postimg.org/9jtxtxji9/Firefox.png

I've been using the following custom stylish code for it.

@namespace url(http://www.w3.org/1999/xhtml);

@-moz-document url("about:home"),url("about:newtab") {

    #topSection {
    height: 242px;
    width: 192px;
    background-image: url('chrome://branding/content/about-logo.png');
    background-size: 192px auto;
    background-position: center 12px;
    background-repeat: no-repeat;
    text-align: center;
}

#searchForm {
  display: -moz-box;
  margin: 148px 0px -150px 0px !important;
}

#newtab-margin-undo-container {
    display: -moz-box !important;
    left: 6px;
    position: absolute !important;
    top: 6px;
    z-index: 1;
    margin: 0px 150px 0px auto !important;
}

    #newtab-customize-button,
.newtab-customize {
  margin: 20px 0px 0px 0px !important;
}
    #newtab-toggle {
        visibility: visible !important;
    }
    body[page-disabled] #newtab-toggle {
        visibility: visible !important;
    }
#newtab-grid {
  -moz-box-flex: 5 !important;
  overflow: hidden !important;
  text-align: center !important;
  transition: 100ms ease-out !important;
  transition-property: opacity !important;
}
    #newtab-margin-top {
  min-height: 50px;
  max-height: 80px;
}

  html {
  font: message-box;
  font-size: 100%;
  background: rgb(11,11,11) !important;
  color: #000;
  height: 100%;
  overflow: hidden !important;
}
html body{
  font-family: sans-serif;
  background: rgb(11,11,11) !important;
  color: #a6a6a6;
  height: 100%;
}

html a {
    color: #00adee !important;
    text-decoration: none;
    font-weight:lighter;
}

html a:hover {
    color: #00adee !important;
    text-shadow: 0px 0px 3px #00adee;
    text-decoration:underline;
    -moz-transition: .1s ease-in;
}
html a:active, html a:focus {
    color: #00adee !important;
    text-shadow: 0px 0px 3px #00adee;
    text-decoration: none;
    outline:none;
    -moz-transition: .1s ease-in;
}

    #brandLogo {
    height: 40px;
    width: 0px;
    margin: 10px 0px 0px;
    background-image: none;
    background-size: 192px auto;
    background-position: center top;
    background-repeat: no-repeat;
    text-align: center;

}

  #searchIconAndTextContainer{
    margin: 210px 0px 0px 0px !important;
  }

#searchText {
  font-weight: lighter;
  width: 100%;
  height: 24px;
  border: 1px solid rgba(0,0,0,.75) !important;
  box-shadow: 0pt 1px 0pt rgba(255, 255, 255, 0.1),
              0pt 2px 3px rgba(0, 0, 0, 0.5) inset !important;
  font-size: 1.2em;
  color: #a6a6a6 !important;
  background: #444444 !important;
  border-top-left-radius: 5px !important;
  border-bottom-left-radius: 5px !important;
}

  #searchSubmit {
    margin-inline-start: -1px;
    background: url("chrome://browser/skin/search-arrow-go.svg#search-arrow-go") no-repeat scroll center center, linear-gradient(rgba(255, 255, 255, 1), rgba(255, 255, 255, 0.5)) repeat scroll 0% 0% padding-box;
  }

#snippets {
  background-image: -moz-linear-gradient(rgb(48,48,48), rgb(26,26,26)) !important;
  background-color: #161616 !important;
  border-radius: 4px !important;
  border: 1px solid rgba(0,0,0,.2);
  border-bottom: 1px solid rgba(0,0,0,.5);
  box-shadow: 0px 1px 1px rgba(255, 255, 255, 0.15) inset,
              0px 2px 5px rgba(0, 0, 0, 0.5) !important;
  color: #a6a6a6 !important;
}

#snippetContainer div.snippet img.icon {
    margin: auto !important;
    /*margin: -0.75em 2em 0 0 !important;*/
}

#contentContainer {
    background-image: none /*-moz-radial-gradient(center top , ellipse farthest-side, rgba(53, 53, 53, 0.5), rgba(53, 53, 53, 0) 75%), -moz-radial-gradient(center top , ellipse farthest-side, rgba(150, 150, 150, 0.5), rgba(150, 150, 150, 0)), -moz-radial-gradient(center top , ellipse farthest-side, rgba(150, 150, 150, 0.3), rgba(150, 150, 150, 0))*/ !important;
    }

#launcher{
    border-top: 1px solid rgb(0,0,0) !important;
    box-shadow: 0px 0px 10px rgba(0,0,0,1)inset, 0px 1px 0px rgb(32,32,32) !important;
    background-color: rgba(0,0,0,.25) !important;
}

.launchButton{
    border-radius: 10px !important;
    color: rgb(120,120,120) !important;
}

.launchButton:hover {
    background-color: rgba(0,0,0,.2) !important;
    border-radius: 10px !important;
    box-shadow: 0px 0px 15px rgba(0,173,238,.75) !important;
    color: rgba(0,173,238,.75) !important;
    text-shadow: 0px 0px 5px rgba(0,173,238,.75) !important;
    -moz-transition: .2s ease-in;
}

.launchButton:focus {
    background-color: rgba(0,0,0,.2) !important;
    border-radius: 10px !important;
    box-shadow: 0px 0px 15px rgba(255,255,255,.75) !important;
    -moz-transition: .2s ease-in;
}

.launchButton:active{
    background-color: rgba(0,0,0,.35) !important;
    border-radius: 10px !important;
    box-shadow: 0px 3px 7px rgba(0,0,0,.75)inset !important;
    -moz-transition: .2s ease-in;
}

.android.tiny{
  margin-top: -9px !important;  
}

.bag-container {
    left: 172px !important;
}

.overflow-box {
    left: 70px !important;
}

.flicks-2012-snippet .message p {
    width: 235px !important;
    margin-top: 0px !important;
}
}
Noitidart commented 8 years ago

Thanks @PimpUigi for your dedication! Wold you be able to take over this addon? By chance?

PimpUigi commented 8 years ago

Well, no...because I don't really know where to go from here to fix it for Firefox Developer Edition. I'm not so good with figuring stuff like that out. But little things like margins and padding, I can figure that stuff out usually. : )

But I do think it's worth continuing the add on, since it does still work overall. Perfectly in Fx43.

PimpUigi commented 8 years ago

Guess it broke in Firefox 44 as well. : ( I updated since it seems Firefox 44 still allows about:config to disable add-on signing.

I still think you should continue updating this add on because it's very useful and nice.

Noitidart commented 8 years ago

Thanks so much @PimpUigi I will try to get back to it I have some hot projects right now (Profilist [almost done], FoxSpeak, MouseControl [70% done]) :(

PimpUigi commented 8 years ago

Hey, I'm patient and Fx43 still works at least. It's just nice to know the answer isn't "no" : )

Noitidart commented 8 years ago

Haha thanks man :)