diff --git a/applications/admin/static/css/bootstrap_adapters.css b/applications/admin/static/css/bootstrap_adapters.css deleted file mode 100644 index 9ac8ad5d..00000000 --- a/applications/admin/static/css/bootstrap_adapters.css +++ /dev/null @@ -1,579 +0,0 @@ -/*============================================================= - GENERAL -==============================================================*/ -html,body{height:auto;background:transparent;} -/*============================================================= - CONTROLS -==============================================================*/ -label, -input, -button, -select, -textarea, -button.btn -{ -font-size:13px; -font-weight:normal; -line-height:18px; -} -textarea, -select -{ -margin-bottom:9px; -} -select, -/*textarea,*/ -input[type="text"], -input[type="password"], -input[type="datetime"], -input[type="datetime-local"], -input[type="date"], -input[type="month"], -input[type="time"], -input[type="week"], -input[type="number"], -input[type="email"], -input[type="url"], -input[type="search"], -input[type="tel"], -input[type="color"], -.uneditable-input, -a.btn-lnk -{ -height:18px; -padding:4px; -font-size:13px; -line-height:18px; -} -.design h3, -.plugin h3 -{ -background-position:0 2px; -} - -select, -input[type="file"] -{ -height:28px; -line-height:28px; -} -input[type="submit"], -input[type="button"] -{ -font-size:13px; -height:28px; -line-height:18px; -padding:4px 10px; -} -input[type="radio"], -input[type="checkbox"] -{ -margin-top:2px; -} -.button.btn -{ -line-height:1.25em; -font-size:inherit; -border:none; -text-shadow:none; -margin-bottom:0px; --webkit-border-radius:0px; - -moz-border-radius:0px; - border-radius:0px; --webkit-box-shadow:none; - -moz-box-shadow:none; - box-shadow:none); -} -.button.btn:hover -{ -background-color:transparent; --webkit-transition: background-position 0s linear; - -moz-transition: background-position 0s linear; - -o-transition: background-position 0s linear; - transition: background-position 0s linear; -} -form label -{ -font-weight:bold; -} -.help -{ -border-color:transparent; -} -/* tree menu */ -.folder -{ -border:none; -} -.folder>i -{ -display:none; -} -.celled -{ -padding-top: 2px; -} -.celled-one -{ -padding-top: 1px; -} - -.test h3 -{ -border:0; -padding-left:18px; -} -/*============================================================= - FLASH MESSAGEBOX -==============================================================*/ -.flash -{ -position:fixed; -width:50%; -top:49px; -left:25%; -right:25%; -cursor:default; -text-align:center; -padding:8px 35px 8px 14px; -z-index:5620; -} -.flash>.close -{ -color:inherit; -opacity:0.7; -} -.flash>.close:hover -{ -opacity:0.9; -} -/*============================================================= - NAVBAR -==============================================================*/ -.navbar-fixed-top .navbar-inner, -.navbar-static-top .navbar-inner -{ -/* in place of shadow image */ --webkit-box-shadow:0px 10px 20px rgba(195,195,195,1.0); --moz-box-shadow: 0px 10px 20px rgba(195,195,195,1.0); -box-shadow: 0px 10px 20px rgba(195,195,195,1.0); -//zoom:1; /* IE6-9 */ -filter:progid:DXImageTransform.Microsoft.DropShadow(OffX=0, OffY=10, Color=#000000); /* IE6-9 */ -padding:0; -} -.navbar-inverse .navbar-inner -{ -min-height:33px; /* required - override */ -height:33px; -filter:progid:DXImageTransform.Microsoft.gradient(enabled=false); /* IE6-9 */ -background:#292929 url(../images/header_bg.png) repeat-x; -border:none; -} -#header -{ -background:transparent; -} -#header.navbar -{ -overflow:visible; -} -.navbar-inverse .nav > li > a -{ -padding:0; -line-height:1.25; -text-shadow:none; -} -.navbar .btn-navbar -{ -padding:4px; -margin:5px 5px 0 5px; -} -#menu{margin-right:-7px;} -/*============================================================= - FOOTER -==============================================================*/ -#footer -{ -padding-bottom:0; -} -/*============================================================= - MAIN -==============================================================*/ -#main -{ -position:static; -padding-top:0; -padding-bottom:0; -} -/*============================================================= - SIDEBAR -==============================================================*/ -.sidebar_inner -{ -background:transparent; -padding:0; -min-width:auto; -} -.sidebar .box { -border-top:1px solid #EEE; -} -/*============================================================= - WIZARD -==============================================================*/ -.step div.help li -{ -line-height:inherit; -} -.ms-container .ms-selectable li.ms-elem-selectable, -.ms-container .ms-selection li.ms-elem-selected -{ -font-size:13px; -} -.input-append a.btn -{ -padding:4px; -height:18px; -font-size:13px; -line-height:18px; -} -/*============================================================= - ERRORS TABLE -==============================================================*/ -.errors .table th -{ -filter:progid:DXImageTransform.Microsoft.gradient(enabled=false); /* IE6-9 */ -} - -.tablebar span.help -{ -font-weight:normal; -line-height:1.25em; -text-shadow:none; -width:auto; -} -/*============================================================= - TOOLTIP -==============================================================*/ -.tooltip.in -{ -opacity:1; -filter:alpha(opacity=100); -} -.tooltip-inner -{ -opacity:1; -text-align:left; -background:#9fb364; -color:#eef1d9; -border:1px solid #eef1d9; -font-style:italic; -padding:0.3em; --moz-border-radius:0.5em; -border-radius:0.5em; -font-size:13px; -text-transform:none; -} -.tooltip.right .tooltip-arrow, -.tooltip.left .tooltip-arrow -{ -border-color:transparent; -} - -/*============================================================= - THE GRID -==============================================================*/ -.w2p_grid_bottom_bar .w2p_export_menu -{ -line-height:18px; -margin-left:0; -} -.w2p_export_menu .dropdown-toggle -{ -cursor:pointer; -margin:0; -padding:0; -background-image: -webkit-gradient(linear, 0 0, 0 100%, from(white), to(#E6E6E6)); -background-image: -webkit-linear-gradient(top, white, #E6E6E6); -background-image: -o-linear-gradient(top, white, #E6E6E6); -background-image: linear-gradient(to bottom, white, #E6E6E6); -background-image: -moz-linear-gradient(top, white, #E6E6E6); -} -.w2p_export_menu ul -{ -margin-top:2px; -display:none; -} -.w2p_export_menu li -{ -display:list-item; -margin:0; -} -div.web2py_grid -{ -font-size:13px; -line-height:18px; -} -.web2py_grid a.btn -{ -font-size:13px; -line-height:18px; -padding:4px 10px; -margin-left:0; -margin-right:4px; - -background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ffffff), to(#e6e6e6)); -background-image: -webkit-linear-gradient(top, #ffffff, #e6e6e6); -background-image: -o-linear-gradient(top, #ffffff, #e6e6e6); -background-image: linear-gradient(to bottom, #ffffff, #e6e6e6); -background-image: -moz-linear-gradient(top, #ffffff, #e6e6e6); -} -.web2py_grid .input-append .btn -{ -padding:4px 10px; -margin-right:0; -font-family:inherit; -color:#333; -text-shadow:0 1px 1px rgba(255, 255, 255, 0.75); -border:1px solid #c5c5c5; -} -.web2py_grid select:focus -{ -border-color:rgba(232,149,60,0.8); -outline:0; --webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075),0 0 8px rgba(232, 149, 60, 0.6); --moz-box-shadow: inset 0 1px 1px rgba(0,0,0,0.075),0 0 8px rgba(232,149,60,0.6); -box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075),0 0 8px rgba(232, 149, 60, 0.6); -} -.web2py_console input[type="button"], -.web2py_grid .row_buttons a.btn -{ -color:#333; -line-height:18px; -padding:4px 10px; -text-shadow:rgba(255, 255, 255, 0.74902) 0px 1px 1px; -border-color:rgba(0, 0, 0, 0.15) rgba(0, 0, 0, 0.15) rgba(0, 0, 0, 0.25); --webkit-border-radius: 4px; - -moz-border-radius: 4px; - border-radius: 4px; -} -.web2py_console input[type="button"]:hover, -.web2py_grid .row_buttons a.btn:hover -{ -color:#333; -border-color:rgba(0, 0, 0, 0.15) rgba(0, 0, 0, 0.15) rgba(0, 0, 0, 0.25); -background:#E6E6E6; -background-position: 0 -15px !important; --webkit-transition: background-position .1s linear; --moz-transition: background-position .1s linear; --o-transition: background-position .1s linear; -transition: background-position .1s linear; -} -.web2py_table -{ -border:none; -} -.web2py_table table -{ -/*table-layout:fixed;*/ -margin-bottom:4px; -} -.web2py_table table td -{ -/*word-wrap:break-word;*/ /*uncomment when "table-layout:fixed" is applied */ -} - -.web2py_grid thead th -{ -background-color:transparent; -padding:4px 5px; -line-height:18px; -vertical-align:bottom; -border-right:0; -border-bottom:0; -word-wrap:break-word; -} -.web2py_grid .btn-group > .dropdown-menu -{ -font-size:13px; -} -.web2py_grid .dropdown-menu li > a:hover, -.web2py_grid .dropdown-menu li > a:focus -{ -filter:progid:DXImageTransform.Microsoft.gradient(enabled=false); /* IE6-9 */ -background-image:none; -background-color:#E8953C; -} -.pagination -{ -margin:0; -height:30px; -} -.pagination ul > li > a -{ -line-height:28px; -} - -#w2p_grid_addbtn:focus, -#w2p_search-form :focus, -.btn:focus -{ -outline:none; -} -.web2py_console input[type="button"]:focus, -.web2py_grid .row_buttons a.btn:focus - { -box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15) inset, 0 1px 2px rgba(0, 0, 0, 0.05); -} -div.web2py_counter.span6 -{ -min-height:20px; -} -.web2py_paginator -{ -border:0; -margin:0; -padding:0; -background-color:transparent; -} -.web2py_paginator ul li a -{ -margin-right:0; -padding:0 14px; -border:1px solid #DDD; -border-left-width:0; -color:#E8953C; -} -.web2py_paginator ul li a:hover -{ -background: whiteSmoke; -border: 1px solid #DDD; -border-left-width:0; -color:#e2821b; -} -.web2py_paginator ul li:first-child a, -.web2py_paginator ul li:first-child a:hover -{ -border-left-width:1px; -} -.web2py_paginator .current -{ -font-weight:normal; -} -.web2py_paginator ul li.current a:hover -{ -color:#999; -} - - - - - -.editor-bar-column a[name="save"] -{ -background-color: whiteSmoke; -background-image: -webkit-gradient(linear,0 0,0 100%,from(white),to(#E6E6E6)); -background-image: -webkit-linear-gradient(top,white,#E6E6E6); -background-image: -o-linear-gradient(top,white,#E6E6E6); -background-image: linear-gradient(to bottom,white,#E6E6E6); -background-image: -moz-linear-gradient(top,white,#E6E6E6); -background-repeat: repeat-x; -padding:2px 6px; -font-size:11px; -line-height:17px; -margin:0; -} -.editor-bar-column a[name="save"]:hover -{ -background-color: #E6E6E6; -background-position: 0 -15px; --webkit-transition: background-position .1s linear; --moz-transition: background-position .1s linear; --o-transition: background-position .1s linear; -transition: background-position .1s linear; -} -.keybindings -{ -padding:0 18px 10px; -} -.keybindings li -{ -margin-bottom:0; -} - -/*----- translate page ---*/ - -.languageform input -{ -margin-bottom:0; -} -.languageform div -{ -margin-bottom:9px; -} -.languageform input.untranslated -{ -background-color:#FC0; -} - -.step #wizard_nav .first-box -{ -padding-top:0; -} - -/*============================================================= - MEDIA QUERIES -==============================================================*/ -@media (max-width: 979px) -{ -/*----------------------------------- - Navbar --------------------------------------*/ - #header .navbar-inner - { - padding:0; - } - /*collapsed menu*/ - .navbar .nav-collapse .nav - { - background:#222; - padding:8px 2px 8px 8px; - -webkit-border-bottom-right-radius:8px; - -webkit-border-bottom-left-radius:8px; - -moz-border-radius-bottomright:8px; - -moz-border-radius-bottomleft:8px; - border-bottom-right-radius:8px; - border-bottom-left-radius:8px; - } - #menu - { - margin-right:0; - } - #menu li - { - float:none; - } - #menu a.button, - #menu a.button span - { - background-image:url(../images/menu_responsive.png); - } - #menu a.button - { - padding:0 1em 0 0; - } -} -@media(max-width:632px) -{ -/*----------------------------------- - footer --------------------------------------*/ - #footer - { - height:auto; - } - - #footer select - { - margin-top:8px; - } -} \ No newline at end of file diff --git a/applications/admin/static/css/bootstrap_essentials.css b/applications/admin/static/css/bootstrap_essentials.css index d4126f51..4343a844 100644 --- a/applications/admin/static/css/bootstrap_essentials.css +++ b/applications/admin/static/css/bootstrap_essentials.css @@ -476,7 +476,7 @@ h4.editableapp { background: #fff url(../images/folder.png) no-repeat; } h4.currentapp { background: #fff url(../images/folder_locked.png) no-repeat; } -.flash { position:fixed; width:50%; top:49px; left:25%; right:25%; cursor:default; text-align:center; z-index:5620; } +.w2p_flash { position:fixed; width:50%; top:49px; left:25%; right:25%; cursor:default; text-align:center; z-index:5620; } span#closeflash {position:absolute; top:1px; right:-1px; font-size:150%; border:1px solid black; border-color: transparent transparent #fbeed5 #fbeed5; border-radius: 0 0 0 4px; width:22px; } span#closeflash:hover {font-weight:bold; cursor:pointer; } diff --git a/applications/admin/static/css/web2py.css b/applications/admin/static/css/web2py.css deleted file mode 100644 index 9816e36c..00000000 --- a/applications/admin/static/css/web2py.css +++ /dev/null @@ -1,322 +0,0 @@ -/** these MUST stay **/ -a {text-decoration:none; white-space:nowrap} -a:hover {text-decoration:underline} -a.button {text-decoration:none} -h1,h2,h3,h4,h5,h6 {margin:0.5em 0 0.25em 0; display:block; - font-family:Helvetica} -h1 {font-size:4.00em} -h2 {font-size:3.00em} -h3 {font-size:2.00em} -h4 {font-size:1.50em} -h5 {font-size:1.25em} -h6 {font-size:1.12em} -th,label {font-weight:bold; white-space:nowrap;} -td,th {text-align:left; padding:2px 5px 2px 5px} -th {vertical-align:middle; border-right:1px solid white} -td {vertical-align:top} -form table tr td label {text-align:left} -p,table,ol,ul {padding:0; margin: 0.75em 0} -p {text-align:justify} -ol, ul {list-style-position:outside; margin-left:2em} -li {margin-bottom:0.5em} -span,input,select,textarea,button,label,a {display:inline} -img {border:0} -blockquote,blockquote p,p blockquote { - font-style:italic; margin:0.5em 30px 0.5em 30px; font-size:0.9em} -i,em {font-style:italic} -strong {font-weight:bold} -small {font-size:0.8em} -code {font-family:Courier} -textarea {width:100%} -video {width:400px} -audio {width:200px} -[type="text"], [type="password"], select { - margin-right: 5px; width: 300px; -} -.hidden {display:none;visibility:visible} -.right {float:right; text-align:right} -.left {float:left; text-align:left} -.center {width:100%; text-align:center; vertical-align:middle} -/** end **/ - -/* Sticky footer begin */ - -.main { - padding:20px 0 50px 0; -} - -.footer,.push { - height:6em; - padding:1em 0; - clear:both; -} - -.footer-content {position:relative; bottom:-4em; width:100%} - -.auth_navbar { - white-space:nowrap; -} - -/* Sticky footer end */ - -.footer { - border-top:1px #DEDEDE solid; -} -.header { - /* background:; */ -} - - -fieldset {padding:16px; border-top:1px #DEDEDE solid} -fieldset legend {text-transform:uppercase; font-weight:bold; padding:4px 16px 4px 16px; background:#f1f1f1} - -/* fix ie problem with menu */ - -td.w2p_fw {padding-bottom:1px} -td.w2p_fl,td.w2p_fw,td.w2p_fc {vertical-align:top} -td.w2p_fl {text-align:left} -td.w2p_fl, td.w2p_fw {padding-right:7px} -td.w2p_fl,td.w2p_fc {padding-top:4px} -div.w2p_export_menu {margin:5px 0} -div.w2p_export_menu a, div.w2p_wiki_tags a, div.w2p_cloud a {margin-left:5px; padding:2px 5px; background-color:#f1f1f1; border-radius:5px; -moz-border-radius:5px; -webkit-border-radius:5px;} - -/* tr#submit_record__row {border-top:1px solid #E5E5E5} */ -#submit_record__row td {padding-top:.5em} - -/* Fix */ -#auth_user_remember__row label {display:inline} -#web2py_user_form td {vertical-align:top} - -/*********** web2py specific ***********/ -div.flash { - font-weight:bold; - display:none; - position:fixed; - padding:10px; - top:48px; - right:250px; - min-width:280px; - opacity:0.95; - margin:0px 0px 10px 10px; - vertical-align:middle; - cursor:pointer; - color:#fff; - background-color:#000; - border:2px solid #fff; - border-radius:8px; - -o-border-radius: 8px; - -moz-border-radius:8px; - -webkit-border-radius:8px; - background-image: -webkit-linear-gradient(top,#222,#000); - background-image: -o-linear-gradient(top,#222,#000); - background-image: -moz-linear-gradient(90deg, #222, #000); - background-image: linear-gradient(top,#222,#000); - background-repeat: repeat-x; - font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; - -webkit-font-smoothing: antialiased; - z-index:2000; -} - -div.flash #closeflash{color:inherit; float:right; margin-left:15px;} -.ie-lte7 div.flash #closeflash -{color:expression(this.parentNode.currentStyle['color']);float:none;position:absolute;right:4px;} - -div.flash:hover { opacity:0.25; } - -div.error_wrapper {display:block} -div.error { - width: 298px; - background:red; - border: 2px solid #d00; - color:white; - padding:5px; - display:inline-block; - background-image: -webkit-linear-gradient(left,#f00,#fdd); - background-image: -o-linear-gradient(left,#f00,#fdd); - background-image: -moz-linear-gradient(0deg, #f00, #fdd); - background-image: linear-gradient(left,#f00,#fdd); - background-repeat: repeat-y; -} - -.topbar { - padding:10px 0; - width:100%; - color:#959595; - vertical-align:middle; - padding:auto; - background-image:-khtml-gradient(linear,left top,left bottom,from(#333333),to(#222222)); - background-image:-moz-linear-gradient(top,#333333,#222222); - background-image:-ms-linear-gradient(top,#333333,#222222); - background-image:-webkit-gradient(linear,left top,left bottom,color-stop(0%,#333333),color-stop(100%,#222222)); - background-image:-webkit-linear-gradient(top,#333333,#222222); - background-image:-o-linear-gradient(top,#333333,#222222); - background-image:linear-gradient(top,#333333,#222222); - filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#333333',endColorstr='#222222',GradientType=0); - -webkit-box-shadow:0 1px 3px rgba(0,0,0,0.25),inset 0 -1px 0 rgba(0,0,0,0.1); - -moz-box-shadow:0 1px 3px rgba(0,0,0,0.25),inset 0 -1px 0 rgba(0,0,0,0.1); - box-shadow:0 1px 3px rgba(0,0,0,0.25),inset 0 -1px 0 rgba(0,0,0,0.1); -} - -.topbar a { - color:#e1e1e1; -} - -#navbar {float:right; padding:5px; /* same as superfish */} - -.statusbar { - background-color:#F5F5F5; - margin-top:1em; - margin-bottom:1em; - padding:.5em 1em; - border:1px solid #ddd; - border-radius:5px; - -moz-border-radius:5px; - -webkit-border-radius:5px; -} - -.breadcrumbs {float:left} - -.copyright {float:left} -#poweredBy {float:right} - -/* #MEDIA QUERIES SECTION */ - -/* -*Grid -* -* The default style for SQLFORM.grid even using jquery-iu or another ui framework -* will look better with the declarations below -* if needed to remove base.css consider keeping these following lines in some css file. -*/ -/* .web2py_table {border:1px solid #ccc} */ -.web2py_paginator {} -.web2py_grid {width:100%} -.web2py_grid table {width:100%} -.web2py_grid tbody td {padding:2px 5px 2px 5px; vertical-align: middle;} -.web2py_grid .web2py_form td {vertical-align: top;} - -.web2py_grid thead th,.web2py_grid tfoot td { - background-color:#EAEAEA; - padding:10px 5px 10px 5px; -} - -.web2py_grid tr.odd {background-color:#F9F9F9} -.web2py_grid tr:hover {background-color:#F5F5F5} - -/* -.web2py_breadcrumbs a { - line-height:20px; margin-right:5px; display:inline-block; - padding:3px 5px 3px 5px; - font-family:'lucida grande',tahoma,verdana,arial,sans-serif; - color:#3C3C3D; - text-shadow:1px 1px 0 #FFFFFF; - white-space:nowrap; overflow:visible; cursor:pointer; - background:#ECECEC; - border:1px solid #CACACA; - -webkit-border-radius:2px; -moz-border-radius:2px; - -webkit-background-clip:padding-box; border-radius:2px; - outline:none; position:relative; zoom:1; *display:inline; -} -*/ - -.web2py_console form { - width: 100%; - display: inline; - vertical-align: middle; - margin: 0 0 0 5px; -} - -.web2py_console form select { - margin:0; -} - -.web2py_search_actions { - float:left; - text-align:left; -} - -.web2py_grid .row_buttons { - min-height:25px; - vertical-align:middle; -} -.web2py_grid .row_buttons a { - margin:3px; -} - -.web2py_search_actions { - width:100%; -} - -.web2py_grid .row_buttons a, -.web2py_paginator ul li a, -.web2py_search_actions a, -.web2py_console input[type=submit], -.web2py_console input[type=button], -.web2py_console button { - line-height:20px; - margin-right:2px; display:inline-block; - padding:3px 5px 3px 5px; -} - -.web2py_counter { - margin-top:5px; - margin-right:2px; - width:35%; - float:right; - text-align:right; -} - -/*Fix firefox problem*/ -.web2py_table {clear:both; display:block} - -.web2py_paginator { - padding:5px; - text-align:right; - background-color:#f2f2f2; - -} -.web2py_paginator ul { - list-style-type:none; - margin:0px; - padding:0px; -} - -.web2py_paginator ul li { - display:inline; -} - -.web2py_paginator .current { - font-weight:bold; -} - -.web2py_breadcrumbs ul { - list-style:none; - margin-bottom:18px; -} - -li.w2p_grid_breadcrumb_elem { - display:inline-block; -} - -.web2py_console form { vertical-align: middle; } -.web2py_console input, .web2py_console select, -.web2py_console a { margin: 2px; } - -.web2py_htmltable { - width: 100%; - overflow-x: auto; - -ms-overflow-x:scroll; -} - -#wiki_page_body { - width: 600px; - height: auto; - min-height: 400px; -} - -/* fix some IE problems */ - -.ie-lte7 .topbar .container {z-index:2} -.ie-lte8 div.flash{ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#222222', endColorstr='#000000', GradientType=0 ); } -.ie-lte8 div.flash:hover {filter:alpha(opacity=25);} -.ie9 #w2p_query_panel {padding-bottom:2px} diff --git a/applications/admin/static/css/web2py_bootstrap.css b/applications/admin/static/css/web2py_bootstrap.css deleted file mode 100644 index a91465f1..00000000 --- a/applications/admin/static/css/web2py_bootstrap.css +++ /dev/null @@ -1,264 +0,0 @@ -/*============================================================= - CUSTOM RULES -==============================================================*/ - -body{height:auto;} /* to avoid vertical scroll bar */ - -a{} -a:visited{} -a:hover{} -a:focus{} -a:active{} - -h1{} -h2{} -h3{} -h4{} -h5{} -h6{} - -div.flash.flash-center{left:25%;right:25%;} -div.flash.flash-top,div.flash.flash-top:hover{ - position:relative; - display:block; - margin:0; - padding:1em; - top:0; - left:0; - width:100%; - text-align:center; - text-shadow:0 1px 0 rgba(255, 255, 255, 0.5); - color:#865100; - background:#feea9a; - border:1px solid; - border-top:0px; - border-left:0px; - border-right:0px; - border-radius:0; - opacity:1; -} -#header{margin-top:60px;} -.mastheader h1 { - margin-bottom:9px; - font-size:81px; - font-weight:bold; - letter-spacing:-1px; - line-height:1; - font-size:54px; -} -.mastheader small { - font-size:20px; - font-weight:300; -} -/* auth navbar - primitive style */ -.auth_navbar,.auth_navbar a{color:inherit;} -.navbar-inner {-webkit-border-radius:0;-moz-border-radius:0;border-radius:0} -.ie-lte7 .auth_navbar,.auth_navbar a{color:expression(this.parentNode.currentStyle['color']); /* ie7 doesn't support inherit */} -.auth_navbar a{white-space:nowrap;} /* to avoid the nav split on more lines */ -.auth_navbar a:hover{color:white;text-decoration:none;} -ul#navbar>.auth_navbar{ - display:inline-block; - padding:5px; -} -/* form errors message box customization */ -div.error_wrapper{margin-bottom:9px;} -div.error_wrapper .error{ - border-radius: 4px; - -o-border-radius: 4px; - -moz-border-radius: 4px; - -webkit-border-radius: 4px; -} -/* below rules are only for formstyle = bootstrap -trying to make errors look like bootstrap ones */ -div.controls .error_wrapper{ - display:inline-block; - margin-bottom:0; - vertical-align:middle; -} -div.controls .error{ - min-width:5px; - background:inherit; - color:#B94A48; - border:none; - padding:0; - margin:0; - /*display:inline;*/ /* uncommenting this, the animation effect is lost */ -} -div.controls .help-inline{color:#3A87AD;} -div.controls .error_wrapper +.help-inline {margin-left:-99999px;} -div.controls select +.error_wrapper {margin-left:5px;} -.ie-lte7 div.error{color:#fff;} - -/* beautify brand */ -.navbar {margin-bottom:0} -.navbar-inverse .brand{color:#c6cecc;} -.navbar-inverse .brand b{display:inline-block;margin-top:-1px;} -.navbar-inverse .brand b>span{font-size:22px;color:white} -.navbar-inverse .brand:hover b>span{color:white} -/* beautify web2py link in navbar */ -span.highlighted{color:#d8d800;} -.open span.highlighted{color:#ffff00;} - -/*============================================================= - OVERRIDING WEB2PY.CSS RULES -==============================================================*/ - -/* reset to default */ -a{white-space:normal;} -li{margin-bottom:0;} -textarea,button{display:block;} -/*reset ul padding */ -ul#navbar{padding:0;} -/* label aligned to related input */ -td.w2p_fl,td.w2p_fc {padding:0;} -#web2py_user_form td{vertical-align:middle;} - -/*============================================================= - OVERRIDING BOOTSTRAP.CSS RULES -==============================================================*/ - -/* because web2py handles this via js */ -textarea { width:90%} -.hidden{visibility:visible;} -/* right folder for bootstrap black images/icons */ -[class^="icon-"],[class*=" icon-"]{ - background-image:url("../images/glyphicons-halflings.png") -} -/* right folder for bootstrap white images/icons */ -.icon-white, -.nav-tabs > .active > a > [class^="icon-"], -.nav-tabs > .active > a > [class*=" icon-"], -.nav-pills > .active > a > [class^="icon-"], -.nav-pills > .active > a > [class*=" icon-"], -.nav-list > .active > a > [class^="icon-"], -.nav-list > .active > a > [class*=" icon-"], -.navbar-inverse .nav > .active > a > [class^="icon-"], -.navbar-inverse .nav > .active > a > [class*=" icon-"], -.dropdown-menu > li > a:hover > [class^="icon-"], -.dropdown-menu > li > a:hover > [class*=" icon-"], -.dropdown-menu > .active > a > [class^="icon-"], -.dropdown-menu > .active > a > [class*=" icon-"] { - background-image:url("../images/glyphicons-halflings-white.png"); -} -/* bootstrap has a label as input's wrapper while web2py has a div */ -div>input[type="radio"],div>input[type="checkbox"]{margin:0;} -/* bootstrap has button instead of input */ -input[type="button"], input[type="submit"]{margin-right:8px;} - -/* web2py radio widget adjustment */ -.generic-widget input[type='radio'] {margin:-1px 0 0 0; vertical-align: middle;} -.generic-widget input[type='radio'] + label {display:inline-block; margin:0 0 0 6px; vertical-align: middle;} - -/*============================================================= -RULES FOR SOLVING CONFLICTS BETWEEN WEB2PY.CSS AND BOOTSTRAP.CSS -==============================================================*/ - -/*when formstyle=table3cols*/ -tr#auth_user_remember__row>td.w2p_fw>div{padding-bottom:8px;} -td.w2p_fw div>label{vertical-align:middle;} -td.w2p_fc {padding-bottom:5px;} -/*when formstyle=divs*/ -div#auth_user_remember__row{margin-top:4px;} -div#auth_user_remember__row>.w2p_fl{display:none;} -div#auth_user_remember__row>.w2p_fw{min-height:39px;} -div.w2p_fw,div.w2p_fc{ - display:inline-block; - vertical-align:middle; - margin-bottom:0; -} -div.w2p_fc{ - padding-left:5px; - margin-top:-8px; -} -/*when formstyle=ul*/ -form>ul{ - list-style:none; - margin:0; -} -li#auth_user_remember__row{margin-top:4px;} -li#auth_user_remember__row>.w2p_fl{display:none;} -li#auth_user_remember__row>.w2p_fw{min-height:39px;} -/*when formstyle=bootstrap*/ -#auth_user_remember__row label.checkbox{display:block;} -span.inline-help{display:inline-block;} -input[type="text"].input-xlarge,input[type="password"].input-xlarge{width:270px;} -/*when recaptcha is used*/ -#recaptcha{min-height:30px;display:inline-block;margin-bottom:0;line-height:30px;vertical-align:middle;} -td>#recaptcha{margin-bottom:6px;} -div>#recaptcha{margin-bottom:9px;} -div.control-group.error{ -width:auto; -background:transparent; -border:0; -color:inherit; -padding:0; -background-repeat:repeat; -} - -/*============================================================= - OTHER RULES -==============================================================*/ - -/* Massimo Di Pierro fixed alignment in forms with list:string */ -form table tr{margin-bottom:9px;} -td.w2p_fw ul{margin-left:0px;} - -/* web2py_console in grid and smartgrid */ -.hidden{visibility:visible;} -.web2py_console input{ - display: inline-block; - margin-bottom: 0; - vertical-align: middle; -} -.web2py_console input[type="submit"], -.web2py_console input[type="button"], -.web2py_console button{ - padding-top:4px; - padding-bottom:4px; - margin:3px 0 0 2px; -} -.web2py_console a, -.web2py_console select, -.web2py_console input -{ - margin:3px 0 0 2px; -} -.web2py_grid form table{width:auto;} -/* auth_user_remember checkbox extrapadding in IE fix */ -.ie-lte9 input#auth_user_remember.checkbox {padding-left:0;} - -div.controls .error { - width: auto; -} - -/*============================================================= - MEDIA QUERIES -==============================================================*/ - -@media only screen and (max-width:979px){ - body{padding-top:0px;} - #navbar{/*top:5px;*/} - div.flash{right:5px;} - .dropdown-menu ul{visibility:visible;} -} - -@media only screen and (max-width:479px){ - body{ - padding-left:10px; - padding-right:10px; - } - .navbar-fixed-top,.navbar-fixed-bottom { - margin-left:-10px; - margin-right:-10px; - } - input[type="text"],input[type="password"],select{ - width:95%; - } -} - -@media (max-width: 767px) { - .navbar { - margin-right: -20px; - margin-left: -20px; - } -} diff --git a/applications/admin/static/css/web2py_bootstrap_nojs.css b/applications/admin/static/css/web2py_bootstrap_nojs.css deleted file mode 100644 index 0ec7312f..00000000 --- a/applications/admin/static/css/web2py_bootstrap_nojs.css +++ /dev/null @@ -1,122 +0,0 @@ -/*============================================================= - BOOTSTRAP DROPDOWN MENU -==============================================================*/ - -.dropdown-menu ul{ - left:100%; - position:absolute; - top:0; - visibility:hidden; - margin-top:-1px; -} -.dropdown-menu li:hover ul{visibility:visible;} -.navbar .dropdown-menu ul:before{ - border-bottom:7px solid transparent; - border-left:none; - border-right:7px solid rgba(0, 0, 0, 0.2); - border-top:7px solid transparent; - left:-7px; - top:5px; -} -.nav > li.dropdown > a:after { - border-left: 4px solid transparent; - border-right: 4px solid transparent; - border-top: 4px solid #000000; - content: ""; - display: inline-block; - height: 0; - opacity: 0.7; - vertical-align: top; - width: 0; - - margin-left: 2px; - margin-top: 8px; - - border-bottom-color: #FFFFFF; - border-top-color: #FFFFFF; -} -.dropdown-menu span{display:inline-block;} -ul.dropdown-menu li.dropdown > a:after { - border-left: 4px solid #000; - border-right: 4px solid transparent; - border-bottom: 4px solid transparent; - border-top: 4px solid transparent; - content: ""; - display: inline-block; - height: 0; - opacity: 0.7; - vertical-align: top; - width: 0; - - margin-left: 8px; - margin-top: 6px; -} - -ul.nav li.dropdown:hover ul.dropdown-menu { - display: block; -} - -.open >.dropdown-menu ul{display:block;} /* fix menu issue when BS2.0.4 is applied */ - -/*============================================================= - BOOTSTRAP SUBMIT BUTTON -==============================================================*/ - -input[type='submit']:not(.btn) { -display: inline-block; -padding: 4px 14px; -margin-bottom: 0; -font-size: 14px; -line-height: 20px; -color: #333; -text-align: center; -text-shadow: 0 1px 1px rgba(255, 255, 255, 0.75); -vertical-align: middle; -cursor: pointer; -background-color: whiteSmoke; -background-image: -webkit-gradient(linear,0 0,0 100%,from(white),to(#E6E6E6)); -background-image: -webkit-linear-gradient(top,white,#E6E6E6); -background-image: -o-linear-gradient(top,white,#E6E6E6); -background-image: linear-gradient(to bottom,white,#E6E6E6); -background-image: -moz-linear-gradient(top,white,#E6E6E6); -background-repeat: repeat-x; -border: 1px solid #BBB; -border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25); -border-bottom-color: #A2A2A2; --webkit-border-radius: 4px; --moz-border-radius: 4px; -border-radius: 4px; -filter: progid:dximagetransform.microsoft.gradient(startColorstr='#ffffffff',endColorstr='#ffe6e6e6',GradientType=0); -filter: progid:dximagetransform.microsoft.gradient(enabled=false); --webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2),0 1px 2px rgba(0, 0, 0, 0.05); --moz-box-shadow: inset 0 1px 0 rgba(255,255,255,0.2),0 1px 2px rgba(0,0,0,0.05); -box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2),0 1px 2px rgba(0, 0, 0, 0.05); -} - -input[type='submit']:not(.btn):hover { -color: #333; -text-decoration: none; -background-color: #E6E6E6; -background-position: 0 -15px; --webkit-transition: background-position .1s linear; --moz-transition: background-position .1s linear; --o-transition: background-position .1s linear; -transition: background-position .1s linear; -} - -input[type='submit']:not(.btn).active, input[type='submit']:not(.btn):active { -background-color: #E6E6E6; -background-color: #D9D9D9 9; -background-image: none; -outline: 0; --webkit-box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15),0 1px 2px rgba(0, 0, 0, 0.05); --moz-box-shadow: inset 0 2px 4px rgba(0,0,0,0.15),0 1px 2px rgba(0,0,0,0.05); -box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15),0 1px 2px rgba(0, 0, 0, 0.05); -} - -/*============================================================= - OTHER -==============================================================*/ - -.ie-lte8 .navbar-fixed-top {position:static;} - diff --git a/applications/admin/static/js/ajax_editor.js b/applications/admin/static/js/ajax_editor.js index 54f74625..d7521838 100644 --- a/applications/admin/static/js/ajax_editor.js +++ b/applications/admin/static/js/ajax_editor.js @@ -77,10 +77,10 @@ function doClickSave() { t.attr('disabled', ''); var flash = xhr.getResponseHeader('web2py-component-flash'); if(flash) { - $('.flash').html(decodeURIComponent(flash)) + $('.w2p_flash').html(decodeURIComponent(flash)) .append('×') .slideDown(); - } else $('.flash').hide(); + } else $('.w2p_flash').hide(); try { if(json.error) { window.location.href = json.redirect; @@ -158,10 +158,10 @@ function doToggleBreakpoint(filename, url, sel) { // show flash message (if any) var flash = xhr.getResponseHeader('web2py-component-flash'); if(flash) { - $('.flash').html(decodeURIComponent(flash)) + $('.w2p_flash').html(decodeURIComponent(flash)) .append('×') .slideDown(); - } else $('.flash').hide(); + } else $('.w2p_flash').hide(); try { if(json.error) { window.location.href = json.redirect; diff --git a/applications/admin/views/default/design.html b/applications/admin/views/default/design.html index cd6d60f8..173f0053 100644 --- a/applications/admin/views/default/design.html +++ b/applications/admin/views/default/design.html @@ -477,11 +477,11 @@ function filter_files() { message=data['message']; for(var i=0; i
-
{{=response.flash or ''}}
+
{{=response.flash or ''}}
{{include}}