diff --git a/upload/plugins/cb_demo_switcher/anchor/switcher.html b/upload/plugins/cb_demo_switcher/anchor/switcher.html index abb50836..4f719dd3 100644 --- a/upload/plugins/cb_demo_switcher/anchor/switcher.html +++ b/upload/plugins/cb_demo_switcher/anchor/switcher.html @@ -1,3 +1,82 @@ +
+
+
+ +
+
+
+ +{* {$demos = $dswitch->get_demos()} {if !empty($demos)}
@@ -9,9 +88,9 @@
{/if} - - +*} +*/ +.header-sw { + background:#1a172f; + float:left; + position:fixed; + top:2px; + z-index:5; + padding:8px 22px; +} +.header-sw .swither-nav { + position: relative; + min-height: 0; + margin-bottom: 0; + border: 1px solid transparent; +} +.header-sw .swither-nav { + position: relative; + min-height: 0; + margin-bottom: 0; + border: 1px solid transparent; +} +.header-sw .swither-nav .swither-div{ + +} +.header-sw .swither-nav .swither-div ul.navbar-nav{ + +} +.header-sw .swither-nav .swither-div ul.navbar-nav .shiwth-bg{ + +} +.header-sw .swither-nav .swither-div ul.navbar-nav .shiwth-bg h3{ + display:inline-block; + color:#fff; + font-size:16px; + font-weight:500; + margin:10px 0 !important; +} +.header-sw .swither-nav .swither-div ul.navbar-nav .shiwth-bg .nav-link{ + display:inline-block; + width:auto; + border-radius:25px; + padding:0 12px; + height:auto !important; + background:#302d4f !important; + color:#fff; + border:1px solid #484564; + box-shadow:none; + margin:0 8px; +} +.header-sw .swither-nav .swither-div ul.navbar-nav .shiwth-bg .nav-link span{ + font-size:9px; + margin:0 0px 0 21px; +} +.menu-shwich{ + background:#1a172f; + z-index:5; +} +.menu-shwich .dropdown-item{ + display:block; + border-bottom:1px solid #484564; + padding:5px 10px; + color:#fff; +} +.menu-shwich .dropdown-item:last-child{ + border:none; +} +@media only screen and (max-width: 1024px){ + .shiwth-bg{ + width:30% !important; + } + +} +@media only screen and (max-width: 768px){ + .shiwth-bg{ + width:100% !important; + } + .navbar-toggler{ + background: #484564; + border: 1px solid #484564; + padding: 8px 12px; + border-radius: 2px; + margin: 8px 0; + } + .navbar-toggler span{ + color: #fff; + font-size: 19px; + font-weight: 200; + } + .header-sw .swither-nav .swither-div ul.navbar-nav .shiwth-bg .nav-link{ + border:none !important; + background:none !important; + margin: 7px 8px !important; + float:right; + } +} +@media only screen and (max-width: 767px){ + .swither-div { + padding:0; + margin:0; + } + .shiwth-bg{ + width:100% !important; + } + .navbar-toggler{ + background: #484564; + border: 1px solid #484564; + padding: 8px 12px; + border-radius: 2px; + margin: 8px 0; + } + .navbar-toggler span{ + color: #fff; + font-size: 19px; + font-weight: 200; + } + .menu-shwich .dropdown-item:last-child{ + border-bottom:1px solid #484564; + } + .update { + margin: 12px 0; + } + .header-sw .swither-nav .swither-div ul.navbar-nav .shiwth-bg .nav-link{ + border:none !important; + background:none !important; + margin: 7px 8px !important; + float:right; + } + .menu-shwich .dropdown-item { + display: block; + border-bottom: 1px solid #484564; + padding: 10px; + color: #fff; + } +} + + + +#header{ + top:auto !important; + z-index:4 !important; +} +.full_video_picker{ + z-index: 3 !important; +} +.header-sw .swither-col h3{ + display:inline-block; + color:#fff; + font-size:16px; + font-weight:500; +} +.header-sw .swither-col select.swither-select, +select.form-control { + display:inline-block; + width:auto; + border-radius:25px; + padding:0 12px; + height:auto !important; + background:#302d4f !important; + color:#fff; + border:1px solid #484564; + box-shadow:none; + margin:0 8px; + +} +.header-sw .swither-col select.swither-select option{ + display:block; + text-align:left; +} +.header-sw .upload-btn{ + display: flex; + text-align: right; + float: right; + padding: 12px; +} +.update{ + display:inline-flex; + background:none; + border:1px solid #fff; + color:#fff; + float:right; + margin:6px 0; +} +.update:hover{ + background:#302d4f; + border-color:#302d4f; + color:#fff; +} \ No newline at end of file