X-Git-Url: https://git-public.kairo.at/?p=themes.git;a=blobdiff_plain;f=LCARStrek%2Fbrowser%2Fnewtab%2FnewTab.css;h=77ecbc1b9b541e05c20fc19db2060b82cfbcc798;hp=ab7ef7157f2332db7c3664ac41012847711b533f;hb=d74db93877c7a404babddcf7b0523fa2b1f6f2bf;hpb=42f880d7999a96ab6998882d52ab5b0113a23285 diff --git a/LCARStrek/browser/newtab/newTab.css b/LCARStrek/browser/newtab/newTab.css index ab7ef715..77ecbc1b 100644 --- a/LCARStrek/browser/newtab/newTab.css +++ b/LCARStrek/browser/newtab/newTab.css @@ -89,7 +89,9 @@ } /* CELLS */ -.newtab-cell { +.newtab-cell, +.newtab-intro-cell, +.newtab-intro-cell-hover { background-color: rgba(255,159,0,.2); border: 1px solid; border-color: #9C9CFF; @@ -108,11 +110,19 @@ transition-property: top, left, opacity, box-shadow, background-color; } -.newtab-cell:not([ignorehover]) > .newtab-site:hover, -.newtab-site[dragged] { +.newtab-cell:not([ignorehover]) .newtab-control:hover ~ .newtab-link, +.newtab-cell:not([ignorehover]) .newtab-link:hover, +.newtab-site[dragged], +.newtab-intro-cell-hover .newtab-link { box-shadow: 0 0 10px rgba(0,132,132,.3); } +.newtab-intro-cell .newtab-thumbnail, +.newtab-intro-cell-hover .newtab-thumbnail { + background-color: #cae1f4; + background-image: url("chrome://browser/skin/newtab/whimsycorn.png"); +} + .newtab-site[dragged] { transition-property: box-shadow, background-color; background-color: #002121; @@ -120,7 +130,8 @@ /* LINKS */ .newtab-link { - border-radius: 3px; + border-radius: 10px; + overflow: hidden; } /* THUMBNAILS */ @@ -129,10 +140,12 @@ background-clip: padding-box; background-repeat: no-repeat; background-size: cover; + border-radius: 8px 8px 0px 0px; + height: 180px; transition: opacity 100ms ease-out; } -.newtab-site:hover .newtab-thumbnail.enhanced-content { +.newtab-cell:not([ignorehover]) .newtab-site:hover .newtab-thumbnail.enhanced-content { opacity: 0; } @@ -145,8 +158,10 @@ } /* TITLES */ +/*#newtab-intro-what,*/ .newtab-sponsored, -.newtab-title { +.newtab-title, +.newtab-suggested { padding: 0 8px; background-color: rgba(255,159,0,.8); color: #000000; @@ -154,12 +169,27 @@ bottom: 0 !important; } +/* +.newtab-suggested { + background-color: #9C9CFF; +} + +.newtab-suggested:hover { + background-color: #FFCF00; + border: 1px solid #9C9CFF; +} + +.newtab-suggested[active] { + background-color: #FF9F00; + border: 0; +} +*/ .newtab-site:hover .newtab-title { background-color: #FFCF00; } .newtab-site[pinned] .newtab-title { - padding: 0 15px; + -moz-padding-start: 24px; } .newtab-site[pinned] .newtab-title::before { @@ -167,9 +197,12 @@ background-size: 10px; content: ""; height: 17px; - left: 0; + left: 5px; + top: 5px; position: absolute; width: 10px; + margin-left: 8px; + margin-top: 6px; } .newtab-site[pinned] .newtab-title:-moz-locale-dir(rtl)::before {