add menu editor
This commit is contained in:
Binary file not shown.
+100
-88
File diff suppressed because one or more lines are too long
|
Before Width: | Height: | Size: 178 KiB After Width: | Height: | Size: 190 KiB |
Binary file not shown.
Binary file not shown.
@@ -2,7 +2,7 @@
|
||||
// ----------------------------------------------
|
||||
|
||||
/* SG
|
||||
# Menu/
|
||||
# Menu/Navigation
|
||||
|
||||
|
||||
```
|
||||
@@ -71,6 +71,7 @@
|
||||
*/
|
||||
|
||||
@import '../cdb-variables/colors';
|
||||
@import '../cdb-variables/sizes';
|
||||
|
||||
.CDB-NavMenu {
|
||||
position: relative;
|
||||
@@ -155,3 +156,101 @@
|
||||
}
|
||||
|
||||
|
||||
/* SG
|
||||
# Menu/Editor
|
||||
|
||||
|
||||
```
|
||||
<div class="CDB-MenuEditor">
|
||||
<div class="CDB-MenuEditor-logo">
|
||||
<i class="CDB-IconFont CDB-IconFont-cartoFante u-actionTextColor"></i>
|
||||
</div>
|
||||
<nav>
|
||||
<ul class="CDB-MenuEditor-navigation">
|
||||
<li class="CDB-MenuEditor-navigationItem is-selected">
|
||||
<a href="#" class="CDB-MenuEditor-navigationLink">
|
||||
<i class="CDB-IconFont CDB-IconFont-edition Size-large"></i>
|
||||
</a>
|
||||
</li>
|
||||
<li class="CDB-MenuEditor-navigationItem">
|
||||
<a href="#" class="CDB-MenuEditor-navigationLink">
|
||||
<i class="CDB-IconFont CDB-IconFont-view Size-large"></i>
|
||||
</a>
|
||||
</li>
|
||||
<li class="CDB-MenuEditor-navigationItem">
|
||||
<a href="#" class="CDB-MenuEditor-navigationLink">
|
||||
<i class="CDB-IconFont CDB-IconFont-clock Size-large"></i>
|
||||
</a>
|
||||
</li>
|
||||
<li class="CDB-MenuEditor-navigationItem">
|
||||
<a href="#" class="CDB-MenuEditor-navigationLink">
|
||||
<i class="CDB-IconFont CDB-IconFont-settings Size-large"></i>
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
</nav>
|
||||
<a href="http://piensaenpixel.cartodb.com" class="CDB-AvatarEditor">
|
||||
<img src="https://s3.amazonaws.com/com.cartodb.users-assets.production/production/piensaenpixel/assets/20150507074635Captura%20de%20pantalla%202015-05-07%20a%20la%28s%29%2009.46.28.png" class="CDB-AvatarEditor-img">
|
||||
</a>
|
||||
</div>
|
||||
```
|
||||
*/
|
||||
|
||||
.CDB-MenuEditor {
|
||||
position: relative;
|
||||
width: 72px;
|
||||
min-height: 450px;
|
||||
box-sizing: border-box;
|
||||
padding: $baseSize * 2 0;
|
||||
background: $cBlue;
|
||||
box-shadow: 4px 0 $baseSize * 2 rgba(0, 0, 0, 0.05);
|
||||
}
|
||||
|
||||
.CDB-MenuEditor-navigationItem {
|
||||
padding: 12px $baseSize * 2 12px $baseSize + 6;
|
||||
border-left: 2px solid transparent;
|
||||
text-align: center;
|
||||
|
||||
&.is-selected {
|
||||
border-left: 2px solid #FFF;
|
||||
.CDB-MenuEditor-navigationLink {
|
||||
opacity: 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.CDB-MenuEditor-navigationLink {
|
||||
display: block;
|
||||
height: 24px;
|
||||
color: #FFF;
|
||||
font-size: 24px;
|
||||
opacity: 0.32;
|
||||
}
|
||||
.CDB-MenuEditor-navigationLink:hover {
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
.CDB-MenuEditor-logo {
|
||||
width: 40px;
|
||||
height: 40px;
|
||||
margin: 0 auto $baseSize * 2;
|
||||
padding: $baseSize - 2 0;
|
||||
border-radius: $baseSize / 2;
|
||||
background: #FFF;
|
||||
box-sizing: border-box;
|
||||
font-size: $baseSize * 3;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.CDB-AvatarEditor {
|
||||
position: absolute;
|
||||
bottom: $baseSize * 2;
|
||||
left: $baseSize * 2;
|
||||
width: 40px;
|
||||
height: 40px;
|
||||
}
|
||||
.CDB-AvatarEditor-img {
|
||||
width: 100%;
|
||||
border-radius: $baseSize / 2;
|
||||
}
|
||||
|
||||
|
||||
+132
-88
@@ -119,6 +119,30 @@ All available icons in CartoDB.
|
||||
</div>
|
||||
|
||||
|
||||
<div class="box">
|
||||
<i class="CDB-IconFont CDB-IconFont-edition Size-large"></i>
|
||||
<h4 class="Text Size-small">edition</h4>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="box">
|
||||
<i class="CDB-IconFont CDB-IconFont-view Size-large"></i>
|
||||
<h4 class="Text Size-small">view</h4>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="box">
|
||||
<i class="CDB-IconFont CDB-IconFont-clock Size-large"></i>
|
||||
<h4 class="Text Size-small">clock</h4>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="box">
|
||||
<i class="CDB-IconFont CDB-IconFont-settings Size-large"></i>
|
||||
<h4 class="Text Size-small">settings</h4>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="box">
|
||||
<i class="CDB-IconFont CDB-IconFont-wizard Size-large"></i>
|
||||
<h4 class="Text Size-small">wizard</h4>
|
||||
@@ -716,441 +740,461 @@ All available icons in CartoDB.
|
||||
}
|
||||
|
||||
|
||||
.CDB-IconFont-wizard::before {
|
||||
.CDB-IconFont-edition::before {
|
||||
content: '\E00E';
|
||||
}
|
||||
|
||||
|
||||
.CDB-IconFont-info::before {
|
||||
.CDB-IconFont-view::before {
|
||||
content: '\E00F';
|
||||
}
|
||||
|
||||
|
||||
.CDB-IconFont-fork::before {
|
||||
.CDB-IconFont-clock::before {
|
||||
content: '\E010';
|
||||
}
|
||||
|
||||
|
||||
.CDB-IconFont-facebook::before {
|
||||
.CDB-IconFont-settings::before {
|
||||
content: '\E011';
|
||||
}
|
||||
|
||||
|
||||
.CDB-IconFont-folder::before {
|
||||
.CDB-IconFont-wizard::before {
|
||||
content: '\E012';
|
||||
}
|
||||
|
||||
|
||||
.CDB-IconFont-dropbox::before {
|
||||
.CDB-IconFont-info::before {
|
||||
content: '\E013';
|
||||
}
|
||||
|
||||
|
||||
.CDB-IconFont-cloud::before {
|
||||
.CDB-IconFont-fork::before {
|
||||
content: '\E014';
|
||||
}
|
||||
|
||||
|
||||
.CDB-IconFont-step::before {
|
||||
.CDB-IconFont-facebook::before {
|
||||
content: '\E015';
|
||||
}
|
||||
|
||||
|
||||
.CDB-IconFont-addDocument::before {
|
||||
.CDB-IconFont-folder::before {
|
||||
content: '\E016';
|
||||
}
|
||||
|
||||
|
||||
.CDB-IconFont-arrowNext::before {
|
||||
.CDB-IconFont-dropbox::before {
|
||||
content: '\E017';
|
||||
}
|
||||
|
||||
|
||||
.CDB-IconFont-arrowPrev::before {
|
||||
.CDB-IconFont-cloud::before {
|
||||
content: '\E018';
|
||||
}
|
||||
|
||||
|
||||
.CDB-IconFont-close::before {
|
||||
.CDB-IconFont-step::before {
|
||||
content: '\E019';
|
||||
}
|
||||
|
||||
|
||||
.CDB-IconFont-cartoFante::before {
|
||||
.CDB-IconFont-addDocument::before {
|
||||
content: '\E01A';
|
||||
}
|
||||
|
||||
|
||||
.CDB-IconFont-lock::before {
|
||||
.CDB-IconFont-arrowNext::before {
|
||||
content: '\E01B';
|
||||
}
|
||||
|
||||
|
||||
.CDB-IconFont-cartoDB::before {
|
||||
.CDB-IconFont-arrowPrev::before {
|
||||
content: '\E01C';
|
||||
}
|
||||
|
||||
|
||||
.CDB-IconFont-lens::before {
|
||||
.CDB-IconFont-close::before {
|
||||
content: '\E01D';
|
||||
}
|
||||
|
||||
|
||||
.CDB-IconFont-closeLimits::before {
|
||||
.CDB-IconFont-cartoFante::before {
|
||||
content: '\E01E';
|
||||
}
|
||||
|
||||
|
||||
.CDB-IconFont-defaultUser::before {
|
||||
.CDB-IconFont-lock::before {
|
||||
content: '\E01F';
|
||||
}
|
||||
|
||||
|
||||
.CDB-IconFont-cockroach::before {
|
||||
.CDB-IconFont-cartoDB::before {
|
||||
content: '\E020';
|
||||
}
|
||||
|
||||
|
||||
.CDB-IconFont-floppy::before {
|
||||
.CDB-IconFont-lens::before {
|
||||
content: '\E021';
|
||||
}
|
||||
|
||||
|
||||
.CDB-IconFont-trash::before {
|
||||
.CDB-IconFont-closeLimits::before {
|
||||
content: '\E022';
|
||||
}
|
||||
|
||||
|
||||
.CDB-IconFont-wifi::before {
|
||||
.CDB-IconFont-defaultUser::before {
|
||||
content: '\E023';
|
||||
}
|
||||
|
||||
|
||||
.CDB-IconFont-unlock::before {
|
||||
.CDB-IconFont-cockroach::before {
|
||||
content: '\E024';
|
||||
}
|
||||
|
||||
|
||||
.CDB-IconFont-unlockWithEllipsis::before {
|
||||
.CDB-IconFont-floppy::before {
|
||||
content: '\E025';
|
||||
}
|
||||
|
||||
|
||||
.CDB-IconFont-gift::before {
|
||||
.CDB-IconFont-trash::before {
|
||||
content: '\E026';
|
||||
}
|
||||
|
||||
|
||||
.CDB-IconFont-people::before {
|
||||
.CDB-IconFont-wifi::before {
|
||||
content: '\E027';
|
||||
}
|
||||
|
||||
|
||||
.CDB-IconFont-play::before {
|
||||
.CDB-IconFont-unlock::before {
|
||||
content: '\E028';
|
||||
}
|
||||
|
||||
|
||||
.CDB-IconFont-add::before {
|
||||
.CDB-IconFont-unlockWithEllipsis::before {
|
||||
content: '\E029';
|
||||
}
|
||||
|
||||
|
||||
.CDB-IconFont-map::before {
|
||||
.CDB-IconFont-gift::before {
|
||||
content: '\E02A';
|
||||
}
|
||||
|
||||
|
||||
.CDB-IconFont-anchor::before {
|
||||
.CDB-IconFont-people::before {
|
||||
content: '\E02B';
|
||||
}
|
||||
|
||||
|
||||
.CDB-IconFont-key::before {
|
||||
.CDB-IconFont-play::before {
|
||||
content: '\E02C';
|
||||
}
|
||||
|
||||
|
||||
.CDB-IconFont-calendar::before {
|
||||
.CDB-IconFont-add::before {
|
||||
content: '\E02D';
|
||||
}
|
||||
|
||||
|
||||
.CDB-IconFont-document::before {
|
||||
.CDB-IconFont-map::before {
|
||||
content: '\E02E';
|
||||
}
|
||||
|
||||
|
||||
.CDB-IconFont-eye::before {
|
||||
.CDB-IconFont-anchor::before {
|
||||
content: '\E02F';
|
||||
}
|
||||
|
||||
|
||||
.CDB-IconFont-marker::before {
|
||||
.CDB-IconFont-key::before {
|
||||
content: '\E030';
|
||||
}
|
||||
|
||||
|
||||
.CDB-IconFont-progressBar::before {
|
||||
.CDB-IconFont-calendar::before {
|
||||
content: '\E031';
|
||||
}
|
||||
|
||||
|
||||
.CDB-IconFont-book::before {
|
||||
.CDB-IconFont-document::before {
|
||||
content: '\E032';
|
||||
}
|
||||
|
||||
|
||||
.CDB-IconFont-notes::before {
|
||||
.CDB-IconFont-eye::before {
|
||||
content: '\E033';
|
||||
}
|
||||
|
||||
|
||||
.CDB-IconFont-rectangles::before {
|
||||
.CDB-IconFont-marker::before {
|
||||
content: '\E034';
|
||||
}
|
||||
|
||||
|
||||
.CDB-IconFont-mountain::before {
|
||||
.CDB-IconFont-progressBar::before {
|
||||
content: '\E035';
|
||||
}
|
||||
|
||||
|
||||
.CDB-IconFont-points::before {
|
||||
.CDB-IconFont-book::before {
|
||||
content: '\E036';
|
||||
}
|
||||
|
||||
|
||||
.CDB-IconFont-snake::before {
|
||||
.CDB-IconFont-notes::before {
|
||||
content: '\E037';
|
||||
}
|
||||
|
||||
|
||||
.CDB-IconFont-boss::before {
|
||||
.CDB-IconFont-rectangles::before {
|
||||
content: '\E038';
|
||||
}
|
||||
|
||||
|
||||
.CDB-IconFont-rocket::before {
|
||||
.CDB-IconFont-mountain::before {
|
||||
content: '\E039';
|
||||
}
|
||||
|
||||
|
||||
.CDB-IconFont-barometer::before {
|
||||
.CDB-IconFont-points::before {
|
||||
content: '\E03A';
|
||||
}
|
||||
|
||||
|
||||
.CDB-IconFont-dollar::before {
|
||||
.CDB-IconFont-snake::before {
|
||||
content: '\E03B';
|
||||
}
|
||||
|
||||
|
||||
.CDB-IconFont-email::before {
|
||||
.CDB-IconFont-boss::before {
|
||||
content: '\E03C';
|
||||
}
|
||||
|
||||
|
||||
.CDB-IconFont-label::before {
|
||||
.CDB-IconFont-rocket::before {
|
||||
content: '\E03D';
|
||||
}
|
||||
|
||||
|
||||
.CDB-IconFont-outside::before {
|
||||
.CDB-IconFont-barometer::before {
|
||||
content: '\E03E';
|
||||
}
|
||||
|
||||
|
||||
.CDB-IconFont-jigsaw::before {
|
||||
.CDB-IconFont-dollar::before {
|
||||
content: '\E03F';
|
||||
}
|
||||
|
||||
|
||||
.CDB-IconFont-tools::before {
|
||||
.CDB-IconFont-email::before {
|
||||
content: '\E040';
|
||||
}
|
||||
|
||||
|
||||
.CDB-IconFont-question::before {
|
||||
.CDB-IconFont-label::before {
|
||||
content: '\E041';
|
||||
}
|
||||
|
||||
|
||||
.CDB-IconFont-layerStack::before {
|
||||
.CDB-IconFont-outside::before {
|
||||
content: '\E042';
|
||||
}
|
||||
|
||||
|
||||
.CDB-IconFont-alarm::before {
|
||||
.CDB-IconFont-jigsaw::before {
|
||||
content: '\E043';
|
||||
}
|
||||
|
||||
|
||||
.CDB-IconFont-cloudDownArrow::before {
|
||||
.CDB-IconFont-tools::before {
|
||||
content: '\E044';
|
||||
}
|
||||
|
||||
|
||||
.CDB-IconFont-pencil::before {
|
||||
.CDB-IconFont-question::before {
|
||||
content: '\E045';
|
||||
}
|
||||
|
||||
|
||||
.CDB-IconFont-fountainPen::before {
|
||||
.CDB-IconFont-layerStack::before {
|
||||
content: '\E046';
|
||||
}
|
||||
|
||||
|
||||
.CDB-IconFont-emptyDoc::before {
|
||||
.CDB-IconFont-alarm::before {
|
||||
content: '\E047';
|
||||
}
|
||||
|
||||
|
||||
.CDB-IconFont-mergeArrow::before {
|
||||
.CDB-IconFont-cloudDownArrow::before {
|
||||
content: '\E048';
|
||||
}
|
||||
|
||||
|
||||
.CDB-IconFont-mergeColumns::before {
|
||||
.CDB-IconFont-pencil::before {
|
||||
content: '\E049';
|
||||
}
|
||||
|
||||
|
||||
.CDB-IconFont-mergeSpatial::before {
|
||||
.CDB-IconFont-fountainPen::before {
|
||||
content: '\E04A';
|
||||
}
|
||||
|
||||
|
||||
.CDB-IconFont-globe::before {
|
||||
.CDB-IconFont-emptyDoc::before {
|
||||
content: '\E04B';
|
||||
}
|
||||
|
||||
|
||||
.CDB-IconFont-chevronDown::before {
|
||||
.CDB-IconFont-mergeArrow::before {
|
||||
content: '\E04C';
|
||||
}
|
||||
|
||||
|
||||
.CDB-IconFont-streets::before {
|
||||
.CDB-IconFont-mergeColumns::before {
|
||||
content: '\E04D';
|
||||
}
|
||||
|
||||
|
||||
.CDB-IconFont-keys::before {
|
||||
.CDB-IconFont-mergeSpatial::before {
|
||||
content: '\E04E';
|
||||
}
|
||||
|
||||
|
||||
.CDB-IconFont-facebookSquare::before {
|
||||
.CDB-IconFont-globe::before {
|
||||
content: '\E04F';
|
||||
}
|
||||
|
||||
|
||||
.CDB-IconFont-fullscreen::before {
|
||||
.CDB-IconFont-chevronDown::before {
|
||||
content: '\E050';
|
||||
}
|
||||
|
||||
|
||||
.CDB-IconFont-rArrowLight::before {
|
||||
.CDB-IconFont-streets::before {
|
||||
content: '\E051';
|
||||
}
|
||||
|
||||
|
||||
.CDB-IconFont-share::before {
|
||||
.CDB-IconFont-keys::before {
|
||||
content: '\E052';
|
||||
}
|
||||
|
||||
|
||||
.CDB-IconFont-linkedin::before {
|
||||
.CDB-IconFont-facebookSquare::before {
|
||||
content: '\E053';
|
||||
}
|
||||
|
||||
|
||||
.CDB-IconFont-calendarBlank::before {
|
||||
.CDB-IconFont-fullscreen::before {
|
||||
content: '\E054';
|
||||
}
|
||||
|
||||
|
||||
.CDB-IconFont-creativeCommons::before {
|
||||
.CDB-IconFont-rArrowLight::before {
|
||||
content: '\E055';
|
||||
}
|
||||
|
||||
|
||||
.CDB-IconFont-bubble::before {
|
||||
.CDB-IconFont-share::before {
|
||||
content: '\E056';
|
||||
}
|
||||
|
||||
|
||||
.CDB-IconFont-bars::before {
|
||||
.CDB-IconFont-linkedin::before {
|
||||
content: '\E057';
|
||||
}
|
||||
|
||||
|
||||
.CDB-IconFont-arrowMenuLight::before {
|
||||
.CDB-IconFont-calendarBlank::before {
|
||||
content: '\E058';
|
||||
}
|
||||
|
||||
|
||||
.CDB-IconFont-tieFighter::before {
|
||||
.CDB-IconFont-creativeCommons::before {
|
||||
content: '\E059';
|
||||
}
|
||||
|
||||
|
||||
.CDB-IconFont-ray::before {
|
||||
.CDB-IconFont-bubble::before {
|
||||
content: '\E05A';
|
||||
}
|
||||
|
||||
|
||||
.CDB-IconFont-markup::before {
|
||||
.CDB-IconFont-bars::before {
|
||||
content: '\E05B';
|
||||
}
|
||||
|
||||
|
||||
.CDB-IconFont-table::before {
|
||||
.CDB-IconFont-arrowMenuLight::before {
|
||||
content: '\E05C';
|
||||
}
|
||||
|
||||
|
||||
.CDB-IconFont-airlock::before {
|
||||
.CDB-IconFont-tieFighter::before {
|
||||
content: '\E05D';
|
||||
}
|
||||
|
||||
|
||||
.CDB-IconFont-pin::before {
|
||||
.CDB-IconFont-ray::before {
|
||||
content: '\E05E';
|
||||
}
|
||||
|
||||
|
||||
.CDB-IconFont-attache::before {
|
||||
.CDB-IconFont-markup::before {
|
||||
content: '\E05F';
|
||||
}
|
||||
|
||||
|
||||
.CDB-IconFont-download::before {
|
||||
.CDB-IconFont-table::before {
|
||||
content: '\E060';
|
||||
}
|
||||
|
||||
|
||||
.CDB-IconFont-group::before {
|
||||
.CDB-IconFont-airlock::before {
|
||||
content: '\E061';
|
||||
}
|
||||
|
||||
|
||||
.CDB-IconFont-dashboard::before {
|
||||
.CDB-IconFont-pin::before {
|
||||
content: '\E062';
|
||||
}
|
||||
|
||||
|
||||
.CDB-IconFont-spinner::before {
|
||||
.CDB-IconFont-attache::before {
|
||||
content: '\E063';
|
||||
}
|
||||
|
||||
|
||||
.CDB-IconFont-mapsearch::before {
|
||||
.CDB-IconFont-download::before {
|
||||
content: '\E064';
|
||||
}
|
||||
|
||||
|
||||
.CDB-IconFont-rArrow::before {
|
||||
.CDB-IconFont-group::before {
|
||||
content: '\E065';
|
||||
}
|
||||
|
||||
|
||||
.CDB-IconFont-dashboard::before {
|
||||
content: '\E066';
|
||||
}
|
||||
|
||||
|
||||
.CDB-IconFont-spinner::before {
|
||||
content: '\E067';
|
||||
}
|
||||
|
||||
|
||||
.CDB-IconFont-mapsearch::before {
|
||||
content: '\E068';
|
||||
}
|
||||
|
||||
|
||||
.CDB-IconFont-rArrow::before {
|
||||
content: '\E069';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user