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

Side by Side Diff: Source/devtools/front_end/ui/tabbedPane.css

Issue 1179183002: DevTools: border and toolbar colors from Max's mocks. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 6 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 unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2006, 2007, 2008 Apple Inc. All rights reserved. 2 * Copyright (C) 2006, 2007, 2008 Apple Inc. All rights reserved.
3 * Copyright (C) 2009 Anthony Ricaud <rik@webkit.org> 3 * Copyright (C) 2009 Anthony Ricaud <rik@webkit.org>
4 * Copyright (C) 2011 Google Inc. All rights reserved. 4 * Copyright (C) 2011 Google Inc. All rights reserved.
5 * 5 *
6 * Redistribution and use in source and binary forms, with or without 6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions are 7 * modification, are permitted provided that the following conditions are
8 * met: 8 * met:
9 * 9 *
10 * 1. Redistributions of source code must retain the above copyright 10 * 1. Redistributions of source code must retain the above copyright
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
48 .tabbed-pane-placeholder { 48 .tabbed-pane-placeholder {
49 font-size: 14px; 49 font-size: 14px;
50 text-align: center; 50 text-align: center;
51 margin-top: 20px; 51 margin-top: 20px;
52 text-shadow: rgba(255, 255, 255, 0.75) 0 1px 0; 52 text-shadow: rgba(255, 255, 255, 0.75) 0 1px 0;
53 } 53 }
54 54
55 .tabbed-pane-header { 55 .tabbed-pane-header {
56 display: flex; 56 display: flex;
57 flex: 0 0 27px; 57 flex: 0 0 27px;
58 border-bottom: 1px solid #dadada; 58 border-bottom: 1px solid #ccc;
59 overflow: hidden; 59 overflow: hidden;
60 width: 100%; 60 width: 100%;
61 background-color: #f3f3f3; 61 background-color: #f3f3f3;
62 } 62 }
63 63
64 .tabbed-pane-header-contents { 64 .tabbed-pane-header-contents {
65 flex: auto; 65 flex: auto;
66 pointer-events: none; 66 pointer-events: none;
67 margin-left: 5px; 67 margin-left: 5px;
68 position: relative; 68 position: relative;
69 } 69 }
70 70
71 .tabbed-pane-header-contents > * { 71 .tabbed-pane-header-contents > * {
72 pointer-events: initial; 72 pointer-events: initial;
73 } 73 }
74 74
75 .tabbed-pane-header-tab { 75 .tabbed-pane-header-tab {
76 float: left; 76 float: left;
77 margin-top: 2px; 77 margin-top: 2px;
78 padding: 2px 4px 2px 4px; 78 padding: 2px 4px 2px 4px;
79 height: 24px; 79 height: 24px;
80 border: 1px solid transparent; 80 border: 1px solid transparent;
81 border-bottom: none; 81 border-bottom: none;
82 line-height: 15px; 82 line-height: 15px;
83 white-space: nowrap; 83 white-space: nowrap;
84 cursor: default; 84 cursor: default;
85 display: flex; 85 display: flex;
86 align-items: center; 86 align-items: center;
87 color: #5a5a5a;
88 }
89
90 .tabbed-pane-header-tab:hover {
91 color: #333;
87 } 92 }
88 93
89 .tabbed-pane-header-tab-title { 94 .tabbed-pane-header-tab-title {
90 text-overflow: ellipsis; 95 text-overflow: ellipsis;
91 overflow: hidden; 96 overflow: hidden;
92 } 97 }
93 98
94 .tabbed-pane-header-tab.measuring { 99 .tabbed-pane-header-tab.measuring {
95 visibility: hidden; 100 visibility: hidden;
96 } 101 }
97 102
98 .tabbed-pane-header-tab.selected { 103 .tabbed-pane-header-tab.selected {
99 border: 1px solid #ccc; 104 border: 1px solid #ccc;
100 border-bottom: none; 105 border-bottom: none;
106 color: #333;
101 } 107 }
102 108
103 .tabbed-pane-header-tab.selected { 109 .tabbed-pane-header-tab.selected {
104 background: white; 110 background: white;
105 border-top-color: #ccc; 111 border-top-color: #ccc;
106 } 112 }
107 113
108 .tabbed-pane-header-tab .tabbed-pane-close-button { 114 .tabbed-pane-header-tab .tabbed-pane-close-button {
109 display: inline-block; 115 display: inline-block;
110 position: relative; 116 position: relative;
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
198 cursor: pointer !important; 204 cursor: pointer !important;
199 } 205 }
200 206
201 .tabbed-pane-shadow.vertical-tab-layout .tabbed-pane-header-tab.selected { 207 .tabbed-pane-shadow.vertical-tab-layout .tabbed-pane-header-tab.selected {
202 color: inherit; 208 color: inherit;
203 border: none transparent; 209 border: none transparent;
204 border-left: 6px solid #666; 210 border-left: 6px solid #666;
205 } 211 }
206 212
207 .tabbed-pane-tab-slider { 213 .tabbed-pane-tab-slider {
208 height: 2px; 214 height: 1px;
dgozman 2015/06/12 18:56:17 Is it enough? Probably makes it hard to tell which
pfeldman 2015/06/12 19:35:29 Lets give it a try. I am not a huge fan of it with
209 position: absolute; 215 position: absolute;
210 bottom: -1px; 216 bottom: -1px;
211 background-color: #3E82F7; 217 background-color: #3E82F7;
212 left: 0; 218 left: 0;
213 z-index: 50; 219 z-index: 50;
214 transform-origin: 0 0; 220 transform-origin: 0 0;
215 transition: transform 150ms cubic-bezier(0, 0, 0.2, 1); 221 transition: transform 150ms cubic-bezier(0, 0, 0.2, 1);
216 visibility: hidden; 222 visibility: hidden;
217 } 223 }
218 224
219 .tabbed-pane-tab-slider.enabled { 225 .tabbed-pane-tab-slider.enabled {
220 visibility: visible; 226 visibility: visible;
221 } 227 }
222 228
223 .tabbed-pane-header.tabbed-pane-no-header-background { 229 .tabbed-pane-header.tabbed-pane-no-header-background {
224 background-color: transparent; 230 background-color: transparent;
225 } 231 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698