123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515 |
- <?php
- /* vim: set expandtab sw=4 ts=4 sts=4: */
- /**
- * Designer styles for the pmahomme theme
- *
- * @package PhpMyAdmin-theme
- * @subpackage PMAHomme
- */
- use PhpMyAdmin\Theme;
- // unplanned execution path
- if (! defined('PHPMYADMIN') && ! defined('TESTSUITE')) {
- exit();
- }
- $headerImg = $theme->getImgPath('designer/Header.png');
- $headerLinkedImg = $theme->getImgPath('designer/Header_Linked.png');
- $minusImg = $theme->getImgPath('designer/minus.png');
- $plusImg = $theme->getImgPath('designer/plus.png');
- $leftPanelButtonImg = $theme->getImgPath('designer/left_panel_butt.png');
- $topPanelImg = $theme->getImgPath('designer/top_panel.png');
- $smallTabImg = $theme->getImgPath('designer/small_tab.png');
- $frams1Img = $theme->getImgPath('designer/1.png');
- $frams2Img = $theme->getImgPath('designer/2.png');
- $frams3Img = $theme->getImgPath('designer/3.png');
- $frams4Img = $theme->getImgPath('designer/4.png');
- $frams5Img = $theme->getImgPath('designer/5.png');
- $frams6Img = $theme->getImgPath('designer/6.png');
- $frams7Img = $theme->getImgPath('designer/7.png');
- $frams8Img = $theme->getImgPath('designer/8.png');
- $resizeImg = $theme->getImgPath('designer/resize.png');
- ?>
- /* Designer */
- .input_tab {
- background-color: #A6C7E1;
- color: #000;
- }
- .content_fullscreen {
- position: relative;
- overflow: auto;
- }
- #canvas_outer {
- position: relative;
- width: 100%;
- display: block;
- }
- #canvas {
- background-color: #fff;
- color: #000;
- }
- canvas.designer {
- display: inline-block;
- overflow: hidden;
- text-align: left;
- }
- canvas.designer * {
- behavior: url(#default#VML);
- }
- .designer_tab {
- background-color: #fff;
- color: #000;
- border-collapse: collapse;
- border: 1px solid #aaa;
- z-index: 1;
- -moz-user-select: none;
- }
- .designer_tab .header {
- background-image: url(<?php echo $headerImg; ?>);
- background-repeat: repeat-x;
- }
- .tab_zag {
- text-align: center;
- cursor: move;
- padding: 1px;
- font-weight: bold;
- }
- .tab_zag_2 {
- background-image: url(<?php echo $headerLinkedImg; ?>);
- background-repeat: repeat-x;
- text-align: center;
- cursor: move;
- padding: 1px;
- font-weight: bold;
- }
- .tab_field {
- background: #fff;
- color: #000;
- cursor: default;
- }
- .tab_field:hover, .tab_field_3:hover {
- background-color: #CCFFCC;
- color: #000;
- background-repeat: repeat-x;
- cursor: default;
- }
- .tab_field_3 {
- background-color: #FFE6E6 !important; /*#DDEEFF*/
- color: #000;
- cursor: default;
- }
- #designer_hint {
- white-space: nowrap;
- position: absolute;
- background-color: #99FF99;
- color: #000;
- z-index: 3;
- border: #00CC66 solid 1px;
- display: none;
- }
- .scroll_tab {
- overflow: auto;
- width: 100%;
- height: 500px;
- }
- .designer_Tabs {
- cursor: default;
- color: #0055bb;
- white-space: nowrap;
- text-decoration: none;
- text-indent: 3px;
- font-weight: bold;
- margin-left: 2px;
- text-align: <?php echo $left; ?>;
- background-color: #fff;
- background-image: url(<?php echo $leftPanelButtonImg; ?>);
- border: #ccc solid 1px;
- }
- .designer_Tabs:hover {
- cursor: default;
- color: #0055bb;
- background: #FFEE99;
- text-indent: 3px;
- font-weight: bold;
- white-space: nowrap;
- text-decoration: none;
- border: #9999FF solid 1px;
- text-align: <?php echo $left; ?>;
- }
- .owner {
- font-weight: normal;
- color: #888;
- }
- .option_tab {
- padding-left: 2px;
- padding-right: 2px;
- width: 5px;
- }
- .select_all {
- vertical-align: top;
- padding-left: 2px;
- padding-right: 2px;
- cursor: default;
- width: 1px;
- color: #000;
- background-image: url(<?php echo $headerImg; ?>);
- background-repeat: repeat-x;
- }
- .small_tab {
- vertical-align: top;
- background-color: #0064ea;
- color: #fff;
- background-image: url(<?php echo $smallTabImg; ?>);
- cursor: default;
- text-align: center;
- font-weight: bold;
- padding-left: 2px;
- padding-right: 2px;
- width: 1px;
- text-decoration: none;
- }
- .small_tab:hover {
- vertical-align: top;
- color: #fff;
- background-color: #FF9966;
- cursor: default;
- padding-left: 2px;
- padding-right: 2px;
- text-align: center;
- font-weight: bold;
- width: 1px;
- text-decoration: none;
- }
- .small_tab_pref {
- background-image: url(<?php echo $headerImg; ?>);
- background-repeat: repeat-x;
- text-align: center;
- width: 1px;
- }
- .small_tab_pref:hover {
- vertical-align: top;
- color: #fff;
- background-color: #FF9966;
- cursor: default;
- text-align: center;
- font-weight: bold;
- width: 1px;
- text-decoration: none;
- }
- .butt {
- border: #4477aa solid 1px;
- font-weight: bold;
- height: 19px;
- width: 70px;
- background-color: #fff;
- color: #000;
- vertical-align: baseline;
- }
- .L_butt2_1 {
- padding: 1px;
- text-decoration: none;
- vertical-align: middle;
- cursor: default;
- }
- .L_butt2_1:hover {
- padding: 0;
- border: #0099CC solid 1px;
- background: #FFEE99;
- color: #000;
- text-decoration: none;
- vertical-align: middle;
- cursor: default;
- }
- /* ---------------------------------------------------------------------------*/
- .bor {
- width: 10px;
- height: 10px;
- }
- .frams1 {
- background: url(<?php echo $frams1Img; ?>) no-repeat right bottom;
- }
- .frams2 {
- background: url(<?php echo $frams2Img; ?>) no-repeat left bottom;
- }
- .frams3 {
- background: url(<?php echo $frams3Img; ?>) no-repeat left top;
- }
- .frams4 {
- background: url(<?php echo $frams4Img; ?>) no-repeat right top;
- }
- .frams5 {
- background: url(<?php echo $frams5Img; ?>) repeat-x center bottom;
- }
- .frams6 {
- background: url(<?php echo $frams6Img; ?>) repeat-y left;
- }
- .frams7 {
- background: url(<?php echo $frams7Img; ?>) repeat-x top;
- }
- .frams8 {
- background: url(<?php echo $frams8Img; ?>) repeat-y right;
- }
- #osn_tab {
- position: absolute;
- background-color: #fff;
- color: #000;
- }
- .designer_header {
- background-color: #EAEEF0;
- color: #000;
- text-align: center;
- font-weight: bold;
- margin: 0;
- padding: 0;
- background-image: url(<?php echo $topPanelImg; ?>);
- background-position: top;
- background-repeat: repeat-x;
- border-right: #999 solid 1px;
- border-left: #999 solid 1px;
- height: 28px;
- z-index: 101;
- width: 100%;
- position: fixed;
- }
- .designer_header a, .designer_header span{
- display: block;
- float: <?php echo $left; ?>;
- margin: 3px 1px 4px;
- height: 20px;
- border: 1px dotted #fff;
- }
- .designer_header .M_bord {
- display: block;
- float: <?php echo $left; ?>;
- margin: 4px;
- height: 20px;
- width: 2px;
- }
- .designer_header a.first {
- margin-right: 1em;
- }
- .designer_header a.last {
- margin-left: 1em;
- }
- a.M_butt_Selected_down_IE,
- a.M_butt_Selected_down {
- border: 1px solid #C0C0BB;
- background-color: #99FF99;
- color: #000;
- }
- a.M_butt_Selected_down_IE:hover,
- a.M_butt_Selected_down:hover,
- a.M_butt:hover {
- border: 1px solid #0099CC;
- background-color: #FFEE99;
- color: #000;
- }
- #layer_menu {
- z-index: 98;
- position: relative;
- float: right;
- background-color: #EAEEF0;
- border: #999 solid 1px;
- }
- #layer_menu.left {
- float: left;
- }
- #layer_upd_relation {
- position: absolute;
- <?php echo $left; ?>: 637px;
- top: 224px;
- z-index: 100;
- }
- #layer_new_relation {
- position: absolute;
- <?php echo $left; ?>: 636px;
- top: 85px;
- z-index: 100;
- width: 153px;
- }
- #designer_optionse {
- position: absolute;
- <?php echo $left; ?>: 636px;
- top: 85px;
- z-index: 100;
- width: 153px;
- }
- #layer_menu_sizer {
- background-image: url(<?php echo $resizeImg; ?>);
- cursor: ew-resize;
- }
- #layer_menu_sizer .icon {
- margin: 0;
- }
- .panel {
- position: fixed;
- top: 60px;
- <?php echo $right; ?>: 0;
- width: 350px;
- max-height: 500px;
- display: none;
- overflow: auto;
- padding-top: 34px;
- z-index: 102;
- }
- a.trigger {
- position: fixed;
- text-decoration: none;
- top: 60px;
- <?php echo $right; ?>: 0;
- color: #fff;
- padding: 10px 40px 10px 15px;
- background: #333 url(<?php echo $plusImg; ?>) 85% 55% no-repeat;
- border: 1px solid #444;
- display: block;
- z-index: 102;
- }
- a.trigger:hover {
- color: #080808;
- background: #fff696 url(<?php echo $plusImg; ?>) 85% 55% no-repeat;
- border: 1px solid #999;
- }
- a.active.trigger {
- background: #222 url(<?php echo $minusImg; ?>) 85% 55% no-repeat;
- z-index: 999;
- }
- a.active.trigger:hover {
- background: #fff696 url(<?php echo $minusImg; ?>) 85% 55% no-repeat;
- }
- .toggle_container .block {
- background-color: #DBE4E8;
- border-top: 1px solid #999;
- }
- .history_table {
- text-align: center;
- cursor: pointer;
- background-color: #DBE4E8;
- }
- .history_table:hover {
- background-color: #9999CC;
- }
- #ab {
- min-width: 300px;
- }
- #ab .ui-accordion-content {
- padding: 0;
- }
- #box {
- display: none;
- }
- #foreignkeychk {
- text-align: <?php echo $left; ?>;
- position: absolute;
- cursor: pointer;
- }
- .side-menu {
- float: left;
- position: fixed;
- width: auto;
- height: auto;
- background: #efefef;
- border: 1px solid grey;
- overflow: hidden;
- z-index: 50;
- padding: 2px;
- }
- .side-menu.right {
- float: right;
- right: 0;
- }
- .side-menu .hide {
- display: none;
- }
- .side-menu a {
- display: block;
- float: none;
- overflow: hidden;
- }
- .side-menu img,
- .side-menu .text {
- float: left;
- }
- #name-panel {
- border-bottom: 1px solid grey;
- text-align: center;
- background: #efefef;
- width: 100%;
- font-size: 1.2em;
- padding: 10px;
- font-weight: bold;
- }
- #container-form {
- width: 100%;
- position: absolute;
- left: 0;
- }
|