Jonius7

Steam UI CSS Tweaks v0.5

Jun 21st, 2020 (edited)
241
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 10.75 KB | None | 0 0
  1. /* New versions at https://github.com/Jonius7/SteamUI-OldGlory */
  2.  
  3. List of Steam UI CSS Tweaks v0.5
  4.  
  5. Each piece of CSS contains the modified lines, and may contain other lines also not modified.
  6. Keep all other lines in the CSS file that are not in these tweaks unless otherwise stated.
  7.  
  8. == Changelog ==
  9. v0.5 Added in new tweaks to Apppages, padding and headers
  10. v0.4 initial version
  11.  
  12.  
  13. /* Games dropdown width increased */
  14. .gamelistdropdown_DropDown_EDl_m {
  15.     width:195px !important;
  16. }
  17.  
  18.  
  19. /* Search bar padding especially bottom, reduced */
  20. .gamelistsearchbar_Container_20QAC {
  21.   width: 100%;
  22.   display: flex;
  23.   flex-grow: 0;
  24.   user-select: none;
  25.   color: white;
  26.   font-size: 12px;
  27.   outline: none;
  28.   position: relative;
  29.   padding: 3px;
  30.   padding-top: 0px; }
  31.  
  32. /* fix search bar sometimes flexing down a few pixels */
  33. .gamelistsearchbar_Container_20QAC .gamelistsearchbar_SearchInput_12vo5 {  
  34.       height: 11.5px;}  
  35.  
  36. /* Your Collections header and side padding */
  37. .allcollections_ScrollContainer_u1xD3 {
  38.   padding: 10px;
  39. }
  40.  
  41. /* App Page main header - down to 70% the height */
  42. .sharedappdetailsheader_TopCapsule_NZMJ6{
  43.   width:60%;
  44.   height:14.4vw!important;
  45.   z-index:-1000;
  46.   background-color:#141414;
  47.   background-size:cover;
  48.   overflow hidden;
  49.   user-select:none;}
  50.   .sharedappdetailsheader_TopCapsule_NZMJ6.sharedappdetailsheader_NoArt_1amMH{
  51.     height: 24vw;}
  52.  
  53. /* App Page main header - moving the image so it is anchored from the top */
  54. .sharedappdetailsheader_ImgSrc_HNbe3 {
  55.   width: calc(204% + 128px);
  56.   height: 190%;
  57. }  
  58.  
  59.   /*Remove Appdetail margins */
  60.   .appdetailssection_AppDetailsSection_2r4TK {
  61.   font-family: "Motiva Sans", Arial, Helvetica, Sans-serif;
  62.   box-sizing: border-box;
  63.   color: white;
  64.   margin-bottom: 6px; }
  65.  
  66. .appdetailssection_AppDetailsSectionContainer_31ptF {
  67.   box-sizing: border-box;
  68.   margin: 8px;
  69.  
  70.     button.DialogButton.appdetailsbutton_AppDetailsButton_3Cdin.appdetailsbutton_BottomRight_3nJyY {
  71.     text-align: right;
  72.     margin-top: -4px;
  73.     padding: 2px 8px; }
  74.  
  75. .appdetailsfriendssection_Subsection_39bm0 {
  76.   display: flex;
  77.   flex-direction: column;
  78.   margin-bottom: 6px;
  79. }
  80.  
  81. /* increase text opacity of Last Played, Play Time */
  82. .appdetailsplaysection_PlayBarLabel_34lrt {
  83.   font-size: 14px;
  84.   color: rgba(255, 255, 255, 0.9);
  85. }
  86.  
  87.   .appdetailsplaysection_Playtime_1aKeg .appdetailsplaysection_PlaytimeIcon_1GZdo svg polyline, .appdetailsplaysection_Playtime_1aKeg .appdetailsplaysection_PlaytimeIcon_1GZdo svg path {
  88.     stroke: rgba(255, 255, 255, 0.5); }
  89.   .appdetailsplaysection_Playtime_1aKeg .appdetailsplaysection_PlaytimeIcon_1GZdo svg circle {
  90.     stroke: rgba(255, 255, 255, 0.5);
  91.     fill: rgba(255, 255, 255, 0.5);
  92.     stroke-width: 12px; }
  93.  
  94. .appdetailsplaysection_PlayBarDetailLabel_2TYVG,
  95. .appdetailsplaysection_LastPlayed_3pS8k .appdetailsplaysection_LastPlayedInfo_1nfJN {
  96.   color: rgba(255, 255, 255, 0.5); }
  97.  
  98. .appactivityday_AppActivityDay_S2Fu9 {
  99.   margin-bottom: 0px;
  100. }
  101.  
  102. .appactivityday_Event_UVeN0 {
  103.   position: relative;
  104.   font-size: 13px;
  105.   /* gap between each event */
  106.   margin-top: 0px; }  
  107.  
  108. .appactivityday_ActivityAchievementUnlocked_yJLy7 {
  109.   padding: 6px;
  110.   display: flex;
  111.   display: grid;
  112.   flex-direction: row;
  113.   flex-wrap: wrap;
  114.   grid-template-columns: repeat(auto-fill, [col-start] minmax(140px, 48%) [col-end]) !important;
  115.   gap: 8px 8px; }
  116.  
  117. .appactivityday_PartnerEventLargeImage_Title_3fsjz {
  118.   font-size: 16px;
  119.   font-weight: 300;
  120.   color: #ccc; }
  121.  
  122. .appactivityday_PartnerEventMediumImage_Contents_2gv3E {
  123.   display: flex;
  124.   align-items: stretch;
  125.   overflow: hidden;
  126.   padding: 10px; }
  127.  
  128. .appactivityday_PartnerEventMediumImage_Title_1gljE {
  129.   font-size: 16px;
  130.   font-weight: 300;
  131.   color: #ccc; }  
  132.  
  133. .appdetailsachievementssection_Featured_1j_gj .appdetailsachievementssection_TextSection_1s_9c .appdetailsachievementssection_Name_39Y01 {
  134.       font-size: 12px;}
  135.     .appdetailsachievementssection_Featured_1j_gj .appdetailsachievementssection_TextSection_1s_9c .appdetailsachievementssection_Desc_2gLHb {
  136.  
  137.       font-size: 11px;}
  138.      
  139. .appdetailscommunityfeed_CommunityContentContainer_A6G1l {
  140.   font-size: 16px;
  141.   flex-direction:column;
  142.   color: #616970;
  143.   display:flex;
  144.   /*margin-left: -163%;*/
  145. }
  146.  
  147.  .appdetailsactivitysection_ActivityFeedContainer_3yTl3 {
  148.   color: white;
  149.   margin-bottom: 22px;
  150.   width: 100%;
  151.   float: left;  }
  152.  
  153.   .appdetailsdlcsection_DLCSection_2ycfN .appdetailsdlcsection_DLC_15tTA {
  154.     display: grid;
  155.     grid-template-columns: repeat(3, minmax(32.3%, max-content));
  156.   }
  157.  
  158. .appdetailsdlcsection_StoreHover_M1EYV {
  159.   box-shadow: 0 10px 32px 0px #000000ab;  
  160. }
  161.  
  162. /* Tweak nav bar to be bigger and more opaque*/
  163. .appdetailsprimarylinkssection_LinksSection_3-V8v .appdetailsprimarylinkssection_Links_DgVQa {
  164.     height: 35px !important;
  165. }
  166.  
  167.   .appdetailsprimarylinkssection_LinksSection_3-V8v .appdetailsprimarylinkssection_LinksSectionBody_25f0f {
  168.     padding: 0px 10px 3px 10px !important;
  169.    
  170. .appdetailsprimarylinkssection_LinkInner_7k4qm {
  171.   position: absolute;
  172.   padding: 4px 20px 4px 0px !important; }  
  173.  
  174.   .appdetailsprimarylinkssection_LinkInner_7k4qm .appdetailsprimarylinkssection_Text_2sNDj {
  175.     align-self: center;
  176.     color: rgba(255, 255, 255, 0.7);
  177.     text-decoration: none;
  178.     white-space: nowrap;
  179.     font-size:15px;}
  180.  
  181. .boxcarousel_BoxCarousel_3fiHs {
  182.   height: 192.5px !important;
  183.   position: relative; }
  184.  
  185.   .appdetailsoverview_Container_27RcN .appdetailsoverview_ColumnContainer_OhSdL {
  186.     box-sizing: border-box;
  187.     width: 100%;
  188.     padding: 8px;
  189.  
  190.     .appdetailsoverview_Container_27RcN .appdetailsoverview_Spotlights_11kuV.appdetailsoverview_SpotlightLeftColumn_3wbnd {
  191.       /* the width below is to replicate the column layout already built with floats, that needs to remain as community content
  192.             floats around the right column to eventually cover the entire page.
  193.             - The right column is 33% width with 42px of left margin
  194.             - The 10px of left padding is to align the left of child elements with left column contents
  195.             */
  196.       display: inline-block;
  197.       width: calc( 63.7% - 42px);
  198.     }
  199.  
  200.   .appdetailsoverview_Container_27RcN .appdetailsoverview_LeftColumn_1sZgB {
  201.     width: 38%;
  202.     box-sizing: border-box;
  203.     flex: none;
  204.     flex-direction:column;
  205.     display:flex;
  206.     float: right;}
  207.    
  208.   .appdetailsoverview_Container_27RcN .appdetailsoverview_RightColumn_2aor4 {
  209.     width: 61%;
  210.     margin-left: 2px;
  211.     flex: none;
  212.     display: flex;
  213.     flex-direction: column;
  214.     float:left;
  215.      }
  216. /* New sections */
  217.     div.appdetailsoverview_LeftColumn_1sZgB:nth-child(2) {
  218.         display:flex;
  219.         width:5%;
  220.     }
  221.    
  222.     #root > div > div.library_MainPanel_3BFcm.MediumRightPanel > div.library_AppDetailsTransitionGroup_2Dd4T > div > div.smartscrollcontainer_Container_3VQUe.appdetails_Container_2iE-7 > div.smartscrollcontainer_Body_3lDcz.appdetails_ScrollContainer_2l416.appdetails_Glassy_3Fmxx > div > div.appdetailsoverview_Container_27RcN.appdetailsoverview_Glassy_2OOzY > div.appdetailsoverview_ColumnContainer_OhSdL > div.appdetailsoverview_LeftColumn_1sZgB > div:nth-child(1) {
  223.         width:100%;
  224.         display:flex;
  225.     }
  226. /* end new sections */
  227.  
  228. /* added a darker gradient to the top of the apppage below the Game Image */   
  229. .appdetailsoverview_Glassy_2OOzY .appdetailsoverview_Backdrop_1Qa-A {
  230.   width: 100%;
  231.   display: flex;
  232.   flex-direction: column;
  233.   align-items: stretch;
  234.   box-sizing: border-box;
  235.   position: absolute;
  236.   top: 0;
  237.   background: linear-gradient(0deg, rgba(40,41,49,0) 0%, rgba(51,51,51,0.2) 35%, rgba(51,51,51,0.5) 100%); }
  238.    
  239.   .appportrait_HoversEnabled_54PuC .appportrait_LibraryItemBox_WYgDg:hover .appportrait_UninstalledIcon_8YrRm {
  240.     opacity: .9;
  241.  
  242.  
  243. /* Gamelist entry - font size */
  244. .gamelistentry_Container_2-O4Z {
  245.   font-size: 16px;
  246. }
  247.   .gamelistentry_Container_2-O4Z.gamelistentry_HoverOverlay_3cMVy {
  248.     height:100%;
  249.   }
  250.  
  251. /* Gamelist entry - icon size */   
  252. .gamelistentry_Container_2-O4Z .gamelistentry_GameIcon_ga1hy {
  253.     height: 22px;
  254.     width: 22px;
  255. }
  256.  
  257. /* Fix hover text to the bottom. I unfortunately couldn't keep it dynamic without affecting ALL other hover overlays across the client */
  258. .gamelistentry_FriendStatusHover_2iiN7 {
  259.   background-color: #464141;
  260.   padding: 4px;
  261.   box-shadow: 0 0 12px black;
  262.   position:fixed;
  263.   bottom: 2% !important;
  264.   height:28px;
  265.   }
  266.  
  267. /* remove border */
  268. .gamelistsectionheader_Container_2sYIg {
  269.   box-sizing: border-box;
  270.   color: #707379;
  271.   border: 0px solid rgba(0, 0, 0, 0);
  272. }
  273.  
  274. .gamelistsectionheader_SectionHeaderContent_3cV3O {
  275.   display: flex;
  276.   flex-direction: row;
  277.   flex: 1;
  278.   min-width: 0;
  279.   margin-top: 3px;
  280.   padding: 0px 9px 5px 9px;
  281. }
  282.  
  283.  
  284.  
  285. /* category name - font size and height*/
  286. .gamelistsectionheader_SectionName_2mZ8L {
  287.   font-size: 13px;
  288.   text-transform: uppercase;
  289.   letter-spacing: 1px;
  290.   height: 15px;
  291. }
  292.  
  293.  
  294. /* category count - font size and height*/
  295. .gamelistsectionheader_SectionCount_29ute {
  296.   font-size: 13px;
  297.  
  298. }
  299.  
  300. /* Make game list height constant so search bar doesn't "flex" down */
  301. .gamelist_Container_1ijTa {
  302.   height:90.3%;
  303. }
  304.  
  305. /*start new CSS sections */
  306. /* Zoom out both the gamelist container and the hover text for long game names */
  307. .gamelist_Container_1ijTa, .gamelistentry_Container_2-O4Z.gamelistentry_HoverOverlay_3cMVy {
  308.   zoom:75%;
  309.   position:relative;
  310. }
  311. /* Fix hover text to the bottom. I unfortunately couldn't keep it dynamic without affecting ALL other hover overlays across the client */
  312. .gamelistentry_Container_2-O4Z.gamelistentry_HoverOverlay_3cMVy {
  313.     position:fixed;
  314.     bottom: 0% !important;
  315.     height:24px;
  316. }
  317. /*end new CSS sections */
  318.  
  319. /* Make nosearchresults height constant so search bar doesn't "flex" down */
  320. .gamelist_NoSearchResultsContainer_1fbRp {
  321.   display: flex;
  322.   flex-direction: column;
  323.   margin: 2px;
  324.   font-size: 13px;
  325.   flex: 1;
  326.   height:89.8%;
  327.   text-align: center; }
  328.  
  329. /*Gamelist dropdown and buttons width reduced to 50%, align with home bar*/
  330. .gamelistdropdown_Bar_1ZS_x{
  331.   width:50%;
  332.   flex:1 1 auto;
  333.   box-sizing: border-box;
  334.   padding:4px 3px 0px;
  335.   outline:none;
  336.   display:flex;
  337.   height:36px;
  338.   min-width:0;
  339.   position:relative;}
  340.  
  341. /* remove height: 100% */
  342. .gamelistbar_Container_3x1Hk {
  343.   background-image:linear-gradient(to bottom, #2d333c 0%, #24282f 20%);
  344.   flex:1;
  345.   display:flex;
  346.   min-width:0;
  347.   flex-direction:row;
  348.   flex-wrap:wrap;
  349.   user-select:none;
  350.   outline:none;}
  351.  
  352. /*Home bar width reduced to 20%, align with Gamelist dropdown and buttons*/
  353. .gamelistbar_GameListHomeAndSearch_2TKEa {
  354.   padding: 4px 3px 0px 6px;
  355.   box-shadow: 0 0 0px rgba(0, 0, 0, 0.8);
  356.   position: relative;
  357.   display: flex;
  358.   height: 36px;
  359.   flex:1 1 auto;
  360.   width:20%;}
  361.  
  362.   .LibraryDisplaySizeSmall .libraryhome_UpdatesContainer_17uEB {
  363.     height: 270px; }
  364.  
  365. .libraryhomeshowcases_ShowcaseOuter_2tC_c {
  366.     height:0;
  367. }
Add Comment
Please, Sign In to add comment