123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489 |
- // Navigation styles for the pmahomme theme
- #pma_navigation {
- width: $navi-width;
- position: fixed;
- top: 0;
- #{$left}: 0;
- height: 100vh;
- background: url('../img/left_nav_bg.png') repeat-y right 0 $navi-background;
- color: $navi-color;
- z-index: 800;
- ul {
- margin: 0;
- }
- form {
- margin: 0;
- padding: 0;
- display: inline;
- }
- select {
- &#select_server,
- &#lightm_db {
- width: 100%;
- }
- }
- div {
- &.pageselector {
- text-align: center;
- margin: 0;
- margin-#{$left}: 0.75em;
- border-#{$left}: 1px solid #666;
- }
- }
- #pmalogo,
- #serverChoice,
- #navipanellinks,
- #recentTableList,
- #favoriteTableList,
- #databaseList,
- div.pageselector.dbselector {
- text-align: center;
- padding: 5px 10px 0;
- border: 0;
- }
- #navipanellinks .icon {
- margin: 0;
- }
- #recentTable,
- #favoriteTable {
- width: 200px;
- }
- #favoriteTableList select,
- #serverChoice select {
- width: 80%;
- }
- }
- #pma_navigation_header {
- overflow: hidden;
- }
- #pma_navigation_content {
- width: 100%;
- height: 100%;
- position: absolute;
- top: 0;
- #{$left}: 0;
- z-index: 0;
- > img.throbber {
- display: none;
- margin: 0.3em auto 0;
- }
- }
- #pma_navigation_select_database {
- text-align: $left;
- padding: 0 0 0;
- border: 0;
- margin: 0;
- }
- #pma_navigation_db_select {
- margin-top: 0.5em;
- margin-#{$left}: 0.75em;
- select {
- background: url('../img/select_bg.png') repeat scroll 0 0;
- -webkit-border-radius: 2px;
- border-radius: 2px;
- border: 1px solid #bbb;
- border-top: 1px solid #bbb;
- color: #333;
- padding: 4px 6px;
- margin: 0 0 0;
- width: 92%;
- font-size: 1.11em;
- }
- }
- #pma_navigation_tree_content {
- width: 100%;
- overflow: hidden;
- overflow-y: auto;
- position: absolute;
- height: 100%;
- a.hover_show_full {
- position: relative;
- z-index: 100;
- vertical-align: sub;
- }
- }
- #pma_navigation_tree {
- margin: 0;
- margin-#{$left}: 5px;
- overflow: hidden;
- color: #444;
- height: 74%;
- position: relative;
- a {
- color: $navi-color;
- padding-left: 0;
- &:hover {
- text-decoration: underline;
- }
- }
- ul {
- clear: both;
- padding: 0;
- list-style-type: none;
- margin: 0;
- ul {
- position: relative;
- }
- }
- li {
- margin-bottom: 0;
- &.activePointer,
- &.selected {
- color: $navi-pointer-color;
- background-color: $navi-pointer-background;
- }
- .dbItemControls {
- padding-#{$right}: 4px;
- float: right;
- }
- .navItemControls {
- display: none;
- padding-#{$right}: 4px;
- float: right;
- }
- &.activePointer .navItemControls {
- display: block;
- opacity: 0.5;
- &:hover {
- opacity: 1;
- }
- }
- }
- li {
- white-space: nowrap;
- clear: both;
- min-height: 16px;
- &.fast_filter {
- white-space: nowrap;
- clear: both;
- min-height: 16px;
- }
- }
- img {
- margin: 0;
- }
- i {
- display: block;
- }
- div {
- &.block {
- position: relative;
- width: 1.5em;
- height: 1.5em;
- min-width: 16px;
- min-height: 16px;
- float: $left;
- &.double {
- width: 2.5em;
- }
- i,
- b {
- width: 1.5em;
- height: 1.7em;
- min-width: 16px;
- min-height: 8px;
- position: absolute;
- bottom: 0.7em;
- #{$left}: 0.75em;
- z-index: 0;
- }
- // Top and right segments for the tree element connections
- i {
- display: block;
- border-#{$left}: 1px solid #666;
- border-bottom: 1px solid #666;
- position: relative;
- z-index: 0;
- // Removes top segment
- &.first {
- border-#{$left}: 0;
- }
- }
- // Bottom segment for the tree element connections
- b {
- display: block;
- height: 0.75em;
- bottom: 0;
- #{$left}: 0.75em;
- border-#{$left}: 1px solid #666;
- }
- a,
- u {
- position: absolute;
- #{$left}: 50%;
- top: 50%;
- z-index: 10;
- }
- a + a {
- #{$left}: 100%;
- }
- &.double {
- a,
- u {
- #{$left}: 33%;
- }
- a + a {
- #{$left}: 85%;
- }
- }
- img {
- position: relative;
- top: -0.6em;
- #{$left}: 0;
- margin-#{$left}: -7px;
- }
- }
- &.throbber img {
- top: 2px;
- #{$left}: 2px;
- }
- }
- li {
- &.last > ul {
- background: none;
- }
- > {
- a,
- i {
- line-height: 1.5em;
- height: 1.5em;
- padding-#{$left}: 0.3em;
- }
- }
- }
- .list_container {
- border-#{$left}: 1px solid #666;
- margin-#{$left}: 0.75em;
- padding-#{$left}: 0.75em;
- }
- .last > .list_container {
- border-#{$left}: 0 solid #666;
- }
- }
- // Fast filter
- li.fast_filter {
- padding-#{$left}: 0.75em;
- margin-#{$left}: 0.75em;
- padding-#{$right}: 35px;
- border-#{$left}: 1px solid #666;
- list-style: none;
- input {
- margin: 3px 0 0 0;
- font-size: 0.7em;
- padding-top: 2px;
- padding-bottom: 2px;
- padding-#{$left}: 4px;
- padding-#{$right}: 1.7em;
- width: 100%;
- }
- span {
- position: relative;
- #{$right}: 2.5em;
- padding: 0.2em;
- cursor: pointer;
- font-weight: bold;
- color: #800;
- font-size: 0.7em;
- }
- &.db_fast_filter {
- border: 0;
- margin-#{$left}: 0;
- margin-#{$right}: 10px;
- }
- }
- // IE10+ has its own reset X
- html.ie {
- li.fast_filter {
- span {
- display: none;
- }
- input {
- padding-#{$right}: 0.2em;
- }
- }
- &.ie9,
- &.ie8 {
- li.fast_filter {
- span {
- display: auto;
- }
- input {
- padding-#{$right}: 1.7em;
- }
- }
- }
- }
- #navigation_controls_outer {
- min-height: 21px !important;
- &.activePointer {
- background-color: transparent !important;
- }
- }
- #navigation_controls {
- float: $right;
- padding-#{$right}: 23px;
- }
- // Resize handler
- #pma_navigation_resizer {
- width: 3px;
- height: 100%;
- background-color: #aaa;
- cursor: col-resize;
- position: fixed;
- top: 0;
- #{$left}: 240px;
- z-index: 801;
- }
- #pma_navigation_collapser {
- width: 20px;
- height: 22px;
- line-height: 22px;
- background: #eee;
- color: #555;
- font-weight: bold;
- position: fixed;
- top: 0;
- #{$left}: $navi-width;
- text-align: center;
- cursor: pointer;
- z-index: 800;
- text-shadow: 0 1px 0 #fff;
- filter: dropshadow(color = #fff, offx = 0, offy = 1);
- border: 1px solid #888;
- }
- // Quick warp links
- .pma_quick_warp {
- margin-top: 5px;
- margin-#{$left}: 2px;
- position: relative;
- .drop_list {
- float: $left;
- margin-#{$left}: 3px;
- padding: 2px 0;
- &:hover {
- .drop_button {
- background: #fff;
- }
- ul {
- display: block;
- }
- }
- ul {
- position: absolute;
- margin: 0;
- padding: 0;
- overflow: hidden;
- overflow-y: auto;
- list-style: none;
- background: #fff;
- border: 1px solid #ddd;
- border-radius: 0.3em;
- border-top-right-radius: 0;
- border-bottom-right-radius: 0;
- box-shadow: 0 0 5px #ccc;
- top: 100%;
- #{$left}: 3px;
- #{$right}: 0;
- display: none;
- z-index: 802;
- }
- li {
- white-space: nowrap;
- padding: 0;
- border-radius: 0;
- img {
- vertical-align: sub;
- }
- &:hover {
- background: #f2f2f2;
- }
- }
- a {
- display: block;
- padding: 0.2em 0.3em;
- &.favorite_table_anchor {
- clear: $left;
- float: $left;
- padding: 0.1em 0.3em 0;
- }
- }
- }
- .drop_button {
- padding: 0.3em;
- border: 1px solid #ddd;
- border-radius: 0.3em;
- background: #f2f2f2;
- cursor: pointer;
- }
- }
|