Newton_Editor/user_config/usr/share/newton/stylesheet.css

250 lines
5.9 KiB
CSS

/* ---- make most desired things base transparent ---- */
popover,
popover > box
window > box,
window > box > box,
window > box > box > paned,
window > box > box > paned > notebook,
window > box > box > paned > notebook > stack,
window > box > box > paned > notebook > stack > scrolledwindow > textview > * {
background: rgba(0, 0, 0, 0.0);
color: rgba(255, 255, 255, 1);
}
/* ---- top controls ---- */
window > box > box > button,
window > box > box > buttonbox > button {
background: rgba(39, 43, 52, 0.64);
margin-left: 12px;
margin-right: 12px;
}
/* status bar */
window > box > statusbar {
background: rgba(39, 43, 52, 0.64);
padding-left: 96px;
padding-right: 96px;
}
/* ---- notebook headers ---- */
notebook > header {
background: rgba(39, 43, 52, 0.72);
}
notebook > header > tabs > tab {
color: rgba(255, 255, 255, 1);
}
notebook > header > tabs > tab:active {
background: rgba(0, 0, 0, 0.0);
}
/* ---- notebook tab buttons ---- */
tab > box > button {
background: rgba(116, 0, 0, 0.64);
}
tab > box > button:hover {
background: rgba(256, 0, 0, 0.64);
}
/* ---- source code notebooks ---- */
notebook > stack > scrolledwindow > textview {
background: rgba(39, 43, 52, 0.64);
color: rgba(255, 255, 255, 1);
}
/* any popover */
popover {
background: rgba(39, 43, 52, 0.86);
color: rgba(255, 255, 255, 1);
}
/* ---- make text selection slightly transparent ---- */
* selection {
background-color: rgba(0, 115, 115, 0.34);
/* Bergundy */
/* background-color: rgba(116, 0, 0, 0.64); */
color: rgba(255, 255, 255, 0.5);
}
/* ---- miniview properties ---- */
.source-view,
.mini-view {
font-family: Monospace;
}
/* the mini view container of text */
.mini-view > text {
background: rgba(39, 43, 52, 0.64);
}
/* draggable overlay of the miniview */
.mini-view > * {
background: rgba(64, 64, 64, 0.32);
color: rgba(255, 255, 255, 1);
font-size: 1px;
}
/* other properties */
.buffer_changed {
color: rgba(0, 232, 255, 0.64);
}
.searching,
.search_success,
.search_fail {
border-style: solid;
}
.searching {
border-color: rgba(0, 225, 225, 0.64);
}
.search_success {
background: rgba(136, 204, 39, 0.12);
border-color: rgba(136, 204, 39, 1);
}
.search_fail {
background: rgba(170, 18, 18, 0.12);
border-color: rgba(200, 18, 18, 1);
}
.error_txt { color: rgb(170, 18, 18); }
.warning_txt { color: rgb(255, 168, 0); }
.success_txt { color: rgb(136, 204, 39); }
/*
Need these because updating buffer with get_tag_table and tags updates minimap to the same size due to its mapping structure...
I've tried initial looks at:
https://github.com/johnfactotum/gedit-restore-minimap
which is re-adding minimap to gedit and they just used the below code snippit which still didn't work for me.
desc = Pango.FontDescription(default_font)
desc.set_size(Pango.SCALE) # set size to 1pt
desc.set_family('BuilderBlocks,' + desc.get_family())
self.source_map.set_property('font-desc', desc)
So now we do this monstrocity until I can figure out what is needed to make something better work.
*/
.px1 { font-size: 1px; }
.px2 { font-size: 2px; }
.px3 { font-size: 3px; }
.px4 { font-size: 4px; }
.px5 { font-size: 5px; }
.px6 { font-size: 6px; }
.px7 { font-size: 7px; }
.px8 { font-size: 8px; }
.px9 { font-size: 9px; }
.px10 { font-size: 10px; }
.px11 { font-size: 11px; }
.px12 { font-size: 12px; }
.px13 { font-size: 13px; }
.px14 { font-size: 14px; }
.px15 { font-size: 15px; }
.px16 { font-size: 16px; }
.px17 { font-size: 17px; }
.px18 { font-size: 18px; }
.px19 { font-size: 19px; }
.px20 { font-size: 20px; }
.px21 { font-size: 21px; }
.px22 { font-size: 22px; }
.px23 { font-size: 23px; }
.px24 { font-size: 24px; }
.px25 { font-size: 25px; }
.px26 { font-size: 26px; }
.px27 { font-size: 27px; }
.px28 { font-size: 28px; }
.px29 { font-size: 29px; }
.px30 { font-size: 30px; }
.px31 { font-size: 31px; }
.px32 { font-size: 32px; }
.px33 { font-size: 33px; }
.px34 { font-size: 34px; }
.px35 { font-size: 35px; }
.px36 { font-size: 36px; }
.px37 { font-size: 37px; }
.px38 { font-size: 38px; }
.px39 { font-size: 39px; }
.px40 { font-size: 40px; }
.px41 { font-size: 41px; }
.px42 { font-size: 42px; }
.px43 { font-size: 43px; }
.px44 { font-size: 44px; }
.px45 { font-size: 45px; }
.px46 { font-size: 46px; }
.px47 { font-size: 47px; }
.px48 { font-size: 48px; }
.px49 { font-size: 49px; }
.px50 { font-size: 50px; }
.px51 { font-size: 51px; }
.px52 { font-size: 52px; }
.px53 { font-size: 53px; }
.px54 { font-size: 54px; }
.px55 { font-size: 55px; }
.px56 { font-size: 56px; }
.px57 { font-size: 57px; }
.px58 { font-size: 58px; }
.px59 { font-size: 59px; }
.px60 { font-size: 60px; }
.px61 { font-size: 61px; }
.px62 { font-size: 62px; }
.px63 { font-size: 63px; }
.px64 { font-size: 64px; }
.px65 { font-size: 65px; }
.px66 { font-size: 66px; }
.px67 { font-size: 67px; }
.px68 { font-size: 68px; }
.px69 { font-size: 69px; }
.px70 { font-size: 70px; }
.px71 { font-size: 71px; }
.px72 { font-size: 72px; }
.px73 { font-size: 73px; }
.px74 { font-size: 74px; }
.px75 { font-size: 75px; }
.px76 { font-size: 76px; }
.px77 { font-size: 77px; }
.px78 { font-size: 78px; }
.px79 { font-size: 79px; }
.px80 { font-size: 80px; }
.px81 { font-size: 81px; }
.px82 { font-size: 82px; }
.px83 { font-size: 83px; }
.px84 { font-size: 84px; }
.px85 { font-size: 85px; }
.px86 { font-size: 86px; }
.px87 { font-size: 87px; }
.px88 { font-size: 88px; }
.px89 { font-size: 89px; }
.px90 { font-size: 90px; }
.px91 { font-size: 91px; }
.px92 { font-size: 92px; }
.px93 { font-size: 93px; }
.px94 { font-size: 94px; }
.px95 { font-size: 95px; }
.px96 { font-size: 96px; }
.px97 { font-size: 97px; }
.px98 { font-size: 98px; }
.px99 { font-size: 99px; }
.mini-view > text {
background: rgba(39, 43, 52, 0.64);
}