mirror of https://github.com/akveo/blur-admin
refactor(tabs): apply blur design
parent
cb65c522f7
commit
b712b342a2
|
@ -1,4 +1,4 @@
|
||||||
<uib-tabset class="panel medium-panel horizontal-tabs">
|
<uib-tabset>
|
||||||
<uib-tab heading="Start">
|
<uib-tab heading="Start">
|
||||||
<p>
|
<p>
|
||||||
Take up one idea. Make that one idea your life--think of it, dream of it, live on that idea. Let the brain,
|
Take up one idea. Make that one idea your life--think of it, dream of it, live on that idea. Let the brain,
|
||||||
|
|
|
@ -1,8 +1,11 @@
|
||||||
<uib-tabset class="tabs-left panel xsmall-panel">
|
<div ba-panel
|
||||||
|
ba-panel-class="tabs-panel xsmall-panel with-scroll">
|
||||||
|
<uib-tabset class="tabs-left">
|
||||||
<uib-tab heading="Start">
|
<uib-tab heading="Start">
|
||||||
<p class="text-center">
|
<p class="text-center">
|
||||||
Take up one idea.
|
Take up one idea.
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<div class="kameleon-icon with-round-bg danger"><img ng-src="{{::( 'Key' | kameleonImg )}}"></div>
|
<div class="kameleon-icon with-round-bg danger"><img ng-src="{{::( 'Key' | kameleonImg )}}"></div>
|
||||||
<p>
|
<p>
|
||||||
People who succeed have momentum. The more they succeed, the more they want to succeed, and the more they find a
|
People who succeed have momentum. The more they succeed, the more they want to succeed, and the more they find a
|
||||||
|
@ -10,13 +13,15 @@
|
||||||
</uib-tab>
|
</uib-tab>
|
||||||
<uib-tab heading="Get it done">
|
<uib-tab heading="Get it done">
|
||||||
<p>
|
<p>
|
||||||
You can't connect the dots looking forward; you can only connect them looking backwards. So you have to trust that
|
You can't connect the dots looking forward; you can only connect them looking backwards. So you have to trust
|
||||||
|
that
|
||||||
the dots will somehow connect in your future. You have to trust in something--your gut, destiny, life, karma,
|
the dots will somehow connect in your future. You have to trust in something--your gut, destiny, life, karma,
|
||||||
whatever. This approach has never let me down, and it has made all the difference in my life.
|
whatever. This approach has never let me down, and it has made all the difference in my life.
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
The reason most people never reach their goals is that they don't define them, or ever seriously consider them as
|
The reason most people never reach their goals is that they don't define them, or ever seriously consider them
|
||||||
|
as
|
||||||
believable or achievable. Winners can tell you where they are going, what they plan to do along the way, and who
|
believable or achievable. Winners can tell you where they are going, what they plan to do along the way, and who
|
||||||
will be sharing the adventure with them.
|
will be sharing the adventure with them.
|
||||||
</p>
|
</p>
|
||||||
|
@ -30,12 +35,16 @@
|
||||||
<p>Failure is the condiment that gives success its flavor.</p>
|
<p>Failure is the condiment that gives success its flavor.</p>
|
||||||
</uib-tab>
|
</uib-tab>
|
||||||
</uib-tabset>
|
</uib-tabset>
|
||||||
|
</div>
|
||||||
|
|
||||||
<uib-tabset class="tabs-right panel xsmall-panel">
|
<div ba-panel
|
||||||
|
ba-panel-class="tabs-panel xsmall-panel with-scroll">
|
||||||
|
<uib-tabset class="tabs-right">
|
||||||
<uib-tab heading="Start">
|
<uib-tab heading="Start">
|
||||||
<p class="text-center">
|
<p class="text-center">
|
||||||
Take up one idea.
|
Take up one idea.
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<div class="kameleon-icon with-round-bg warning"><img ng-src="{{::( 'Phone-Booth' | kameleonImg )}}"></div>
|
<div class="kameleon-icon with-round-bg warning"><img ng-src="{{::( 'Phone-Booth' | kameleonImg )}}"></div>
|
||||||
<p>
|
<p>
|
||||||
People who succeed have momentum. The more they succeed, the more they want to succeed, and the more they find a
|
People who succeed have momentum. The more they succeed, the more they want to succeed, and the more they find a
|
||||||
|
@ -43,13 +52,15 @@
|
||||||
</uib-tab>
|
</uib-tab>
|
||||||
<uib-tab heading="Get it done">
|
<uib-tab heading="Get it done">
|
||||||
<p>
|
<p>
|
||||||
You can't connect the dots looking forward; you can only connect them looking backwards. So you have to trust that
|
You can't connect the dots looking forward; you can only connect them looking backwards. So you have to trust
|
||||||
|
that
|
||||||
the dots will somehow connect in your future. You have to trust in something--your gut, destiny, life, karma,
|
the dots will somehow connect in your future. You have to trust in something--your gut, destiny, life, karma,
|
||||||
whatever. This approach has never let me down, and it has made all the difference in my life.
|
whatever. This approach has never let me down, and it has made all the difference in my life.
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
The reason most people never reach their goals is that they don't define them, or ever seriously consider them as
|
The reason most people never reach their goals is that they don't define them, or ever seriously consider them
|
||||||
|
as
|
||||||
believable or achievable. Winners can tell you where they are going, what they plan to do along the way, and who
|
believable or achievable. Winners can tell you where they are going, what they plan to do along the way, and who
|
||||||
will be sharing the adventure with them.
|
will be sharing the adventure with them.
|
||||||
</p>
|
</p>
|
||||||
|
@ -63,3 +74,4 @@
|
||||||
<p>Failure is the condiment that gives success its flavor.</p>
|
<p>Failure is the condiment that gives success its flavor.</p>
|
||||||
</uib-tab>
|
</uib-tab>
|
||||||
</uib-tabset>
|
</uib-tabset>
|
||||||
|
</div>
|
|
@ -1,6 +1,12 @@
|
||||||
<div>
|
<div>
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-md-6" ng-include="'app/pages/ui/tabs/mainTabs.html'"></div>
|
<div class="col-md-6">
|
||||||
|
<div
|
||||||
|
ba-panel
|
||||||
|
ba-panel-class="with-scroll horizontal-tabs tabs-panel medium-panel">
|
||||||
|
<div ng-include="'app/pages/ui/tabs/mainTabs.html'"></div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
<div class="col-md-6 tabset-group" ng-include="'app/pages/ui/tabs/sideTabs.html'"></div>
|
<div class="col-md-6 tabset-group" ng-include="'app/pages/ui/tabs/sideTabs.html'"></div>
|
||||||
</div>
|
</div>
|
||||||
<div class="row accordions-row">
|
<div class="row accordions-row">
|
||||||
|
|
|
@ -4,6 +4,23 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
.panel.tabs-panel{
|
||||||
|
.panel-body{
|
||||||
|
padding: 0;
|
||||||
|
}
|
||||||
|
.dropdown-menu{
|
||||||
|
min-width: 132px;
|
||||||
|
top: auto;
|
||||||
|
border: none;
|
||||||
|
border-bottom-left-radius: 5px;
|
||||||
|
border-bottom-right-radius: 5px;
|
||||||
|
}
|
||||||
|
&.with-scroll .panel-body{
|
||||||
|
height: 100%;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
.xsmall-panel {
|
.xsmall-panel {
|
||||||
.nav-tabs, .tab-content{
|
.nav-tabs, .tab-content{
|
||||||
height: 100%;
|
height: 100%;
|
||||||
|
|
|
@ -5,6 +5,23 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.tabs-right, .tabs-left {
|
||||||
|
.nav-tabs {
|
||||||
|
min-width: 100px;
|
||||||
|
}
|
||||||
|
.tab-content {
|
||||||
|
width: calc(100% - 100px);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.tabs-right .tab-content {
|
||||||
|
margin-right: 100px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.tabs-left .tab-content {
|
||||||
|
margin-left: 100px;
|
||||||
|
}
|
||||||
|
|
||||||
.tab-content > .tab-pane,
|
.tab-content > .tab-pane,
|
||||||
.pill-content > .pill-pane {
|
.pill-content > .pill-pane {
|
||||||
display: none;
|
display: none;
|
||||||
|
@ -17,7 +34,6 @@
|
||||||
|
|
||||||
.tabs-below {
|
.tabs-below {
|
||||||
> .nav-tabs {
|
> .nav-tabs {
|
||||||
border-top: 1px solid #ddd;
|
|
||||||
|
|
||||||
> li {
|
> li {
|
||||||
margin-top: -1px;
|
margin-top: -1px;
|
||||||
|
@ -25,23 +41,21 @@
|
||||||
|
|
||||||
> a {
|
> a {
|
||||||
&:hover, &:focus {
|
&:hover, &:focus {
|
||||||
border-top-color: #ddd;
|
|
||||||
border-bottom-color: transparent;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
> .active a {
|
> .active a {
|
||||||
&, &:hover, &:focus {
|
&, &:hover, &:focus {
|
||||||
border-color: transparent #ddd #ddd #ddd;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.tabs-left, .tabs-right {
|
.tabs-left, .tabs-right {
|
||||||
|
height: 100%;
|
||||||
> .nav-tabs > li {
|
> .nav-tabs > li {
|
||||||
float: none;
|
float: none;
|
||||||
|
margin-bottom: 0;
|
||||||
> a {
|
> a {
|
||||||
min-width: 74px;
|
min-width: 74px;
|
||||||
margin-right: 0;
|
margin-right: 0;
|
||||||
|
@ -52,39 +66,37 @@
|
||||||
|
|
||||||
.tabs-left > .nav-tabs {
|
.tabs-left > .nav-tabs {
|
||||||
float: left;
|
float: left;
|
||||||
|
border-bottom-left-radius: 5px;
|
||||||
> li > a {
|
> li > a {
|
||||||
margin-right: -1px;
|
margin-right: -1px;
|
||||||
|
|
||||||
&:hover, &:focus {
|
&:hover, &:focus {
|
||||||
border-color: #eee #ddd #eee #eee;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
> .active a {
|
> .active a {
|
||||||
&, &:hover, &:focus {
|
&, &:hover, &:focus {
|
||||||
border-color: #ddd transparent #ddd #ddd;
|
|
||||||
*border-right-color: #fff;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.tabs-right > .nav-tabs {
|
.tabs-right > .nav.nav-tabs {
|
||||||
float: right;
|
float: right;
|
||||||
border-left: 1px solid #ddd;
|
border-top-left-radius: 0;
|
||||||
|
border-bottom-right-radius: 5px;
|
||||||
> li > a {
|
> li > a {
|
||||||
margin-left: -1px;
|
margin-left: -1px;
|
||||||
|
|
||||||
&:hover, &:focus {
|
&:hover, &:focus {
|
||||||
border-color: #eee #eee #eee #ddd;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
& > li:first-of-type a {
|
||||||
|
border-top-left-radius: 0;
|
||||||
|
}
|
||||||
|
|
||||||
> .active a {
|
> .active a {
|
||||||
&, &:hover, &:focus {
|
&, &:hover, &:focus {
|
||||||
border-color: #ddd #ddd #ddd transparent;
|
|
||||||
*border-left-color: #fff;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -105,31 +117,68 @@
|
||||||
|
|
||||||
.tab-content {
|
.tab-content {
|
||||||
padding: 15px 15px 5px 15px;
|
padding: 15px 15px 5px 15px;
|
||||||
background: #ffffff;
|
background: transparent;
|
||||||
color: $default-text;
|
color: $default;
|
||||||
overflow-y: scroll;
|
|
||||||
.tab-pane p {
|
.tab-pane p {
|
||||||
color: $default-text;
|
color: $default;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.nav-tabs > li {
|
|
||||||
margin-bottom: 0;
|
|
||||||
}
|
|
||||||
.nav.nav-tabs {
|
.nav.nav-tabs {
|
||||||
border-bottom: none;
|
border-top-left-radius: 5px;
|
||||||
background-color: #ddd;
|
border-top-right-radius: 5px;
|
||||||
|
border-bottom: 1px solid rgba(0, 0, 0, .01);
|
||||||
|
background-color: rgba(0, 0, 0, .2);
|
||||||
|
a {
|
||||||
|
color: $default;
|
||||||
|
&:hover {
|
||||||
|
color: $default;
|
||||||
|
}
|
||||||
|
}
|
||||||
& > li > a {
|
& > li > a {
|
||||||
margin-right: 0;
|
margin-right: 0;
|
||||||
margin-bottom: 0;
|
margin-bottom: 0;
|
||||||
border-radius: 0;
|
border-radius: 0;
|
||||||
border: none;
|
border: none;
|
||||||
|
color: $default;
|
||||||
&:hover {
|
&:hover {
|
||||||
border: none;
|
border: none;
|
||||||
|
color: $default;
|
||||||
|
background-color: rgba(0, 0, 0, .1);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
& > li.active > a {
|
||||||
|
color: $default;
|
||||||
|
background-color: rgba(0, 0, 0, .15);
|
||||||
|
}
|
||||||
|
> li:first-of-type a {
|
||||||
|
border-top-left-radius: 5px;
|
||||||
|
}
|
||||||
|
.dropdown-menu > li > a {
|
||||||
|
color: $default-text;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.nav .open > a, .nav .open > a:hover, .nav .open > a:focus {
|
||||||
|
background-color: transparent;
|
||||||
}
|
}
|
||||||
|
|
||||||
.nav-tabs > li.active > a, .nav-tabs > li.active > a:hover, .nav-tabs > li.active > a:focus {
|
.nav-tabs > li.active > a, .nav-tabs > li.active > a:hover, .nav-tabs > li.active > a:focus {
|
||||||
border: none;
|
border: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.panel-primary, .panel-info, .panel-success, .panel-warning, .panel-danger, {
|
||||||
|
.panel-heading{
|
||||||
|
border-radius: 4px;
|
||||||
|
}
|
||||||
|
|
||||||
|
&.panel-open .panel-heading{
|
||||||
|
border-bottom-left-radius: 0;
|
||||||
|
border-bottom-right-radius: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
> .panel-heading + .panel-collapse > .panel-body {
|
||||||
|
border-top: none;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue