Tweak appearance of database headers [#36]
This commit is contained in:
parent
978da1ce04
commit
a0de2914a3
|
@ -7290,10 +7290,10 @@ define('sequence/themes/Basic',[
|
|||
},
|
||||
database: {
|
||||
padding: {
|
||||
top: 15,
|
||||
top: 12,
|
||||
left: 10,
|
||||
right: 10,
|
||||
bottom: 5,
|
||||
bottom: 3,
|
||||
},
|
||||
arrowBottom: 5 + 12 * 1.3 / 2,
|
||||
boxRenderer: BaseTheme.renderDB.bind(null, {
|
||||
|
@ -7714,12 +7714,12 @@ define('sequence/themes/Monospace',[
|
|||
},
|
||||
database: {
|
||||
padding: {
|
||||
top: 12,
|
||||
top: 9,
|
||||
left: 8,
|
||||
right: 8,
|
||||
bottom: 4,
|
||||
bottom: 3,
|
||||
},
|
||||
arrowBottom: 4 + 12 * 1.3 / 2,
|
||||
arrowBottom: 12,
|
||||
boxRenderer: BaseTheme.renderDB.bind(null, {
|
||||
'fill': '#FFFFFF',
|
||||
'stroke': '#000000',
|
||||
|
@ -8124,12 +8124,12 @@ define('sequence/themes/Chunky',[
|
|||
},
|
||||
database: {
|
||||
padding: {
|
||||
top: 5,
|
||||
top: 4,
|
||||
left: 3,
|
||||
right: 3,
|
||||
bottom: 1,
|
||||
bottom: 0,
|
||||
},
|
||||
arrowBottom: 1 + 12 * 1.3 / 2,
|
||||
arrowBottom: 2 + 14 * 1.3 / 2,
|
||||
boxRenderer: BaseTheme.renderDB.bind(null, {
|
||||
'fill': '#FFFFFF',
|
||||
'stroke': '#000000',
|
||||
|
@ -9001,10 +9001,10 @@ define('sequence/themes/Sketch',[
|
|||
},
|
||||
database: {
|
||||
padding: {
|
||||
top: 15,
|
||||
top: 12,
|
||||
left: 10,
|
||||
right: 10,
|
||||
bottom: 5,
|
||||
bottom: 2,
|
||||
},
|
||||
arrowBottom: 5 + 12 * 1.3 / 2,
|
||||
boxRenderer: BaseTheme.renderDB.bind(null, Object.assign({
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -1,5 +1,4 @@
|
|||
<svg width="134.673828125" height="65.6" xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="-5 -5 134.673828125 65.6"><metadata>begin A, B, C
|
||||
<svg width="134.67226123809814" height="60.6" xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="-5 -5 134.67226123809814 60.6"><metadata>begin A, B, C
|
||||
A is a database
|
||||
B is red
|
||||
C is a red database
|
||||
</metadata><defs></defs><defs><mask id="R0FullMask" maskUnits="userSpaceOnUse"><rect fill="#FFFFFF" x="-5" y="-5" width="134.673828125" height="65.6"></rect></mask><mask id="R0LineMask" maskUnits="userSpaceOnUse"><rect fill="#FFFFFF" x="-5" y="-5" width="134.673828125" height="65.6"></rect></mask></defs><g></g><g mask="url(#R0FullMask)"><g mask="url(#R0LineMask)"><line x1="24.001953125" y1="35.6" x2="24.001953125" y2="55.6" class="agent-1-line" fill="none" stroke="#000000" stroke-width="1"></line><line x1="62.005859375" y1="35.6" x2="62.005859375" y2="55.6" class="agent-2-line" fill="none" stroke="#CC0000" stroke-width="1"></line><line x1="100.3408203125" y1="35.6" x2="100.3408203125" y2="55.6" class="agent-3-line" fill="none" stroke="#CC0000" stroke-width="1"></line></g><g></g><g><g class="region"><g><rect x="10" y="0" width="28.00390625" height="35.6" rx="14.001953125" ry="5" fill="#FFFFFF" stroke="#000000" stroke-width="1" db-z="5"></rect><path d="M10 5a14.001953125 5 0 0 0 28.00390625 0" fill="none" stroke="#000000" stroke-width="1" db-z="5"></path></g><rect x="10" y="0" width="28.00390625" height="35.6" fill="transparent" class="outline"></rect><text x="24.001953125" font-family="sans-serif" font-size="12" line-height="1.3" text-anchor="middle" y="27">A</text></g><g class="region"><rect x="48.00390625" y="10" width="28.00390625" height="25.6" fill="#FFFFFF" stroke="#000000" stroke-width="1"></rect><rect x="48.00390625" y="10" width="28.00390625" height="25.6" fill="transparent" class="outline"></rect><text x="62.005859375" font-family="sans-serif" font-size="12" line-height="1.3" text-anchor="middle" y="27">B</text></g><g class="region"><g><rect x="86.0078125" y="0" width="28.666015625" height="35.6" rx="14.3330078125" ry="5" fill="#FFFFFF" stroke="#000000" stroke-width="1" db-z="5"></rect><path d="M86.0078125 5a14.3330078125 5 0 0 0 28.666015625 0" fill="none" stroke="#000000" stroke-width="1" db-z="5"></path></g><rect x="86.0078125" y="0" width="28.666015625" height="35.6" fill="transparent" class="outline"></rect><text x="100.3408203125" font-family="sans-serif" font-size="12" line-height="1.3" text-anchor="middle" y="27">C</text></g><g class="region"><rect x="19.001953125" y="45.6" width="10" height="10" fill="transparent" class="outline"></rect></g><g class="region"><rect x="57.005859375" y="45.6" width="10" height="10" fill="transparent" class="outline"></rect></g><g class="region"><rect x="95.3408203125" y="45.6" width="10" height="10" fill="transparent" class="outline"></rect></g></g></g><g></g></svg>
|
||||
C is a red database</metadata><defs></defs><defs><mask id="R0FullMask" maskUnits="userSpaceOnUse"><rect fill="#FFFFFF" x="-5" y="-5" width="134.67226123809814" height="60.6"></rect></mask><mask id="R0LineMask" maskUnits="userSpaceOnUse"><rect fill="#FFFFFF" x="-5" y="-5" width="134.67226123809814" height="60.6"></rect></mask></defs><g></g><g mask="url(#R0FullMask)"><g mask="url(#R0LineMask)"><line x1="24.001698970794678" y1="30.6" x2="24.001698970794678" y2="50.6" class="agent-1-line" fill="none" stroke="#000000" stroke-width="1"></line><line x1="62.00509691238403" y1="30.6" x2="62.00509691238403" y2="50.6" class="agent-2-line" fill="none" stroke="#CC0000" stroke-width="1"></line><line x1="100.33952856063843" y1="30.6" x2="100.33952856063843" y2="50.6" class="agent-3-line" fill="none" stroke="#CC0000" stroke-width="1"></line></g><g></g><g><g class="region"><g><rect x="10" y="0" width="28.003397941589355" height="30.6" rx="14.001698970794678" ry="5" fill="#FFFFFF" stroke="#000000" stroke-width="1" db-z="5"></rect><path d="M10 5a14.001698970794678 5 0 0 0 28.003397941589355 0" fill="none" stroke="#000000" stroke-width="1" db-z="5"></path></g><rect x="10" y="0" width="28.003397941589355" height="30.6" fill="transparent" class="outline"></rect><text x="24.001698970794678" font-family="sans-serif" font-size="12" line-height="1.3" text-anchor="middle" y="24">A</text></g><g class="region"><rect x="48.003397941589355" y="5" width="28.003397941589355" height="25.6" fill="#FFFFFF" stroke="#000000" stroke-width="1"></rect><rect x="48.003397941589355" y="5" width="28.003397941589355" height="25.6" fill="transparent" class="outline"></rect><text x="62.00509691238403" font-family="sans-serif" font-size="12" line-height="1.3" text-anchor="middle" y="22">B</text></g><g class="region"><g><rect x="86.00679588317871" y="0" width="28.665465354919434" height="30.6" rx="14.332732677459717" ry="5" fill="#FFFFFF" stroke="#000000" stroke-width="1" db-z="5"></rect><path d="M86.00679588317871 5a14.332732677459717 5 0 0 0 28.665465354919434 0" fill="none" stroke="#000000" stroke-width="1" db-z="5"></path></g><rect x="86.00679588317871" y="0" width="28.665465354919434" height="30.6" fill="transparent" class="outline"></rect><text x="100.33952856063843" font-family="sans-serif" font-size="12" line-height="1.3" text-anchor="middle" y="24">C</text></g><g class="region"><rect x="19.001698970794678" y="40.6" width="10" height="10" fill="transparent" class="outline"></rect></g><g class="region"><rect x="57.00509691238403" y="40.6" width="10" height="10" fill="transparent" class="outline"></rect></g><g class="region"><rect x="95.33952856063843" y="40.6" width="10" height="10" fill="transparent" class="outline"></rect></g></g></g><g></g></svg>
|
Before Width: | Height: | Size: 2.7 KiB After Width: | Height: | Size: 2.9 KiB |
|
@ -45,10 +45,10 @@ define([
|
|||
},
|
||||
database: {
|
||||
padding: {
|
||||
top: 15,
|
||||
top: 12,
|
||||
left: 10,
|
||||
right: 10,
|
||||
bottom: 5,
|
||||
bottom: 3,
|
||||
},
|
||||
arrowBottom: 5 + 12 * 1.3 / 2,
|
||||
boxRenderer: BaseTheme.renderDB.bind(null, {
|
||||
|
|
|
@ -48,12 +48,12 @@ define([
|
|||
},
|
||||
database: {
|
||||
padding: {
|
||||
top: 5,
|
||||
top: 4,
|
||||
left: 3,
|
||||
right: 3,
|
||||
bottom: 1,
|
||||
bottom: 0,
|
||||
},
|
||||
arrowBottom: 1 + 12 * 1.3 / 2,
|
||||
arrowBottom: 2 + 14 * 1.3 / 2,
|
||||
boxRenderer: BaseTheme.renderDB.bind(null, {
|
||||
'fill': '#FFFFFF',
|
||||
'stroke': '#000000',
|
||||
|
|
|
@ -54,12 +54,12 @@ define([
|
|||
},
|
||||
database: {
|
||||
padding: {
|
||||
top: 12,
|
||||
top: 9,
|
||||
left: 8,
|
||||
right: 8,
|
||||
bottom: 4,
|
||||
bottom: 3,
|
||||
},
|
||||
arrowBottom: 4 + 12 * 1.3 / 2,
|
||||
arrowBottom: 12,
|
||||
boxRenderer: BaseTheme.renderDB.bind(null, {
|
||||
'fill': '#FFFFFF',
|
||||
'stroke': '#000000',
|
||||
|
|
|
@ -58,10 +58,10 @@ define([
|
|||
},
|
||||
database: {
|
||||
padding: {
|
||||
top: 15,
|
||||
top: 12,
|
||||
left: 10,
|
||||
right: 10,
|
||||
bottom: 5,
|
||||
bottom: 2,
|
||||
},
|
||||
arrowBottom: 5 + 12 * 1.3 / 2,
|
||||
boxRenderer: BaseTheme.renderDB.bind(null, Object.assign({
|
||||
|
|
Loading…
Reference in New Issue