Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
New Admin Theme
#22
Works pretty good, even on 3.4 ( assuming you disable fixed sidebar ), I guess I could add a check if the sidebar is already fixed do not initialize the scroll2fixed() call. Either way it seems to not actually interfere, its the wide that is causing it to mess up the sidebar.

Simply adding

Code:
#sidebar left:0;
#sidebar { width:200px; height: auto; margin:-1px 0 0; padding: 0; background: #222d32; position: fixed; left:0; bottom: 0; top: 62px !important;}

fixes it.


You should also rename style.css, its confusing and hard to debug rules.
use
style_flatblue.css or something would be better, indicating it overrides style.css selectors.

I would also not mess with codemirror rules, leave that to codemirror plugins, ( already in core 3.4 )

Love the notifications, that is exactly what I wanted to do with our theme, move it to sidebar so it does not shift the whole page, or use popup overlays, 3.5 will probably have a new desktop or popup notification system.

I am missing anything below the footer, debuglog for example.


This might work better by working with the wrapper instead of maincontainer.
Since wrapper wraps all content including footer and anything after it.

I had better luck with this for example ( granted not very tested, just fiddling, but easier then changing the entire maincontent to absolute positioning. )
Code:
.wrapper {
    margin-left:200px;
}
#maincontent {
      width: 100%;
    position: inherit;
      margin-top: 61px;
}

#sidebar {
    margin-left:-200px !important;
}

Plus you can set max-width on wrapper to limit it.
NEW: SA Admin Toolbar Plugin | View All My Plugins
- Shawn A aka Tablatronix
Reply


Messages In This Thread
New Admin Theme - by phireware - 2015-03-31, 05:53:18
RE: New Admin Theme - by Timbow - 2015-03-31, 08:11:33
RE: New Admin Theme - by phireware - 2015-04-01, 00:47:18
RE: New Admin Theme - by shawn_a - 2015-03-31, 08:57:20
RE: New Admin Theme - by shawn_a - 2015-04-01, 01:46:51
RE: New Admin Theme - by phireware - 2015-04-01, 04:27:04
RE: New Admin Theme - by islander - 2015-04-13, 03:41:06
RE: New Admin Theme - by Tyblitz - 2015-04-15, 10:36:55
RE: New Admin Theme - by shawn_a - 2015-04-26, 00:32:36
RE: New Admin Theme - by phireware - 2015-04-26, 06:38:18
RE: New Admin Theme - by islander - 2015-04-27, 03:39:15
RE: New Admin Theme - by phireware - 2015-04-27, 05:32:16
RE: New Admin Theme - by n00dles101 - 2015-04-27, 06:04:11
RE: New Admin Theme - by phireware - 2015-04-27, 06:11:50
RE: New Admin Theme - by hameau - 2015-04-27, 19:55:14
RE: New Admin Theme - by phireware - 2015-04-28, 00:25:31
RE: New Admin Theme - by islander - 2015-04-28, 05:23:02
RE: New Admin Theme - by Carlos - 2015-04-28, 00:41:18
RE: New Admin Theme - by phireware - 2015-04-28, 00:52:00
RE: New Admin Theme - by shawn_a - 2015-04-28, 01:51:10
RE: New Admin Theme - by Tyblitz - 2015-04-28, 23:16:00
RE: New Admin Theme - by shawn_a - 2015-04-28, 23:58:52
RE: New Admin Theme - by shawn_a - 2015-04-29, 01:08:03
RE: New Admin Theme - by phireware - 2015-04-29, 03:32:18
RE: New Admin Theme - by Tyblitz - 2015-04-30, 20:17:13
RE: New Admin Theme - by datiswous - 2015-04-29, 04:30:18
RE: New Admin Theme - by shawn_a - 2015-04-30, 22:22:33
RE: New Admin Theme - by GPB61 - 2015-05-07, 23:52:57
RE: New Admin Theme - by Tyblitz - 2015-05-28, 21:05:35
RE: New Admin Theme - by phireware - 2015-05-28, 22:41:07
RE: New Admin Theme - by Knud - 2017-08-22, 01:36:56
RE: New Admin Theme - by Glaucius - 2018-03-11, 09:13:45
RE: New Admin Theme - by ambo - 2015-05-08, 16:53:36
RE: New Admin Theme - by ambo - 2015-05-12, 05:58:16
RE: New Admin Theme - by revotron - 2015-05-31, 05:29:59
RE: New Admin Theme - by Artur - 2015-12-30, 05:51:01
RE: New Admin Theme - by phireware - 2016-01-28, 11:07:19
RE: New Admin Theme - by Ampersand - 2016-02-26, 21:53:08
RE: New Admin Theme - by shawn_a - 2017-08-24, 02:01:17



Users browsing this thread: 2 Guest(s)