Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(99)

Unified Diff: remoting/webapp/window_frame.css

Issue 491873004: Add an explicit full-screen button. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@webapp_move_context_menu
Patch Set: Rebase. Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « remoting/webapp/html/window_frame.html ('k') | remoting/webapp/window_frame.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/webapp/window_frame.css
diff --git a/remoting/webapp/window_frame.css b/remoting/webapp/window_frame.css
index c36185bf948922950e955a94980d0f9ebfdfd9bb..582140065c77cf3e11337511df5328986501e101 100644
--- a/remoting/webapp/window_frame.css
+++ b/remoting/webapp/window_frame.css
@@ -115,8 +115,10 @@ html.apps-v2 #scroller {
border-right: none;
}
-/* The Disconnect and Options buttons are only displayed when connected. */
+/* The Disconnect, full-screen and options buttons are only displayed when
+ connected. */
body:not(.connected) .window-disconnect,
+body:not(.connected) .window-fullscreen,
body:not(.connected) .window-options {
display: none;
}
@@ -134,6 +136,7 @@ body:not(.connected) .window-options {
* - A border is added to the window controls to ensure they stand out against
* any desktop.
* - The window border is removed.
+ * - The full-screen button is removed.
*/
html.apps-v2 body.fullscreen #scroller {
@@ -182,3 +185,7 @@ body.fullscreen .title-bar.preview {
.fullscreen .title-bar.opened .window-controls-stub {
background-color: #a6a6a6;
}
+
+body.fullscreen .window-fullscreen {
+ display: none;
+}
« no previous file with comments | « remoting/webapp/html/window_frame.html ('k') | remoting/webapp/window_frame.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698