12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592 |
- $fa-font-path: '~font-awesome/fonts';
- @import '~font-awesome/scss/font-awesome';
- @import '~purecss/build/pure.css';
- @import '~purecss/build/grids-responsive.css';
- @import '~pure-extras/css/pure-extras.css';
- @import '~awesomplete/awesomplete.css';
- $white: #fff;
- $black: #000;
- $almost-white: #f5f5f5;
- $dark-grey: #252525;
- $light-grey: #797979;
- $main-green: #1b926c;
- $light-green: #b0ddce;
- $dark-green: #2a4c41;
- $red: #ac2925;
- $orange: #f89406;
- $blue: #0b5ea6;
- $background-color: #d0d0d0;
- $background-linklist-info: #ddd;
- $light-shadow: rgba(255, 255, 255, .078);
- $dark-shadow: rgba(0, 0, 0, .298);
- $warning-text: #97600d;
- $form-input-border: #d8d8d8;
- $form-input-background: #eee;
- // General
- body {
- background: $background-color;
- }
- .strong {
- font-weight: bold;
- }
- .clear {
- clear: both;
- }
- .center {
- margin: auto;
- text-align: center;
- }
- .label {
- display: inline-block;
- border-radius: .25rem;
- padding: .25em .4em;
- vertical-align: baseline;
- text-align: center;
- line-height: 1;
- white-space: nowrap;
- font-size: 75%;
- font-weight: 700;
- }
- pre {
- max-width: 100%;
- }
- @font-face {
- font-family: 'Roboto';
- font-weight: 400;
- font-style: normal;
- src: local('Roboto'),
- local('Roboto-Regular'),
- url('../fonts/Roboto-Regular.woff2') format('woff2'),
- url('../fonts/Roboto-Regular.woff') format('woff');
- }
- @font-face {
- font-family: 'Roboto';
- font-weight: 700;
- font-style: normal;
- src: local('Roboto'),
- local('Roboto-Bold'),
- url('../fonts/Roboto-Bold.woff2') format('woff2'),
- url('../fonts/Roboto-Bold.woff') format('woff');
- }
- body,
- .pure-g [class*='pure-u'] {
- font-family: Roboto, Arial, sans-serif;
- }
- // Extends Pure grids responsive to hide items.
- // Use xx-0 to hide an item on xx screen.
- // Display it at any level with xx-visible.
- .pure-u-0 {
- display: none !important;
- }
- @media screen and (min-width: 35.5em) {
- .pure-u-sm-0 {
- display: none !important;
- }
- .pure-u-sm-visible {
- display: inline-block !important;
- }
- }
- @media screen and (min-width: 48em) {
- .pure-u-md-0 {
- display: none !important;
- }
- .pure-u-md-visible {
- display: inline-block !important;
- }
- }
- @media screen and (min-width: 64em) {
- .pure-u-lg-0 {
- display: none !important;
- }
- .pure-u-lg-visible {
- display: inline-block !important;
- }
- }
- @media screen and (min-width: 80em) {
- .pure-u-xl-0 {
- display: none !important;
- }
- .pure-u-xl-visible {
- display: inline-block !important;
- }
- }
- // Make pure-extras alert closable.
- .pure-alert-closable {
- .fa-times {
- float: right;
- }
- }
- .pure-alert-close {
- cursor: pointer;
- }
- .pure-alert-success {
- background-color: $main-green;
- }
- .pure-alert-warning {
- a {
- color: $warning-text;
- font-weight: bold;
- }
- }
- .page-single-alert {
- margin-top: 100px;
- }
- .anchor {
- &:target {
- padding-top: 40px;
- }
- }
- // MENU
- .shaarli-menu {
- position: fixed;
- top: 0;
- transition: max-height .5s;
- z-index: 999;
- background: $main-green;
- width: 100%;
- // Hack to transition with auto height: http://stackoverflow.com/a/8331169/1484919
- max-height: 45px;
- overflow: hidden;
- -webkit-font-smoothing: antialiased;
- &.open {
- transition: max-height .75s;
- max-height: 500px;
- }
- }
- .pure-menu-item {
- // Chrome bugfix: with 100% height, it only displays the first element.
- height: 45px;
- &:hover {
- &::after {
- display: block;
- margin: -4px auto 0;
- background: $white;
- width: 100%;
- height: 4px;
- content: '';
- }
- }
- }
- .head-logo {
- float: left;
- margin: 0 5px 0 0;
- }
- %menu-link {
- padding: .8em 1em;
- color: $almost-white;
- }
- %menu-link-hover {
- background: transparent;
- color: $white;
- }
- .pure-menu-link {
- @extend %menu-link;
- &:visited {
- @extend %menu-link;
- }
- &:hover,
- &:focus {
- @extend %menu-link-hover;
- }
- }
- .pure-menu-selected {
- .pure-menu-link {
- @extend %menu-link;
- &:visited {
- @extend %menu-link;
- }
- &:hover,
- &:focus {
- @extend %menu-link-hover;
- }
- }
- }
- .menu-toggle {
- display: none;
- position: absolute;
- top: 5px;
- right: 0;
- width: 34px;
- height: 45px;
- .bar {
- display: block;
- position: absolute;
- top: 18px;
- right: 7px;
- border-radius: 100px;
- background-color: $light-green;
- width: 20px;
- height: 2px;
- transition-duration: .5s;
- &:first-child {
- transform: translateY(-6px);
- }
- }
- &.x {
- .bar {
- transform: rotate(45deg);
- &:first-child {
- transform: rotate(-45deg);
- }
- }
- }
- }
- @media screen and (max-width: 64em) {
- .menu-toggle {
- display: block;
- }
- }
- .header-buttons {
- text-align: right;
- }
- .linkcount {
- color: $dark-grey;
- font-size: .8em;
- }
- @media screen and (min-width: 64em) {
- .linkcount {
- position: absolute;
- right: 5px;
- }
- }
- .searchform-block {
- width: 100%;
- text-align: center;
- input {
- &[type='text'] {
- border: medium none currentColor;
- border-radius: 2px;
- box-shadow: 0 1px 0 $light-shadow, 0 1px 1px $dark-shadow inset;
- background: $almost-white;
- padding: 0 5px;
- width: 260px;
- height: 30px;
- color: $dark-grey;
- &::-webkit-input-placeholder {
- color: $light-grey;
- }
- }
- }
- button {
- border: 0;
- border-radius: 2px;
- background-color: $main-green;
- padding: 4px 8px 6px;
- color: $almost-white;
- }
- }
- @media screen and (max-width: 64em) {
- .searchform {
- margin: 0 auto;
- max-width: 260px;
- }
- }
- .search-tagcloud {
- button {
- width: 90%;
- }
- }
- @media screen and (max-width: 64em) {
- .search-linklist {
- button {
- width: 100%;
- }
- .awesomplete {
- margin: 5px 0;
- }
- }
- }
- .header-search,
- .search-linklist,
- .search-tagcloud {
- button {
- &:hover {
- color: $background-color;
- }
- }
- }
- .header-search,
- .search-linklist {
- padding: 6px 0;
- }
- @media screen and (max-width: 64em) {
- .header-search ,
- .header-search * {
- visibility: hidden;
- }
- }
- %subheader-form-input {
- border: medium none currentColor;
- border-radius: 2px;
- box-shadow: 0 1px 0 $light-shadow, 0 1px 4px $dark-shadow inset;
- background: $almost-white;
- padding: 5px 5px 3px 15px;
- width: 20%;
- height: 20px;
- color: $dark-grey;
- }
- .subheader-form {
- display: block;
- position: fixed;
- visibility: hidden;
- z-index: 999;
- background: $main-green;
- padding: 5px 0;
- width: 100%;
- height: 30px;
- text-align: center;
- input {
- &[type='text'],
- &[type='password'] {
- @extend %subheader-form-input;
- &::-webkit-input-placeholder {
- color: $dark-grey;
- }
- }
- }
- &[type='submit'] {
- display: inline-block;
- margin: 0 0 5px;
- border: 1px solid $almost-white;
- border-radius: 2px;
- background: $main-green;
- padding: 4px 0;
- width: 100px;
- height: 28px;
- color: $almost-white;
- &:hover {
- background: $almost-white;
- color: $main-green;
- }
- }
- .remember-me {
- @extend %subheader-form-input;
- display: inline-block;
- cursor: pointer;
- padding: 5px 20px 3px;
- width: auto;
- label,
- input {
- cursor: pointer;
- }
- }
- a {
- &.button {
- border: 2px solid $almost-white;
- border-radius: 5px;
- padding: 3px 10px;
- text-decoration: none;
- color: $almost-white;
- font-weight: bold;
- }
- }
- }
- .header-login-form {
- input {
- &[type='text'],
- &[type='password'] {
- width: 200px;
- // because chrome
- &::-webkit-input-placeholder {
- color: $light-grey;
- }
- }
- }
- }
- @media screen and (min-width: 64em) {
- .subheader-form {
- &.open {
- visibility: visible;
- * {
- visibility: visible;
- }
- }
- }
- }
- .new-version-message {
- text-align: center;
- a {
- color: $warning-text;
- font-weight: bold;
- }
- }
- // CONTENT - GENERAL
- .container {
- position: relative;
- z-index: 2;
- margin-top: 45px;
- }
- // Plugins additional forms
- .toolbar-plugin {
- margin: 5px 0;
- text-align: center;
- input {
- &[type='text'] {
- border: medium none currentColor;
- border-radius: 2px;
- box-shadow: 0 1px 0 $light-shadow, 0 1px 1px $dark-shadow inset;
- background: $almost-white;
- padding: 0 5px;
- width: 300px;
- height: 30px;
- color: $dark-grey;
- &::-webkit-input-placeholder {
- color: $light-grey;
- }
- }
- &[type='submit'] {
- border: medium none currentColor;
- border-radius: 2px;
- background: $almost-white;
- padding: 0 10px;
- height: 30px;
- color: $dark-grey;
- &:hover {
- background: $white;
- }
- }
- }
- }
- @media screen and (max-width: 64em) {
- .toolbar-plugin {
- input {
- &[type='text'] {
- width: 70%;
- }
- }
- }
- }
- // CONTENT - LINKLIST PAGING
- // 64em -> lg
- .linklist-filters {
- margin: 5px 0;
- color: $dark-grey;
- font-size: .9em;
- a {
- padding: 5px 8px;
- text-decoration: none;
- }
- .filter-off {
- background: $almost-white;
- color: $dark-grey;
- }
- .filter-on {
- background: $main-green;
- color: $light-green;
- }
- .filter-block {
- background: $red;
- color: $almost-white;
- }
- }
- .linklist-pages {
- margin: 5px 0;
- text-align: center;
- color: $dark-grey;
- a {
- text-decoration: none;
- color: $dark-grey;
- &:hover {
- color: $white;
- }
- }
- }
- %linksperpage-button {
- display: inline-block;
- width: 20px;
- text-align: center;
- }
- .linksperpage {
- margin: 5px 0;
- text-align: right;
- color: $dark-grey;
- font-size: .9em;
- form {
- display: inline;
- }
- a {
- @extend %linksperpage-button;
- background: $almost-white;
- padding: 5px;
- text-decoration: none;
- color: $dark-grey;
- }
- input {
- &[type='text'] {
- @extend %linksperpage-button;
- margin: 0;
- border: medium none currentColor;
- background: $almost-white;
- padding: 4px 5px 3px 8px;
- height: 20px;
- color: $dark-grey;
- font-size: .8em;
- }
- }
- }
- // CONTENT - LINKLIST ITEMS
- %private-border {
- display: block;
- position: absolute;
- top: 0;
- left: 3px;
- z-index: 1;
- background: $orange;
- width: 2px;
- height: 96%;
- content: '';
- }
- .linklist-item {
- position: relative;
- margin: 0 0 10px;
- box-shadow: 1px 1px 3px $light-grey;
- background: $almost-white;
- &.private {
- &::before {
- display: block;
- position: absolute;
- top: 0;
- left: 0;
- z-index: 1;
- background: $orange;
- width: 2px;
- height: 100%;
- content: '';
- }
- }
- }
- .linklist-item-buttons {
- position: relative;
- z-index: 99;
- background: transparent;
- width: 23px;
- }
- .linklist-item-buttons-right {
- float: right;
- margin-right: -25px;
- }
- .linklist-item-buttons * {
- display: block;
- float: left;
- margin: auto;
- width: 100%;
- text-align: center;
- }
- .linklist-item-title {
- position: relative;
- margin: 0;
- background: $almost-white;
- word-wrap: break-word;
- h2 {
- margin: 0;
- padding: 3px 10px 0;
- line-height: 30px;
- word-wrap: break-word;
- a {
- vertical-align: middle;
- text-decoration: none;
- color: $dark-grey;
- font-size: .7em;
- &:visited {
- .linklist-link {
- color: $dark-green;
- }
- }
- &:hover {
- color: $dark-grey;
- }
- }
- }
- .linklist-link {
- color: $main-green;
- font-size: 1.1em;
- &:hover {
- color: $dark-grey;
- }
- }
- .label-private {
- border: solid 1px $orange;
- color: $orange;
- font-family: Arial, sans-serif;
- font-size: .65em;
- }
- }
- .fold-button {
- display: none;
- color: $dark-grey;
- }
- .linklist-item-editbuttons {
- float: right;
- padding: 8px 5px;
- * {
- display: block;
- float: left;
- margin: 0 1px;
- }
- a {
- font-size: 1em;
- }
- .delete-checkbox {
- display: none;
- }
- }
- .edit-link {
- color: $blue;
- font-size: 1.2em;
- }
- .delete-link {
- color: $red !important;
- font-size: 1.3em;
- }
- .linklist-item-description {
- position: relative;
- padding: 0 10px;
- line-height: 1.3em;
- color: $dark-grey;
- word-wrap: break-word;
- a {
- text-decoration: none;
- color: $main-green;
- &:hover {
- color: $dark-grey;
- }
- &:visited {
- color: $dark-green;
- }
- }
- }
- .linklist-item-thumbnail {
- position: relative;
- float: right;
- z-index: 50;
- margin: 0;
- padding: 0 0 0 5px;
- height: 90px;
- }
- .linklist-item-infos {
- background: $background-linklist-info;
- padding: 4px 8px;
- color: $dark-grey;
- a {
- text-decoration: none;
- color: $dark-grey;
- &:hover {
- color: $black;
- }
- }
- .linklist-item-tags {
- font-size: .8em;
- }
- .label-tag {
- font-size: 1em;
- }
- .mobile-buttons {
- text-align: right;
- }
- .linklist-plugin-icon {
- display: inline-block;
- margin: 0 2px;
- width: 16px;
- height: 16px;
- }
- }
- .linklist-item-infos-dateblock {
- font-size: .9em;
- }
- .linklist-plugin-icon {
- width: 13px;
- height: 13px;
- }
- .linklist-item-infos-url {
- height: 23px;
- overflow: hidden;
- text-align: right;
- text-overflow: ellipsis;
- line-height: 23px;
- white-space: nowrap;
- font-size: .8em;
- }
- .linklist-item-infos-controls-group {
- display: inline-block;
- border-right: 1px solid $light-grey;
- padding-right: 6px;
- }
- .ctrl-edit {
- margin: 0 7px;
- }
- // 64em -> lg
- @media screen and (max-width: 64em) {
- .linklist-item-infos-url {
- text-align: left;
- }
- }
- // Footer
- .footer-container {
- margin: 20px 0;
- padding: 5px;
- text-align: center;
- color: $dark-grey;
- &::before {
- display: block;
- margin: 10px auto;
- background: linear-gradient(to right, $background-color, $dark-grey, $background-color);
- width: 80%;
- height: 1px;
- content: '';
- }
- a {
- color: $dark-grey;
- }
- }
- // PAGE FORM
- %page-form-input {
- margin: 10px 0;
- border: solid 1px $form-input-border;
- border-radius: 2px;
- background: $form-input-background;
- padding: 5px 5px 3px 15px;
- width: 90%;
- height: 35px;
- color: $dark-grey;
- box-sizing: border-box;
- }
- %page-form-button {
- display: inline-block;
- margin: 15px 5px;
- border: 0;
- box-shadow: 1px 1px 1px $form-input-border, -1px -1px 6px $form-input-border, -1px 1px 2px $form-input-border, 1px -1px 2px $form-input-border;
- background: $main-green;
- min-width: 150px;
- height: 35px;
- vertical-align: center;
- text-decoration: none;
- line-height: 35px;
- color: $almost-white;
- font-size: 1.2em;
- font-weight: normal;
- }
- .page-form {
- margin: 20px 0 0;
- box-shadow: 1px 1px 2px $light-grey;
- background: $almost-white;
- overflow: hidden;
- color: $dark-grey;
- .window-title {
- margin: 0 0 10px;
- background: $almost-white;
- padding: 10px 0;
- width: 100%;
- text-align: center;
- color: $main-green;
- }
- .window-subtitle {
- text-align: center;
- }
- a {
- text-decoration: none;
- color: $main-green;
- font-weight: bold;
- &.button {
- @extend %page-form-button;
- }
- }
- p {
- margin: 0;
- padding: 5px 10px;
- }
- input {
- &[type='text'] {
- @extend %page-form-input;
- &::-webkit-input-placeholder {
- color: $light-grey;
- }
- }
- &[type='password'] {
- @extend %page-form-input;
- &::-webkit-input-placeholder {
- color: $light-grey;
- }
- }
- &[type='submit'] {
- @extend %page-form-button;
- }
- }
- textarea {
- @extend %page-form-input;
- padding: 15px 5px 3px 15px;
- min-height: 240px;
- resize: vertical;
- overflow-y: auto;
- word-wrap: break-word;
- }
- select {
- color: $dark-grey;
- }
- .button {
- &.button-red {
- background: $red;
- }
- }
- .submit-buttons {
- margin-bottom: 10px;
- }
- section {
- margin: 10px 0 25px;
- }
- table,
- th,
- td {
- border-width: 1px 0;
- border-style: solid;
- border-color: $light-grey;
- }
- th,
- td {
- padding: 5px;
- }
- table {
- margin: auto;
- width: 90%;
- .order {
- text-decoration: none;
- color: $dark-grey;
- }
- }
- .awesomplete {
- width: 90%;
- input {
- width: 100%;
- }
- }
- div {
- .awesomplete {
- > ul {
- color: $black;
- }
- }
- }
- }
- @media screen and (min-width: 64em) {
- .page-form {
- .submit-buttons {
- position: relative;
- .button {
- &.button-red {
- position: absolute;
- right: 5%;
- }
- }
- }
- }
- }
- @media screen and (max-width: 64em) {
- .page-form {
- .submit-buttons {
- .button {
- display: block;
- margin: auto;
- }
- }
- }
- }
- // PAGE FORM - LIGHT
- .page-form-light {
- div,
- p {
- text-align: center;
- }
- }
- // PAGE FORM - COMPLETE
- %page-form-valign {
- position: absolute;
- top: 50%;
- transform: translateY(-50%);
- }
- .page-form-complete {
- div,
- p {
- color: $dark-grey;
- }
- .form-label,
- .form-input {
- position: relative;
- height: 60px;
- }
- .form-label {
- label {
- @extend %page-form-valign;
- right: 0;
- padding: 0 20px;
- text-align: right;
- }
- }
- .label-name {
- font-weight: bold;
- }
- .label-desc {
- font-size: .8em;
- }
- .form-input {
- input {
- @extend %page-form-valign;
- &[type='text'],
- &[type='password'] {
- margin: 0;
- }
- }
- select {
- &.align {
- @extend %page-form-valign;
- }
- }
- }
- textarea {
- margin: 0;
- }
- .timezone {
- @extend %page-form-valign;
- }
- }
- // Awesomeplete fix
- div {
- &.awesomplete {
- width: inherit;
- > input {
- display: inherit;
- }
- > ul {
- z-index: 9999;
- }
- }
- }
- form {
- &[name='linkform'] {
- &.page-form {
- overflow: visible;
- }
- }
- }
- @media screen and (max-width: 64em) {
- %page-form-valign-mobile {
- position: inherit;
- top: inherit;
- transform: translateY(0);
- }
- .page-form-complete {
- .form-label {
- height: inherit;
- label {
- @extend %page-form-valign-mobile;
- display: block;
- margin: 10px 0 0;
- text-align: left;
- }
- }
- .form-input {
- text-align: center;
- input {
- @extend %page-form-valign-mobile;
- &[type='checkbox'] {
- position: absolute;
- top: 50%;
- right: 50%;
- transform: translateY(-50%);
- }
- }
- }
- .timezone {
- @extend %page-form-valign-mobile;
- }
- .radio-buttons {
- padding: 5px 15px;
- text-align: left;
- }
- }
- .timezone-continent {
- &::after {
- white-space: pre;
- content: '\a\a';
- }
- }
- }
- // Page visitor (page form extended)
- .page-visitor {
- color: $dark-grey;
- }
- .page404-container {
- color: $dark-grey;
- }
- // EDIT LINK
- .edit-link-container {
- .created-date {
- margin-bottom: 10px;
- color: $light-grey;
- }
- }
- // LOGIN
- .login-form-container {
- .remember-me {
- margin: 5px 0;
- }
- }
- // Search results
- .search-result {
- a {
- text-decoration: none;
- color: $white;
- }
- .label-tag {
- border-color: $white;
- .remove {
- margin: 0 0 0 5px;
- border-left: $white 1px solid;
- padding: 0 0 0 5px;
- }
- }
- .label-private {
- border: 1px solid $white;
- }
- }
- // TOOLS
- .tools-item {
- margin: 10px 0;
- .pure-button {
- &:hover {
- background-color: $main-green;
- background-image: none;
- color: $almost-white;
- }
- }
- }
- // PLUGIN ADMIN
- .pluginform-container {
- .mobile-row {
- font-size: .9em;
- }
- .more {
- margin-top: 10px;
- }
- }
- @media screen and (max-width: 64em) {
- .pluginform-container {
- .main-row {
- border-top-style: none;
- border-bottom-style: none;
- td {
- border-top-style: none;
- border-bottom-style: none;
- }
- }
- }
- }
- // IMPORT
- .import-field-container {
- margin: 15px 0;
- }
- // TAG CLOUD
- .cloudtag-container {
- padding: 10px;
- text-align: center;
- text-decoration: none;
- color: $dark-grey;
- a {
- text-decoration: none;
- color: $dark-grey;
- }
- .count {
- color: $light-grey;
- }
- }
- // TAG LIST
- .taglist-container {
- padding: 0 10px;
- a {
- text-decoration: none;
- color: $dark-grey;
- }
- .count {
- display: inline-block;
- width: 35px;
- text-align: right;
- color: $light-grey;
- }
- .rename-tag-form {
- display: none;
- }
- .delete-tag {
- display: none;
- color: $red;
- }
- .rename-tag {
- color: $blue;
- }
- .validate-rename-tag {
- color: $main-green;
- }
- }
- // Picture wall CSS
- .picwall-container {
- clear: both;
- margin: 0 10px 10px;
- background-color: $almost-white;
- color: $dark-grey;
- }
- .picwall-pictureframe {
- display: table-cell;
- position: relative;
- float: left;
- z-index: 5;
- margin: 2px;
- background-color: $almost-white;
- width: 90px;
- height: 90px;
- overflow: hidden;
- vertical-align: middle;
- text-align: center;
- // Adapt the width of the image
- img {
- max-width: 100%;
- height: auto;
- color: transparent;
- }
- a {
- text-decoration: none;
- }
- span {
- &.info {
- display: none;
- font-family: Arial, sans-serif;
- }
- }
- // CSS to show title when hovering an image - no javascript required.
- &:hover {
- span {
- &.info {
- display: block;
- position: absolute;
- top: 0;
- left: 0;
- background-color: $dark-shadow;
- width: 90px;
- height: 90px;
- text-align: left;
- color: $almost-white;
- font-size: 9pt;
- font-weight: bold;
- }
- }
- }
- }
- .b-lazy {
- transition: opacity 500ms ease-in-out;
- opacity: 0;
- -webkit-transition: opacity 500ms ease-in-out;
- -moz-transition: opacity 500ms ease-in-out;
- -o-transition: opacity 500ms ease-in-out;
- &.b-loaded {
- opacity: 1;
- }
- }
- // DAILY
- .daily-desc {
- color: $light-grey;
- font-size: .8em;
- a {
- text-decoration: none;
- color: $dark-grey;
- &:hover {
- color: $light-grey;
- }
- }
- }
- .daily-about {
- h3 {
- &::before,
- &::after {
- display: block;
- margin: 10px auto;
- background: linear-gradient(to right, $background-color, $dark-grey, $background-color);
- width: 90%;
- height: 1px;
- content: '';
- }
- }
- }
- .daily-entry {
- padding: 0 10px;
- .daily-entry-title {
- margin: 10px 0 0;
- a {
- text-decoration: none;
- color: $black;
- }
- &::after {
- display: block;
- margin: 5px auto;
- background: linear-gradient(to right, $white, $light-grey, $white);
- width: 70%;
- height: 1px;
- content: '';
- }
- }
- .daily-entry-description {
- padding: 5px 5px 0;
- text-align: justify;
- font-size: .9em;
- word-wrap: break-word;
- }
- .daily-entry-tags {
- padding: 0 5px 5px;
- font-size: .8em;
- }
- }
- .daily-entry-thumbnail {
- float: left;
- margin: 15px 5px 5px 15px;
- }
- .daily-entry-description {
- a {
- text-decoration: none;
- color: $main-green;
- &:hover {
- text-shadow: 1px 1px $background-linklist-info;
- }
- &:visited {
- color: $dark-green;
- }
- }
- }
- // Fix empty bookmarklet name in Firefox
- .pure-button {
- -moz-user-select: auto;
- }
- .tag-sort {
- margin-top: 30px;
- text-align: center;
- a {
- display: inline-block;
- margin: 0 15px;
- text-decoration: none;
- color: $white;
- font-weight: bold;
- }
- }
- // Markdown
- .markdown {
- p {
- margin: 0 !important;
- }
- p + p {
- margin: .5em 0 0 !important;
- }
- * {
- &:first-child {
- margin-top: 0 !important;
- }
- &:last-child {
- margin-bottom: 5px !important;
- }
- }
- }
- // Pure Button
- .pure-button-success,
- .pure-button-error,
- .pure-button-warning,
- .pure-button-primary,
- .pure-button-shaarli,
- .pure-button-secondary {
- border-radius: 4px;
- text-shadow: 0 1px 1px $dark-shadow;
- color: $white !important;
- }
- .pure-button-shaarli {
- background-color: $main-green;
- }
- .progressbar {
- border-radius: 6px;
- background-color: $main-green;
- padding: 1px;
- > div {
- border-radius: 10px;
- background: repeating-linear-gradient(
- -45deg,
- $almost-white,
- $almost-white 6px,
- $background-color 6px,
- $background-color 12px
- );
- width: 0%;
- height: 10px;
- }
- }
- .thumbnails-page-container {
- .progress-counter {
- padding: 10px 0 20px;
- }
- .thumbnail-placeholder {
- margin: 10px auto;
- background-color: $light-grey;
- }
- .thumbnail-link-title {
- padding-bottom: 20px;
- overflow: hidden;
- text-overflow: ellipsis;
- white-space: nowrap;
- }
- }
|