From 04b09c6552dd2b900be321b952d9524ac02dcd3d Mon Sep 17 00:00:00 2001 From: Justin Palmer Date: Tue, 5 Feb 2013 16:12:07 -0800 Subject: [PATCH] :skull: tab package css and move to static dir --- src/packages/tabs/stylesheets/tabs.css | 33 -------------------------- static/tabs.css | 23 ++++++++++++++++++ 2 files changed, 23 insertions(+), 33 deletions(-) delete mode 100644 src/packages/tabs/stylesheets/tabs.css diff --git a/src/packages/tabs/stylesheets/tabs.css b/src/packages/tabs/stylesheets/tabs.css deleted file mode 100644 index ebdfad7f2..000000000 --- a/src/packages/tabs/stylesheets/tabs.css +++ /dev/null @@ -1,33 +0,0 @@ -.tabs { - -webkit-user-select: none; - display: -webkit-box; - -webkit-box-align: center; -} - -.tab { - -webkit-box-flex: 2; - position: relative; - width: 175px; - max-width: 175px; - min-width: 40px; - box-sizing: border-box; -} - -.tab.active { - -webkit-box-flex: 1; -} - -.tab.file-modified .close-icon { - top: 6px; - width: 5px; - height: 5px; - right: 5px; -} - -.tab .file-name { - display: block; - overflow: hidden; - white-space: nowrap; - text-overflow: ellipsis; - padding: 3px 5px; -} \ No newline at end of file diff --git a/static/tabs.css b/static/tabs.css index 2a4faa887..dc50f0eca 100644 --- a/static/tabs.css +++ b/static/tabs.css @@ -1,15 +1,33 @@ .tabs { font: caption; margin-bottom: 1px; + -webkit-user-select: none; + display: -webkit-box; + -webkit-box-align: center; } .tab { cursor: default; padding: 2px 21px 2px 9px; + -webkit-box-flex: 2; + position: relative; + width: 175px; + max-width: 175px; + min-width: 40px; + box-sizing: border-box; } +.tab.active { + -webkit-box-flex: 1; +} + + .tab.file-modified .close-icon { border-radius: 10px; + top: 6px; + width: 5px; + height: 5px; + right: 5px; } .tab.file-modified .close-icon:before { @@ -42,6 +60,11 @@ .tab .file-name { font-size: 11px; text-shadow: 0 -1px 1px black; + display: block; + overflow: hidden; + white-space: nowrap; + text-overflow: ellipsis; + padding: 3px 5px; } .tab .close-icon {