k9ordon / yosemite-unity-ui

An Atom theme for a more native experience on OS X 10.10 Yosemite - DEPRECATED
https://atom.io/themes/yosemite-unity-ui
MIT License
39 stars 6 forks source link

No indicator on a tab when it has been modified #1

Closed lee-dohm closed 10 years ago

lee-dohm commented 10 years ago

Perhaps this is intentional or there is a quick stylesheet fix, but I do feel that it is a bug in the UI style.

k9ordon commented 10 years ago

good idea! atom provides a .modified class for tabs.

As I used the UI style from safari tabs (which cant be in modified state) I'm not sure how to solve this in a "native way". Maybe just prefix a "*"?

lee-dohm commented 10 years ago

Looks like the default Atom Dark UI uses this to create the "modified dot":

.tab-bar .tab.modified:not(:hover) .close-icon {
  top: 10px;
  right: 14px;
  width: 8px;
  height: 8px;
  border: 2px solid #0098ff;
  border-radius: 12px;
}
k9ordon commented 10 years ago

patched this with showing the close icons for modified tabs (close icons will be replaced).

lee-dohm commented 10 years ago

Looks good!