How to hide all inline comments on phabricator? - phabricator

I'd like to hide (or collapse, if not possible) all the comments within phabricator.
I know I could just download the .diff and read it from there but I would just want a quick way/keyboard shortcut to hide all the comments.

If you scroll down a little bar appears at the top of the screen with a hamburger menu where you have the option to hide all comments

You can save this as a bookmarklet to remove all the comments.
javascript:document.querySelectorAll('.differential-inline-comment').forEach(n => n.parentNode.removeChild(n));

Related

How to move the CSS Styles part to the bottom in Chrome Devtools?

When i go to Inspect on Google Chrome, i have the HTML and CSS sections in parallel as shown below.
How can i move the CSS part to the bottom while keeping the HTML part above, as shown below?
Click the nail > Set 'Panel layout' to horizontal
Here is where you are gonna set your panel horizontal
I hope helped you.
I had the same question this evening. All the answers I found kept trying to describe how to move the entire Dev Tools panel. But what you and I actually want is to adjust the inner panels.
Here is what I did:
Click on the settings GEAR in the upper right-hand corner of Developer Tools. It's the little donut-looking thing. This will bring up a full-screen SETTINGS panel.
Click on the PREFERENCES option (if it isn't already selected).
In the APPEARANCE option group, look for the Panel layout dropdown.
Change the Panel layout selection to horizontal.
That did it for me this evening. Hope it helps you.
Sorry, I'm not including screenshots — I've got to get back to work!
First, you need click 3 dots. Then you select your desired dock side.
you need to click 3 dot on right side of devTools and select dock side

How to change the background and size of the post footer, plus add a comment count?

So my blog posts on my home page button have a Read More button, like so...
enter image description here
But they don't have anything in the post footer. Now, I found a way to add social media icons to my post-footer, but I also want to display my comment count. I also want to change the background of the post footer and the size (height?) of the post footer, to end up with something like this, minus the labels, that is.enter image description here
I want to align the comment count to the left. And, again, I also figured out a way to include social media icons. But how do you change the background of the post-footer to have a different color? And how do you include the comment count? I tried changing the settings of my blog widget, and it didn't work. I suspect I may have accidentally removed the comment count by adding a conditional tag in the past, but I am not sure. So this is a weird logic—is their a conditional tag for removing comments in the homepage, so I can remove it from my HTML, if ever.
Please help!
And thank you, if ever. :)

2 tiered horizontal navigation bar

Wondered if anyone had any links to a tutorial for a navigation bar in css (not javascript). I'm after a 2 tier horizontal bar. the bottom tier being also horizontal.
Just like the following image
any pointers would be a great help!
cssplay.co.uk has plenty of dropline menus. Just look under "Multi-Level - Dropline". Pay attention to copyright though.
I think you just mean two tiers, and they are both visible all the time, not that the second tier is visible on hover, correct?
If so, here's a basic fiddle example: http://jsfiddle.net/jblasco/XAE9c/
Anyway, the idea is to use two ul lists, and place the li elements of your nav in them accordingly. You can then style the list items however you want from there, as well as add links to their content, etc.
If you have a dynamic page, you would do a simple server-side check for if ($PageURL == "blah.php") { and spit out class="active" on the current tab, and style that however you like.
I'd suggest using inspect element on some nav bars you like, and going from there.
The solution without Javascript for IE hover hack http://webstuffshare.com/demo/New-CSSTabMenu
but it may not behave in the way you want, are you after reveal on hover?
http://www.webstuffshare.com/2010/01/updated-pure-css-tab-menu/
THE guide: Suckerfish Dropdowns.
http://www.alistapart.com/articles/dropdowns
You'd just modify the styles to be fully horizontal.

Drupal Lightbox 2 how to remove unnecessary scroll bars?

Whenever I use Drupal's Lightbox 2 module to display videos it always adds ugly scroll bars which are unnecessary. How can I get the module to stop showing the scroll bars or find out why it thinks they are needed in the first place. Here is a sample page on my website you can see what I am talking about. http://www.yoninja.com/jp/dailylife/600/seibo-catholic-hospital-shinjuku. If you click on the video at the bottom of the page you will see it load with scroll bars.
Enable iframe border. You can modify the border style in your theme's css file using the iframe's id "lightboxFrame".
Try this. #lightboxFrame{overflow:hidden}
just write a new definition for the class emvideo-modal-iframe in your theme style.css
like
.emvideo-modal-iframe{overflow:hidden;}

How to make menu in asp.net

Menu are looking very nice in all website
so i want to make such menu so how to make that
and when we select one menu then its color is changed so how this is possible
and even border is changed so how to make such
Give this a go: http://msdn.microsoft.com/en-us/library/ecs0x9w5(VS.80).aspx
here is a link to an article that creates menu using css check it out.

Resources