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

Unified Diff: Source/devtools/front_end/screencastView.css

Issue 272753002: DevTools: remove ugly black border from screencast, brush up styles. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 7 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 | « Source/devtools/front_end/ScreencastView.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/devtools/front_end/screencastView.css
diff --git a/Source/devtools/front_end/screencastView.css b/Source/devtools/front_end/screencastView.css
index 9e6163329d1f07a06df019595ac6a29212100e5d..9e383711e1c948fe0bfc87c5f167a0457a2abb34 100644
--- a/Source/devtools/front_end/screencastView.css
+++ b/Source/devtools/front_end/screencastView.css
@@ -33,14 +33,14 @@
}
.screencast-navigation {
- -webkit-flex-direction: row;
- display: -webkit-flex;
- height: 25px;
+ flex-direction: row;
+ display: flex;
+ flex: 24px 0 0;
position: relative;
}
.screencast-navigation button {
- -webkit-border-radius: 2px;
+ border-radius: 2px;
background-color: transparent;
background-image: -webkit-image-set(
url(Images/navigationControls.png) 1x,
@@ -50,7 +50,7 @@
background-repeat: no-repeat;
border: 1px solid transparent;
height: 23px;
- padding: 3px 2px 1px;
+ padding: 2px;
width: 23px;
}
@@ -102,19 +102,24 @@
}
.screencast-viewport {
- border: 20px solid #333;
+ display: flex;
+ border: 1px solid #999;
border-radius: 20px;
- position: absolute;
- top: 36px;
- left: 10px;
- right: 10px;
- bottom: 10px;
+ flex: auto;
+ padding: 20px;
+ margin: 10px;
+}
+
+.screencast-canvas-container {
+ flex: auto;
+ display: flex;
+ border: 1px solid #999;
+ position: relative;
}
.screencast canvas {
- position: absolute;
- width: 100%;
- height: 100%;
+ flex: auto;
+ position: relative;
}
.screencast-px {
@@ -142,15 +147,15 @@
}
.screencast-glasspane {
- -webkit-box-orient: horizontal;
- -webkit-box-align: center;
- -webkit-box-pack: center;
- background-color: rgba(255, 255, 255, 0.8);
- bottom: 0;
- display: -webkit-box;
- left: 0;
position: absolute;
+ top: 0;
right: 0;
- top: 25px; /* Align with the botton edge of .screencast .navigation. */
+ bottom: 0;
+ left: 0;
+ background-color: rgba(255, 255, 255, 0.8);
font-size: 30px;
+ z-index: 100;
+ display: flex;
+ justify-content: center;
+ align-items: center;
}
« no previous file with comments | « Source/devtools/front_end/ScreencastView.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698